summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-08-28 02:02:00 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-11-04 23:53:51 +0000
commit6c49f40b6e6342b7acb47cb0a57fa10269e3d4c9 (patch)
tree76063a89a7e8248c7f757201f2cf2f8a2fcef228 /src/lib
parent35597435d023150d847ec11019cb19cba29397bf (diff)
haswell: Add Intel TXT support in romstage
Provide necessary romstage hooks to allow unblocking the memory with SCLEAN. Note that this is slow, and took four minutes with 4 GiB of RAM. Tested on Asrock B85M Pro4 with tboot. When Linux has tboot support compiled in, booting as well as S3 suspend and resume are functional. However, SINIT will TXT reset when the iGPU is enabled, and using a dGPU will result in DMAR-related problems as soon as the IOMMU is enabled. However, SCLEAN seems to hang sometimes. This may be because the AP initialization that reference code does before SCLEAN is missing, but the ACM is still able to unblock the memory. Considering that SCLEAN is critical to recover an otherwise-bricked platform but is hardly ever necessary, prefer having a partially-working solution over none at all. Change-Id: I60beb7d79a30f460bbd5d94e4cba0244318c124e Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46608 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions