summaryrefslogtreecommitdiff
path: root/payloads/external/tianocore/Makefile
diff options
context:
space:
mode:
authorEugene Myers <cedarhouse@comcast.net>2022-02-07 16:45:22 -0500
committerFelix Held <felix-coreboot@felixheld.de>2022-02-24 00:27:37 +0000
commitb2c681fc4a1d852f5b436660e7d3a967cf5e7333 (patch)
treee806f2c5386b63833fcd548b1549c2d84392dd50 /payloads/external/tianocore/Makefile
parenta514192ffee49266568ce1f2bb3cbbebf05c36b8 (diff)
security/intel/stm: Make STM setup MP safe
Some processor families allow for SMM setup to be done in parallel. On processors that have this feature, the BIOS resource list becomes unusable for some processors during STM startup. This patch covers two cases: (1) The BIOS resource list becomes twice as long because the smm_relocation function is called twice - this is resolved by recreating the list on each invocation. (2) Not all processors receive the correct resource list pointer - this is resolved by having every processor execute the pointer calculation code, which is a lot faster then forcing all processors to spin lock waiting for this value to be calculated. This patch has been tested on a Purism L1UM-1X8C and Purism 15v4. Signed-off-by: Eugene Myers <cedarhouse@comcast.net> Change-Id: I7619038edc78f306bd7eb95844bd1598766f8b37 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61689 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eugene Myers <cedarhouse1@comcast.net> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'payloads/external/tianocore/Makefile')
0 files changed, 0 insertions, 0 deletions