Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33129 )
Change subject: soc/intel/common/block: Enable PCH Thermal Sensor for threshold configuration
......................................................................
Patch Set 17:
(5 comments)
https://review.coreboot.org/c/coreboot/+/33129/17/src/soc/intel/common/block...
File src/soc/intel/common/block/thermal/thermal.c:
https://review.coreboot.org/c/coreboot/+/33129/17/src/soc/intel/common/block...
PS17, Line 29: get_thermal_config
Maybe rename this to get_thermal_trip_temp ?
https://review.coreboot.org/c/coreboot/+/33129/17/src/soc/intel/common/block...
PS17, Line 41: thermal_config;
:
: thermal_config = get_thermal_config();
see above, maybe rename variable to thermal_trip_temp ?
https://review.coreboot.org/c/coreboot/+/33129/17/src/soc/intel/common/block...
PS17, Line 56: pch_thermal_get_bar
Since this function is local to this file, and its only purpose is to get the BAR of the thermal device, does it really need to be passed the device struct? It could take no parameters, and just get 'dev = pcidev_path_on_root(PCH_DEVFN_THERMAL)' itself.
https://review.coreboot.org/c/coreboot/+/33129/17/src/soc/intel/common/block...
PS17, Line 95: void
nit: consider uint16_t*
https://review.coreboot.org/c/coreboot/+/33129/17/src/soc/intel/common/block...
PS17, Line 99: void
nit: consider uint16_t*
--
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: 17
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: Subrata Banik
subrata.banik@intel.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: Balaji Manigandan
balaji.manigandan@intel.com
Gerrit-CC: John Su
john_su@compal.corp-partner.google.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-CC: V Sowmya
v.sowmya@intel.com
Gerrit-Comment-Date: Mon, 29 Jul 2019 14:56:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment