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
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46376 )
Change subject: drivers/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
Patch Set 1: Code-Review+1
Christian Walter has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46376 )
Change subject: drivers/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
Patch Set 1: Code-Review+2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46376 )
Change subject: drivers/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/46376/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/46376/1//COMMIT_MSG@7 PS1, Line 7: drivers nit: security/intel or sec/intel
Hello build bot (Jenkins), Christian Walter, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/46376
to look at the new patch set (#2).
Change subject: sec/intel/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
sec/intel/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/2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46376 )
Change subject: sec/intel/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
Patch Set 2: Code-Review+2
Tested on Haswell, BIOS ACM is still happy about things.
Philipp Deppenwiese has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46376 )
Change subject: sec/intel/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
Patch Set 2: Code-Review-1
Dies on Deletalake hardware as soon as getsec lockdown is called
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46376 )
Change subject: sec/intel/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
Patch Set 2: -Code-Review
Patch Set 2: Code-Review-1
Dies on Deletalake hardware as soon as getsec lockdown is called
Ah, good point. Haswell doesn't have lockdown.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46376 )
Change subject: sec/intel/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
Patch Set 2: Code-Review-2
Patch Set 2: Code-Review-1
Dies on Deletalake hardware as soon as getsec lockdown is called
Looks like lockdown specifically needs wbinvd to be skipped...
Hello Philipp Deppenwiese, build bot (Jenkins), Christian Walter, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/46376
to look at the new patch set (#3).
Change subject: [TEST]sec/intel/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
[TEST]sec/intel/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, 15 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/46376/3
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46376 )
Change subject: [TEST]sec/intel/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
Patch Set 3:
(2 comments)
https://review.coreboot.org/c/coreboot/+/46376/3/src/security/intel/txt/gets... File src/security/intel/txt/getsec_enteraccs.S:
https://review.coreboot.org/c/coreboot/+/46376/3/src/security/intel/txt/gets... PS3, Line 111: Writeback nit: `Write back`, and also comment style
https://review.coreboot.org/c/coreboot/+/46376/3/src/security/intel/txt/gets... PS3, Line 114: SCLEAN On Haswell, I need a slightly different prologue for SCLEAN in romstage. The MTRR algorithm is pretty much the same, though
Arthur Heymans has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/46376 )
Change subject: [TEST]sec/intel/txt/getsec_enteraccs.S: Make sure the MTRR save hits dram ......................................................................
Abandoned
Not needed anymore.