coreboot-kgpe-d16/src/cpu/x86
Marshall Dawson 46fc684783 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>
2018-10-29 18:01:43 +00:00
..
16bit src/cpu: Fix typo 2018-08-09 15:57:52 +00:00
32bit arch/x86: Relocate GDT in verstage, romstage, and postcar 2018-05-03 04:40:58 +00:00
cache
lapic cpu/x86/lapic/apic_timer.c: Compile the same code for all stages 2018-08-03 09:13:20 +00:00
mtrr Correct "MTTR" to "MTRR" 2018-04-11 09:30:57 +00:00
name cpu/x86/name: Fix undefined behavior 2017-07-03 17:15:28 +00:00
pae src: Move common IA-32 MSRs to <cpu/x86/msr.h> 2018-10-11 21:06:53 +00:00
smm cpu/x86/smm: Fix non-local header treated as local 2018-10-18 16:22:12 +00:00
tsc src/cpu: Remove unneeded includes 2018-06-01 16:27:00 +00:00
backup_default_smm.c
car.c
fpu_enable.inc
Kconfig x86/mp_init: Add configurable stack size for SMM relocate 2018-10-29 18:01:43 +00:00
Makefile.inc cpu/x86: add pae paging module to all stages 2018-04-23 09:17:34 +00:00
mirror_payload.c
mp_init.c x86/mp_init: Add configurable stack size for SMM relocate 2018-10-29 18:01:43 +00:00
sipi_vector.S src: Move common IA-32 MSRs to <cpu/x86/msr.h> 2018-10-11 21:06:53 +00:00
sse_enable.inc