Sumeet R Pawnikar has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33129 )
Change subject: soc/intel/cannonlake: set temperature threshold for PCH Thermal Sensor
......................................................................
Patch Set 6:
(4 comments)
https://review.coreboot.org/c/coreboot/+/33129/6/src/soc/intel/cannonlake/th...
File src/soc/intel/cannonlake/thermal.c:
https://review.coreboot.org/c/coreboot/+/33129/6/src/soc/intel/cannonlake/th...
PS6, Line 47: return (void *)(bar & ~PCI_BASE_ADDRESS_MEM_ATTR_MASK);
PCI_BASE_ADDRESS_MEM_ATTR_MASK isn't necessary, the resource base doesn't contain attributes.
Ack
https://review.coreboot.org/c/coreboot/+/33129/6/src/soc/intel/cannonlake/th...
PS6, Line 59: if (!config->pch_trip_temp) {
config might be NULL
We will add one more if to check is config NULL or not. If yes, print error message and return.
https://review.coreboot.org/c/coreboot/+/33129/6/src/soc/intel/cannonlake/th...
PS6, Line 90: if (!thermalbar)
return of thermalbar not found. […]
Sure. Thanks for this finding.
https://review.coreboot.org/c/coreboot/+/33129/6/src/soc/intel/cannonlake/th...
PS6, Line 95: ~0x1ff
Please make this a #define'd MASK instead of magic numbers.
Ack
--
To view, visit
https://review.coreboot.org/c/coreboot/+/33129
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibd1e669fcbfe8dc6e6e5556aa5b1373ed19c3685
Gerrit-Change-Number: 33129
Gerrit-PatchSet: 6
Gerrit-Owner: Sumeet R Pawnikar
sumeet.r.pawnikar@intel.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Duncan Laurie
dlaurie@chromium.org
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Paul Fagerburg
pfagerburg@chromium.org
Gerrit-Reviewer: Rajat Jain
rajatja@google.com
Gerrit-Reviewer: Shelley Chen
shchen@google.com
Gerrit-Reviewer: Sumeet R Pawnikar
sumeet.r.pawnikar@intel.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: John Su
john_su@compal.corp-partner.google.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Thu, 18 Jul 2019 09:19:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Patrick Rudolph
siro@das-labor.org
Comment-In-Reply-To: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-MessageType: comment