Marshall Dawson has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42088 )
Change subject: soc/amd/picasso: Write EIP to secure S3
......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42088/5/src/soc/amd/picasso/bootblo...
File src/soc/amd/picasso/bootblock/bootblock.c:
https://review.coreboot.org/c/coreboot/+/42088/5/src/soc/amd/picasso/bootblo...
PS5, Line 110: set_caching();
This is about S3 resume path. The S3 MSR write snapshots core state including MTRRs and CR0. […]
+1 on what Aaron said re. the architectural state of the core. The BSP will resume w/whatever x86 state exists when the MSR is written, including caching enabled. If you're familiar with the ability to save away core state to DRAM during C6, then shove it back in when there's activity, I think that's a good analogy.
BTW Raul, I'd move the write to here too.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/42088
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4b0b0d0d576fc42b1628a4547a5c9a10bcbe9d37
Gerrit-Change-Number: 42088
Gerrit-PatchSet: 5
Gerrit-Owner: Raul Rangel
rrangel@chromium.org
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-CC: Marshall Dawson
marshalldawson3rd@gmail.com
Gerrit-CC: Patrick Rudolph
siro@das-labor.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Thu, 11 Jun 2020 03:36:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Comment-In-Reply-To: Aaron Durbin
adurbin@chromium.org
Gerrit-MessageType: comment