Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37466 )
Change subject: soc/intel/cannonlake: Add VR config for CFL, CNL and WHL
......................................................................
Patch Set 6:
(3 comments)
https://review.coreboot.org/c/coreboot/+/37466/5/src/soc/intel/cannonlake/vr...
File src/soc/intel/cannonlake/vr_config.c:
https://review.coreboot.org/c/coreboot/+/37466/5/src/soc/intel/cannonlake/vr...
PS5, Line 151: 8.5
Are you using the floating point for documentation purposes? This will be just 8 when it gets conve […]
Yes, that's done for documentation purposes and the compiler will round it to the closest value (in units of 0.25A).
https://review.coreboot.org/c/coreboot/+/37466/5/src/soc/intel/cannonlake/vr...
PS5, Line 190: if (tdp > 35)
Above you're using "if (tdp >= 54)" but here you're using >, could you use either >= or > everywhere […]
Done
https://review.coreboot.org/c/coreboot/+/37466/5/src/soc/intel/cannonlake/vr...
PS5, Line 250: uint16_t loadline[NUM_VR_DOMAINS] =
: VR_CFG_ALL_DOMAINS_LOADLINE(10.3, 2.4, 2.0, 2.0);
Your const usage is spotty, these should all be const. […]
Added cast to make sure it's rounded at compile time
--
To view, visit
https://review.coreboot.org/c/coreboot/+/37466
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1d2e174157d468830cc0baf2a2d8295ef61a1a63
Gerrit-Change-Number: 37466
Gerrit-PatchSet: 6
Gerrit-Owner: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Jamie Chen
jamie.chen@intel.com
Gerrit-Reviewer: Kane Chen
kane_chen@pegatron.corp-partner.google.com
Gerrit-Reviewer: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Shelley Chen
shchen@google.com
Gerrit-Reviewer: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: Wim Vervoorn
wvervoorn@eltan.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Harry Pan
harry.pan@intel.com
Gerrit-CC: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Wed, 25 Dec 2019 08:31:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-MessageType: comment