summaryrefslogtreecommitdiffstats
path: root/src/security/intel/stm/SmmStm.c
diff options
context:
space:
mode:
authorEugene Myers <edmyers@tycho.nsa.gov>2021-06-16 06:18:20 -0400
committerStefan Reinauer <stefan.reinauer@coreboot.org>2023-06-10 03:21:23 +0000
commit34010e8adba63dbda210cca4185d9f9876b11b87 (patch)
tree78c1116672b6a3a5385d4c5829e7476344862293 /src/security/intel/stm/SmmStm.c
parente7e2bd2a593e95fb8fe7b4020a6822ce9cd8a1ff (diff)
downloadcoreboot-34010e8adba63dbda210cca4185d9f9876b11b87.tar.gz
coreboot-34010e8adba63dbda210cca4185d9f9876b11b87.tar.bz2
coreboot-34010e8adba63dbda210cca4185d9f9876b11b87.zip
security/intel/stm: Make sure stm_resource_heap is consistent
When a parallel SMM relocation is being done, there is a good chance that the value for stm_resource_heap is not consistent across processors. Rather than holding (via a lock) processors until this value is set and then flushing the cache so that all processors see the same value, this solution moves the code such that all processors set it, thus maintaining parallelism and keeping the code simple. Change-Id: I2e5385c47124adcd99803337167984b6307af860 Signed-off-by: Eugene Myers <edmyers@tycho.nsa.gov> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55629 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/security/intel/stm/SmmStm.c')
0 files changed, 0 insertions, 0 deletions