Werner Zeh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37809 )
Change subject: cpu/x86/smm: Fix regression with SMM setup
......................................................................
cpu/x86/smm: Fix regression with SMM setup
Commit 297b6b862a724de70abf33f681f63b6a3d84c24b
(include/cpu/x86: Add STM Support) has introduced two new members to
struct smm_runtime without taking care of adding these new members to
the SMM stub. This leads to a hanging CPU when SMM is set up.
This commit fixes this regression by adding the new structure members to
the SMM stub.
TEST=Booted siemens/mc_apl4 which is now working again
Change-Id: I4f8a9898cf81349b50a050b2c2f92578205573e4
Signed-off-by: Werner Zeh <werner.zeh(a)siemens.com>
---
M src/cpu/x86/smm/smm_stub.S
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/09/37809/1
diff --git a/src/cpu/x86/smm/smm_stub.S b/src/cpu/x86/smm/smm_stub.S
index f0e55f9..e8eefe4 100644
--- a/src/cpu/x86/smm/smm_stub.S
+++ b/src/cpu/x86/smm/smm_stub.S
@@ -44,6 +44,11 @@
.long 0
save_state_size:
.long 0
+num_cpus:
+.long 0
+/* STM's 32 bit entry into SMI handler */
+start32_offset:
+.long 0
/* apic_to_cpu_num is a table mapping the default APIC id to CPU num. If the
* APIC id is found at the given index, the contiguous CPU number is index
* into the table. */
--
To view, visit https://review.coreboot.org/c/coreboot/+/37809
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4f8a9898cf81349b50a050b2c2f92578205573e4
Gerrit-Change-Number: 37809
Gerrit-PatchSet: 1
Gerrit-Owner: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-MessageType: newchange