cedarhouse1@comcast.net has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38734 )
Change subject: cpu/x86: Put guard around align for smm_save_state_size
......................................................................
Patch Set 3:
(1 comment)
responded to query about save state size being hard coded.
https://review.coreboot.org/c/coreboot/+/38734/3/src/cpu/x86/mp_init.c
File src/cpu/x86/mp_init.c:
https://review.coreboot.org/c/coreboot/+/38734/3/src/cpu/x86/mp_init.c@1056
PS3, Line 1056: * value of 0x400 for this value.
Where?
Patrick Rudolph noted in a previous comment: "It looks like coreboot assumes 0x400 as safe value for save state. It's hard-coded everywhere in assembly."
For starters, I found this value (0x400) at the beginning of smmrelocate.S. I will, over time, look further as the STM smm descriptor is at a defined location in the smm save state.
At the moment, the STM support code works on a Purism librem 15v4 which is a 4-core Kabylake. For other platforms and cores > 4, this is an issue that has to be worked out.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/38734
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia584f7e9b86405a12eb6cbedc3a2615a8727f69e
Gerrit-Change-Number: 38734
Gerrit-PatchSet: 3
Gerrit-Owner: cedarhouse1@comcast.net
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Philipp Deppenwiese
zaolin.daisuki@gmail.com
Gerrit-Reviewer: Stefan Reinauer
stefan.reinauer@coreboot.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: cedarhouse1@comcast.net
Gerrit-Reviewer: ron minnich
rminnich@gmail.com
Gerrit-CC: 9elements QA
hardwaretestrobot@gmail.com
Gerrit-CC: Jonathan Zhang
jonzhang@fb.com
Gerrit-CC: Kevin Paul Herbert
kph@meraki.net
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Thu, 06 Feb 2020 17:12:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber
nico.h@gmx.de
Gerrit-MessageType: comment