diff options
author | Paul Fertser <fercerpav@gmail.com> | 2025-01-23 15:20:02 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2025-02-25 05:10:10 +0300 |
commit | 5797c04400ee117bfe459ff1e468d0ea38054ab4 (patch) | |
tree | 2d3ebbd12dd96d6d3187a2c1afd3a42d4a2fab3a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d082ecbc71e9e0bf49883ee4afd435a77a5101b6 (diff) | |
download | linux-5797c04400ee117bfe459ff1e468d0ea38054ab4.tar.xz |
hwmon: (peci/dimmtemp) Do not provide fake thresholds data
When an Icelake or Sapphire Rapids CPU isn't providing the maximum and
critical thresholds for particular DIMM the driver should return an
error to the userspace instead of giving it stale (best case) or wrong
(the structure contains all zeros after kzalloc() call) data.
The issue can be reproduced by binding the peci driver while the host is
fully booted and idle, this makes PECI interaction unreliable enough.
Fixes: 73bc1b885dae ("hwmon: peci: Add dimmtemp driver")
Fixes: 621995b6d795 ("hwmon: (peci/dimmtemp) Add Sapphire Rapids support")
Cc: stable@vger.kernel.org
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Iwona Winiarska <iwona.winiarska@intel.com>
Link: https://lore.kernel.org/r/20250123122003.6010-1-fercerpav@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions