coreboot/src/include/cpu
Arthur Heymans e6c3523b1b cpu/x86/smm_loaderv2: Use the permanent stack top during relocation
Use the same stack location during relocation as for the permanent
handler.

When the number of CPUs is too large the stacks during relocation
don't fit inside the default SMRAM segment at 0x30000. Currently the
code would just let the CPU stack base grow downwards outside of the
default SMM segment which would corrupt lower memory if S3 is
implemented.

Also update the comment on smm_module_setup_stub().

Change-Id: I6a0a890e8b1c2408301564c22772032cfee4d296
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51186
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2021-04-19 06:36:05 +00:00
..
amd include/cpu/amd/msr: rename MSR_PSP_ADDR to PSP_ADDR_MSR 2021-02-19 13:20:16 +00:00
intel cpu/intel/microcode: Fix caching logic in intel_microcode_find 2021-03-12 17:33:01 +00:00
x86 cpu/x86/smm_loaderv2: Use the permanent stack top during relocation 2021-04-19 06:36:05 +00:00
cpu.h src/include: Add missing includes 2020-07-26 21:37:35 +00:00