Files
linux-stable-mirror/Documentation/hwmon
Sanman Pradhan 8149678ff2 hwmon: (peci/cputemp) Fix crit_hyst returning delta instead of absolute temperature
commit 0adc752b4f upstream.

The hwmon sysfs ABI expects tempN_crit_hyst to report the temperature at
which the critical condition clears, not the hysteresis delta from the
critical limit.

The peci cputemp driver currently returns tjmax - tcontrol for
crit_hyst_type, which is the hysteresis margin rather than the
corresponding absolute temperature.

Return tcontrol directly, and update the documentation accordingly.

Fixes: bf3608f338 ("hwmon: peci: Add cputemp driver")
Cc: stable@vger.kernel.org
Signed-off-by: Sanman Pradhan <psanman@juniper.net>
Link: https://lore.kernel.org/r/20260323002352.93417-2-sanman.pradhan@hpe.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-04-02 13:09:43 +02:00
..
2026-03-13 17:20:37 +01:00
2024-08-27 08:10:23 -07:00
2023-10-29 22:22:20 -07:00
2024-02-25 12:37:10 -08:00
2024-01-02 08:44:55 -08:00
2022-09-19 06:17:05 -07:00
2024-06-03 20:26:31 -07:00
2024-06-28 10:27:47 -07:00
2024-06-12 08:59:44 -07:00
2024-07-02 12:36:31 -07:00
2024-06-12 22:39:34 -07:00
2023-08-18 11:29:03 -06:00
2023-10-27 07:27:23 -07:00
2021-08-17 14:54:25 -07:00