coreboot-kgpe-d16/src/cpu
Damien Zammit 149c4c5d01 x86/smm: Initialize SMM on some CPUs one-by-one
We currently race in SMM init on Atom 230 (and potentially
other CPUs). At least on the 230, this leads to a hang on
RSM, likely because both hyperthreads mess around with
SMBASE and other SMM state variables in parallel without
coordination. The same behaviour occurs with Atom D5xx.

Change it so first APs are spun up and sent to sleep, then
BSP initializes SMM, then every CPU, one after another.

Only do this when SERIALIZE_SMM_INITIALIZATION is set.
Set the flag for Atom CPUs.

Change-Id: I1ae864e37546298ea222e81349c27cf774ed251f
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Reviewed-on: https://review.coreboot.org/6311
Tested-by: build bot (Jenkins)
Tested-by: BSI firmware lab <coreboot-labor@bsi.bund.de>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2015-12-02 00:38:45 +01:00
..
allwinner cbfs: new API and better program loading 2015-06-02 14:09:31 +02:00
amd cpu/amd/fam10h-15h: Enable DFE on Family 15h HT3 links 2015-12-01 16:59:01 +01:00
armltd vboot2: add verstage 2015-01-27 01:41:40 +01:00
dmp tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
intel x86/smm: Initialize SMM on some CPUs one-by-one 2015-12-02 00:38:45 +01:00
mips tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
qemu-x86 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
samsung/exynos5250 3rdparty: move to 3rdparty/blobs 2015-05-05 22:49:18 +02:00
ti tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
via tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
x86 x86/smm: Initialize SMM on some CPUs one-by-one 2015-12-02 00:38:45 +01:00
Kconfig cpu: Add a way to use microcode .h files back to the build 2015-11-10 19:22:40 +01:00
Makefile.inc cpu: Add a way to use microcode .h files back to the build 2015-11-10 19:22:40 +01:00