diff options
author | Armin Wolf <[email protected]> | 2023-02-09 22:15:02 +0100 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-02-13 12:07:50 +0100 |
commit | 3b7eeff93d291299841f943a5e9b43bb160b3992 (patch) | |
tree | 012b5281bbc67d8b7e2233a1a9b2296fe1df98d9 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | e7210563432a6c6fa65a9c5c11ece2a0adbeeda2 (diff) |
platform/x86: dell-ddv: Add hwmon support
Thanks to bugreport 216655 on bugzilla triggered by the
dell-smm-hwmon driver, the contents of the sensor buffers
could be almost completely decoded.
Add an hwmon interface for exposing the fan and thermal
sensor values. Since the WMI interface can be quite slow
on some machines, the sensor buffers are cached for 1 second
to lessen the performance impact.
The debugfs interface remains in place to aid in reverse-engineering
of unknown sensor types and the thermal buffer.
Tested-by: AntonĂn Skala <[email protected]>
Tested-by: Gustavo Walbon <[email protected]>
Signed-off-by: Armin Wolf <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions