Tim Wawrzynczak 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 10:
(5 comments)
https://review.coreboot.org/c/coreboot/+/33129/10/src/soc/intel/cannonlake/t...
File src/soc/intel/cannonlake/thermal.c:
https://review.coreboot.org/c/coreboot/+/33129/10/src/soc/intel/cannonlake/t...
PS10, Line 34: void *
I think returning uintptr_t would be appropriate here.
https://review.coreboot.org/c/coreboot/+/33129/10/src/soc/intel/cannonlake/t...
PS10, Line 46: (void *)
See above.
https://review.coreboot.org/c/coreboot/+/33129/10/src/soc/intel/cannonlake/t...
PS10, Line 52: static
Why is this static? It gets reassigned to the same pointer every time it's called.
https://review.coreboot.org/c/coreboot/+/33129/10/src/soc/intel/cannonlake/t...
PS10, Line 87: void *thermalbar = pch_thermal_get_bar(dev);
See above about uintptr_t
https://review.coreboot.org/c/coreboot/+/33129/10/src/soc/intel/cannonlake/t...
PS10, Line 96: CATASTROPHIC_TRIP_POINT_VALUE
This is used as a mask, could you rename it CATASTROPHIC_TRIP_POINT_MASK ?
--
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: 10
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: Fri, 19 Jul 2019 15:25:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment