Attention is currently required from: Patrick Rudolph, Jonathan Zhang, Johnny Lin, Christian Walter, Arthur Heymans.
David Hendricks has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/71144 )
Change subject: soc/intel/xeon_sp: lock MSR_PPIN_CTL at BS_PAYLOAD_LOAD
......................................................................
Patch Set 1: Code-Review-1
(1 comment)
File src/soc/intel/xeon_sp/finalize.c:
https://review.coreboot.org/c/coreboot/+/71144/comment/ac75d91b_8e116f82
PS1, Line 47: if ((msr.lo & MSR_PPIN_CTL_ENABLE) == 0) {
: /* Set MSR_PPIN_CTL ENABLE to 1 */
: msr.lo |= MSR_PPIN_CTL_ENABLE;
: wrmsr(MSR_PPIN_CTL, msr);
: }
Is this needed? MSR_PPIN_CTL_ENABLE gets cleared in the next few lines.
Also, the description for the LockOut bit in the IA64/32 SDM says:
If 1, indicates that further writes to MSR_PPIN_CTL is
disallowed. Writing 1 to this bit is only permitted if the
Enable_PPIN bit is clear.
I don't see a reason the Enable bit should be set here. Maybe it was intended to be set before rdmsr() above?
--
To view, visit
https://review.coreboot.org/c/coreboot/+/71144
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8deb086339267cf36e41e16f189e1378f20b82f1
Gerrit-Change-Number: 71144
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Zhang
jonzhang@fb.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: David Hendricks
david.hendricks@gmail.com
Gerrit-Reviewer: Johnny Lin
Johnny_Lin@wiwynn.com
Gerrit-Reviewer: Marc Jones
marc@marcjonesconsulting.com
Gerrit-Reviewer: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Tim Chu
Tim.Chu@quantatw.com
Gerrit-Attention: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Attention: Jonathan Zhang
jonzhang@fb.com
Gerrit-Attention: Johnny Lin
Johnny_Lin@wiwynn.com
Gerrit-Attention: Christian Walter
christian.walter@9elements.com
Gerrit-Attention: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Comment-Date: Tue, 10 Jan 2023 01:09:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment