Attention is currently required from: Jason Glenesk, Raul Rangel, Matt DeVillier, Zheng Bao, Fred Reitberger, Felix Held.
Hello Jason Glenesk, Raul Rangel, Matt DeVillier, Zheng Bao, Fred Reitberger, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/69429
to look at the new patch set (#2).
Change subject: amdfwtool: Set the base address of AMDFW as relative
......................................................................
amdfwtool: Set the base address of AMDFW as relative
Change-Id: If6fd5b21be90ac37618c484506db9b8a1e350ea2
Signed-off-by: Zheng Bao <fishbaozi(a)gmail.com>
---
M src/mainboard/amd/mandolin/Kconfig
M src/soc/amd/cezanne/Kconfig
M src/soc/amd/cezanne/Makefile.inc
M src/soc/amd/mendocino/Kconfig
M src/soc/amd/mendocino/Makefile.inc
M src/soc/amd/morgana/Kconfig
M src/soc/amd/morgana/Makefile.inc
M src/soc/amd/picasso/Kconfig
M src/soc/amd/picasso/Makefile.inc
M src/soc/amd/stoneyridge/Kconfig
M src/soc/amd/stoneyridge/Makefile.inc
M src/southbridge/amd/agesa/hudson/Makefile.inc
M src/southbridge/amd/pi/hudson/Makefile.inc
M util/amdfwtool/amdfwtool.c
14 files changed, 188 insertions(+), 174 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/69429/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/69429
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If6fd5b21be90ac37618c484506db9b8a1e350ea2
Gerrit-Change-Number: 69429
Gerrit-PatchSet: 2
Gerrit-Owner: Bao Zheng <fishbaozi(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: Zheng Bao
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Zheng Bao
Gerrit-Attention: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newpatchset
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/68897
to look at the new patch set (#4).
Change subject: cpu/x86/smm: Move setting up 64bit mode earlier
......................................................................
cpu/x86/smm: Move setting up 64bit mode earlier
Now there is no need to do it that late in the smm stub. Since we don't
need the stack to save EFER MSR anymore.
This also removes the need exit back to protected mode for the fxrstor
instruction. A further advantage is that all XMM regs (remember that
there are more in long mode) are now properly saved.
TESTED with qemu: both 32 and 64bit smihandler work fine.
Change-Id: Ie247d6fba0dbc953a810038465f1e0d42ca171cf
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/cpu/x86/smm/smm_stub.S
1 file changed, 44 insertions(+), 23 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/68897/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/68897
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie247d6fba0dbc953a810038465f1e0d42ca171cf
Gerrit-Change-Number: 68897
Gerrit-PatchSet: 4
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Patrick Rudolph.
Hello build bot (Jenkins), Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/68895
to look at the new patch set (#6).
Change subject: cpu/x86/smm: Don't save EFER
......................................................................
cpu/x86/smm: Don't save EFER
THe EFER MSR is in the SMM save state and RSM properly restores it.
TESTED on qemu: the smihandler works fine.
Change-Id: Ie0e9584afd1f08f51ca57da5c4350042699f130d
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/cpu/x86/smm/smm_stub.S
1 file changed, 24 insertions(+), 28 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/68895/6
--
To view, visit https://review.coreboot.org/c/coreboot/+/68895
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie0e9584afd1f08f51ca57da5c4350042699f130d
Gerrit-Change-Number: 68895
Gerrit-PatchSet: 6
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Patrick Rudolph.
Hello build bot (Jenkins), Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/68895
to look at the new patch set (#5).
Change subject: cpu/x86/smm: Don't save EFER
......................................................................
cpu/x86/smm: Don't save EFER
THe EFER MSR is in the SMM save state and RSM properly restores it.
Change-Id: Ie0e9584afd1f08f51ca57da5c4350042699f130d
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/cpu/x86/smm/smm_stub.S
1 file changed, 22 insertions(+), 28 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/68895/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/68895
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie0e9584afd1f08f51ca57da5c4350042699f130d
Gerrit-Change-Number: 68895
Gerrit-PatchSet: 5
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Raul Rangel.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69435 )
Change subject: cpu/x86: Set thread local storage in C code
......................................................................
Patch Set 4:
(1 comment)
File src/cpu/x86/mp_init.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-163202):
https://review.coreboot.org/c/coreboot/+/69435/comment/f166a890_3b990d99
PS4, Line 179: static void asmlinkage ap_init(unsigned int index)
storage class 'asmlinkage' should be located before type 'void'
--
To view, visit https://review.coreboot.org/c/coreboot/+/69435
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I19d3285daf97798a2d28408b5601ad991e29e718
Gerrit-Change-Number: 69435
Gerrit-PatchSet: 4
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Comment-Date: Thu, 10 Nov 2022 13:41:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Raul Rangel.
Hello Raul Rangel,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/69435
to look at the new patch set (#4).
Change subject: cpu/x86: Set thread local storage in C code
......................................................................
cpu/x86: Set thread local storage in C code
Doing this in C code is way easier to understand. Also the thread local
storage is now in .bss instead of the AP stack. This makes it more
robust against stack overflows, as APs stacks overflow in each other.
TESTED: work on qemu.
Change-Id: I19d3285daf97798a2d28408b5601ad991e29e718
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/arch/x86/c_start.S
M src/arch/x86/cpu.c
M src/arch/x86/include/arch/cpu.h
D src/cpu/x86/cpu_info.S.inc
M src/cpu/x86/mp_init.c
M src/cpu/x86/sipi_vector.S
6 files changed, 71 insertions(+), 110 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/69435/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/69435
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I19d3285daf97798a2d28408b5601ad991e29e718
Gerrit-Change-Number: 69435
Gerrit-PatchSet: 4
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Raul Rangel.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69435 )
Change subject: cpu/x86: Set thread local storage in C code
......................................................................
Patch Set 3:
(1 comment)
File src/cpu/x86/mp_init.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-163200):
https://review.coreboot.org/c/coreboot/+/69435/comment/4de3a94d_20de6bea
PS3, Line 179: static void asmlinkage ap_init(unsigned int index)
storage class 'asmlinkage' should be located before type 'void'
--
To view, visit https://review.coreboot.org/c/coreboot/+/69435
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I19d3285daf97798a2d28408b5601ad991e29e718
Gerrit-Change-Number: 69435
Gerrit-PatchSet: 3
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Comment-Date: Thu, 10 Nov 2022 13:38:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Arthur Heymans.
Hello Marc Jones, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/68913
to look at the new patch set (#3).
Change subject: cpu/x86: Set up cpu_info storage using MSR
......................................................................
cpu/x86: Set up cpu_info storage using MSR
This MSR is available on all systems supporting long mode.
This is needed to run coreboot stages above 4G as gs_base can only be
set to 64bit values using the msr.
Change-Id: Id38d3c84ef757c0b322ec0d387f57043147cb447
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/arch/x86/cpu.c
M src/arch/x86/include/arch/cpu.h
M src/include/cpu/x86/msr.h
3 files changed, 33 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/13/68913/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/68913
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id38d3c84ef757c0b322ec0d387f57043147cb447
Gerrit-Change-Number: 68913
Gerrit-PatchSet: 3
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: newpatchset