Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/35902 )
Change subject: soc/intel: apl,skl,cnl,icl: implement a PRMRR size selection algorithm
......................................................................
Patch Set 13:
(2 comments)
This change is ready for review.
https://review.coreboot.org/c/coreboot/+/35902/13/src/soc/intel/common/block...
File src/soc/intel/common/block/cpu/cpulib.c:
https://review.coreboot.org/c/coreboot/+/35902/13/src/soc/intel/common/block...
PS13, Line 345: die("Unsupported PRMRR size limit %i MiB, check your config!\n", limit);
What if PRMRR isn't supported at all? What does this MSR read back? I'm curious if this MSR always returns values that are non-zero. If not, we'll die() here.
https://review.coreboot.org/c/coreboot/+/35902/13/src/soc/intel/common/block...
File src/soc/intel/common/block/include/intelblocks/cpulib.h:
https://review.coreboot.org/c/coreboot/+/35902/13/src/soc/intel/common/block...
PS13, Line 165: /* Get the maximum valid PRMRR size with respect to the specified limits */
Indicate the units returned. Code inspection seems to indicate 'size in bytes'.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/35902
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8a773362f8d09c8a33ff0dfac357edc6ea3564e0
Gerrit-Change-Number: 35902
Gerrit-PatchSet: 13
Gerrit-Owner: Michael Niewöhner
Gerrit-Reviewer: Aamir Bohra
aamir.bohra@intel.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Lean Sheng Tan
lean.sheng.tan@intel.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Maulik V Vaghela
maulik.v.vaghela@intel.com
Gerrit-Reviewer: Michael Niewöhner
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Reviewer: Srinidhi N Kaushik
srinidhi.n.kaushik@intel.com
Gerrit-Reviewer: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: V Sowmya
v.sowmya@intel.com
Gerrit-Reviewer: Wonkyu Kim
wonkyu.kim@intel.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Mon, 21 Oct 2019 18:17:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment