Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46376 )
Change subject: drivers/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
drivers/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram
Since we change the caching setup it is probably a good idea to make sure our saved MTRR setup hits dram.
Change-Id: Ifa04f6de8af35c043fe049bc9a1bd3a8a4f1c330 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/security/intel/txt/getsec_enteraccs.S 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/46376/1
diff --git a/src/security/intel/txt/getsec_enteraccs.S b/src/security/intel/txt/getsec_enteraccs.S index 563dc08..31f41ed 100644 --- a/src/security/intel/txt/getsec_enteraccs.S +++ b/src/security/intel/txt/getsec_enteraccs.S @@ -107,6 +107,7 @@ movl %cr0, %eax orl $(CR0_CD | CR0_NW), %eax movl %eax, %cr0 + wbinvd
/* Disable fixed MTRRs */ movl $(MTRR_DEF_TYPE_MSR), %ecx