coreboot/src/cpu/x86
Kyösti Mälkki 2fbb6773e3 arch/x86: Enforce CPU stack alignment
When rmodule is loaded CPU stack alignment is only guaranteed
to 4kiB. Implementation of cpu_info() requires that each
CPU sees its stack aligned to CONFIG_STACK_SIZE.

Add one spare CPU for the stack reserve, such that alignment can
be enforced runtime.

Change-Id: Ie04956c64df0dc7bb156002d3d4f2629f92b340e
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/26302
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-01-14 11:59:51 +00:00
..
16bit arch/x86: Drop Kconfig AP_SIPI_VECTOR 2019-01-13 08:37:01 +00:00
32bit arch/x86: Relocate GDT in verstage, romstage, and postcar 2018-05-03 04:40:58 +00:00
cache src/cpu/x86: Update/Add license headers to all files 2017-02-22 22:23:11 +01:00
lapic arch/x86: Enforce CPU stack alignment 2019-01-14 11:59:51 +00:00
mtrr soc/intel/common: Bring DISPLAY_MTRRS into the light 2018-11-23 08:34:16 +00:00
name src: Remove unneeded include "{arch,cpu}/cpu.h" 2018-11-12 09:22:18 +00:00
pae cpu/x86/pae: Fix pointer casts 2018-12-05 16:57:15 +00:00
smm x86/smm/smmhandler.S: Use tabs instead of white spaces 2018-12-24 08:16:48 +00:00
tsc src: Remove duplicated round up function 2018-11-29 12:17:45 +00:00
backup_default_smm.c cpu/x86: remove BACKUP_DEFAULT_SMM_REGION option 2016-05-04 18:51:34 +02:00
car.c arch/x86: Add function to determine if we're currently running from CAR 2017-05-30 22:19:25 +02:00
fpu_enable.inc tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Kconfig x86/mp_init: Add configurable stack size for SMM relocate 2018-10-29 18:01:43 +00:00
Kconfig.debug cpu/x86/Kconfig.debug: Remove weird dependencies and comments 2018-11-23 08:38:55 +00:00
Makefile.inc cpu/x86: add pae paging module to all stages 2018-04-23 09:17:34 +00:00
mirror_payload.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
mp_init.c arch/x86: Enforce CPU stack alignment 2019-01-14 11:59:51 +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 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00