linux_dsm_epyc7002/drivers/misc/habanalabs
Moti Haimovski 5557b138dc habanalabs: support temperature offset via sysfs
This commit adds support for offsetting the temperatures reading
by a specified value as defined in
https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface
using the standard sysfs defined for hwmon.
This is required by system administrators to inject errors to test
their monitoring applications in data centers.

Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2020-03-24 10:54:16 +02:00
..
goya habanalabs: ratelimit error prints of IRQs 2020-03-24 10:54:16 +02:00
include habanalabs: support temperature offset via sysfs 2020-03-24 10:54:16 +02:00
asid.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
command_buffer.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
command_submission.c habanalabs: Avoid running restore chunks if no execute chunks 2020-03-24 10:54:16 +02:00
context.c habanalabs: rate limit error msg on waiting for CS 2019-12-14 15:12:21 +02:00
debugfs.c habanalabs: add debugfs write64/read64 2020-03-24 10:54:16 +02:00
device.c habanalabs: removing extra ; 2020-03-24 10:54:16 +02:00
firmware_if.c habanalabs: remove prints on successful device initialization 2019-11-21 11:35:46 +02:00
habanalabs_drv.c habanalabs: create two char devices per ASIC 2019-09-05 14:55:26 +03:00
habanalabs_ioctl.c habanalabs: expose reset counters via existing INFO IOCTL 2019-11-21 11:35:47 +02:00
habanalabs.h habanalabs: support temperature offset via sysfs 2020-03-24 10:54:16 +02:00
hw_queue.c habanalabs: Add a new H/W queue type 2019-11-21 11:35:45 +02:00
hwmon.c habanalabs: support temperature offset via sysfs 2020-03-24 10:54:16 +02:00
irq.c habanalabs: replace __le32_to_cpu with le32_to_cpu 2019-09-05 14:55:27 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
memory.c habanalabs: split the host MMU properties 2020-03-24 10:54:16 +02:00
mmu.c habanalabs: split the host MMU properties 2020-03-24 10:54:16 +02:00
pci.c habanalabs: increase PCI ELBI timeout for Palladium 2019-05-13 14:44:50 +03:00
sysfs.c habanalabs: replace __cpu_to_le32/64 with cpu_to_le32/64 2019-09-05 14:55:27 +03:00