Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33129 )
Change subject: soc/intel/cannonlake: Set correct temperature threshold for PCH Thermal Sensor
......................................................................
Patch Set 3:
(2 comments)
https://review.coreboot.org/#/c/33129/3/src/soc/intel/cannonlake/chip.h
File src/soc/intel/cannonlake/chip.h:
https://review.coreboot.org/#/c/33129/3/src/soc/intel/cannonlake/chip.h@425
PS3, Line 425: /* PCH Trip Temperature */
What are the units?
Agreed. When a variable contains a value that is in specific units, I often add a '_C' for example to indicate that the unit.
https://review.coreboot.org/#/c/33129/3/src/soc/intel/cannonlake/thermal.c
File src/soc/intel/cannonlake/thermal.c:
https://review.coreboot.org/#/c/33129/3/src/soc/intel/cannonlake/thermal.c@7...
PS3, Line 78: ltt_value = (trip_temp + 50) * 2;
Macros to calculate this would be helpful; you could also then use them to define MAX_TRIP_TEMP, and perhaps DEFAULT_TRIP_TEMp as well.
--
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: 3
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: Patrick Georgi
pgeorgi@google.com
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-Comment-Date: Fri, 31 May 2019 21:46:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh
furquan@google.com
Gerrit-MessageType: comment