diff options
| author | Baskaran Kannan <[email protected]> | 2023-07-27 16:21:59 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2023-07-27 16:41:07 +0000 |
| commit | e146503ac68418859fb063a3a0cd9ec93bc52238 (patch) | |
| tree | d3cb447724982f30fe60b1cb5446e1a3682b4d07 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | hwmon: (pmbus_core) Fix Deadlock in pmbus_regulator_get_status (diff) | |
| download | kernel-e146503ac68418859fb063a3a0cd9ec93bc52238.tar.gz kernel-e146503ac68418859fb063a3a0cd9ec93bc52238.zip | |
hwmon: (k10temp) Enable AMD3255 Proc to show negative temperature
Industrial processor i3255 supports temperatures -40 deg celcius
to 105 deg Celcius. The current implementation of k10temp_read_temp
rounds off any negative temperatures to '0'. To fix this,
the following changes have been made.
A flag 'disp_negative' is added to struct k10temp_data to support
AMD i3255 processors. Flag 'disp_negative' is set if 3255 processor
is found during k10temp_probe. Flag 'disp_negative' is used to
determine whether to round off negative temperatures to '0' in
k10temp_read_temp.
Signed-off-by: Baskaran Kannan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: aef17ca12719 ("hwmon: (k10temp) Only apply temperature offset if result is positive")
Cc: [email protected]
[groeck: Fixed multi-line comment]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
