diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2018-10-25 13:01:55 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-10-29 18:01:43 +0000 |
commit | 46fc6847832e77f3b1fc1a5c27265874508f2926 (patch) | |
tree | 1ba57c7bf371d815c721856262379345893ef566 /src/lib | |
parent | bf00401e8a4d58c2717ae0d9d45ea5a0114b0990 (diff) |
x86/mp_init: Add configurable stack size for SMM relocate
A stack overrun has been observed on AMD64 CPUs during the SMM module
relocation process. Change the assumed required size from equaling the
save structure's size to a Kconfig symbol.
A value of 0x400 doubles the size used by AMD64 systems and maintains
the size used by EM64T.
BUG=b:118420852
TEST=S3 on Grunt and verify 0x2f000-0x30000 uncorrupted
Change-Id: Ib1d590ee4afb06ca649afd6ad253cdfd969ae777
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/29277
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions