summaryrefslogtreecommitdiff
path: root/spd
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-04-13 02:10:15 +0200
committerMartin L Roth <gaumless@tutanota.com>2022-06-03 15:30:24 +0000
commitaf04f3cefa711bb8601e86ff94eaf66737de74d1 (patch)
tree7fec8c28ced41be54c1c3c52e30afe8f41dac7b7 /spd
parent0e6f7a23e493f312a640153e1f8e5068e81707b4 (diff)
cpu/x86/smm: Use struct region to check overlapping sections
This allows for some runtime checks on all SMM elements and removes the need for manual checks. We can drop completely separate codepaths on SMM_TSEG & SMM_ASEG as the only difference is where permanent handler gets placed. TESTED on prodrive/hermes and qemu with SSM_ASEG with 4 cores & SMM_TSEG with 128 cores. This code figured out quite some problems with overlapping regions so I think this is the right approach. Change-Id: Ib7e2e3ae16c223ecfd8d5bce6ff6c17c53496925 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63602 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'spd')
0 files changed, 0 insertions, 0 deletions