coreboot-kgpe-d16/Documentation/mainboard
Patrick Rudolph 05bad430b6 soc/intel/common/block/sgx: Fix crash in MP init
On Hyper-Threading enabled platforms the MSR_PRMRR_PHYS_MASK was written
when already locked by the sibling thread. In addition it loads microcode
updates on all threads.

To prevent such race conditions only call the code on one thread, such
that the MSRs are only written once per core and the microcode is only
loaded once for each core.

Also add comments that describe the scope of the MSR that is being
written to and mention the Intel documents used for reference.

Fixes crash in SGX MP init.
Tested on Supermicro X11SSH-TF.

Change-Id: I7102da028a449c60ca700b3f9ccda9017aa6d6b5
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35312
Reviewed-by: Christian Walter <christian.walter@9elements.com>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-10-15 08:19:02 +00:00
..
amd/padmelon Documentation/mb: Link AMD mainboards directly in the big list 2019-10-07 01:08:26 +00:00
asrock src: Capitalize Super I/O 2019-10-07 19:18:36 +00:00
asus src: Capitalize Super I/O 2019-10-07 19:18:36 +00:00
cavium Documentation: Add cavium SoC and mainboard 2018-06-19 18:09:04 +00:00
emulation mainboard/emulation/qemu-aarch64: Update DRAM_SIZE_MB 2019-08-26 07:15:06 +00:00
facebook mainboard/facebook/fbg1701: Do initial mainboard commit 2019-06-05 13:03:43 +00:00
foxconn mb/foxconn/d41s: Add mainboard 2018-08-23 15:51:47 +00:00
gigabyte Documentation/mainboard/gigabyte/ga-h61m-s2pv: Expand page 2018-10-05 21:14:54 +00:00
google Documentation/soc/intel/icelake: Fix references between documents 2018-12-19 05:17:58 +00:00
hp mb/hp: Add Z220 SFF workstation 2019-06-06 12:13:19 +00:00
intel Documentation/mb/intel/kblrvp11: Fix table formatting 2018-12-20 14:20:49 +00:00
lenovo mainboard/lenovo/t410: Add new port 2019-10-15 06:47:48 +00:00
msi/ms7707 Documentation: Add MSI MS-7707 2019-05-06 10:37:04 +00:00
opencellular Documentation: Add Rotundu 2019-05-21 14:23:34 +00:00
pcengines Documentation: Add PC Engines apu2 2019-06-24 12:29:52 +00:00
portwell mainboard/portwell/m107: Do initial mainboard commit 2019-07-17 14:21:52 +00:00
roda/rk9 mb/roda/rk9: Document flash header 2019-05-30 13:46:41 +00:00
sifive Documentation: Advertise support for OpenSBI 2019-08-06 12:04:01 +00:00
supermicro soc/intel/common/block/sgx: Fix crash in MP init 2019-10-15 08:19:02 +00:00
up/squared doc/mb/upsquared: Add documentation 2019-06-17 14:26:42 +00:00
index.md mainboard/lenovo/t410: Add new port 2019-10-15 06:47:48 +00:00