]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: support hwmon_reset_history attribute
authorChristine Gharzuzi <cgharzuzi@habana.ai>
Thu, 16 Apr 2020 13:43:26 +0000 (16:43 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 19 May 2020 11:48:41 +0000 (14:48 +0300)
commit8e708af2846fd1183ce2e5690e46155ee1342d25
treed826cce20d017725508e651ec25b370364224909
parent79c823c57e69d9e584a5ee4ee6406eb3854393ae
habanalabs: support hwmon_reset_history attribute

Support hwmon_temp_reset_histroy, hwmon_in_reset_history and
hwmon_curr_reset attribute which resets the historical highest value.

Signed-off-by: Christine Gharzuzi <cgharzuzi@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/habanalabs.h
drivers/misc/habanalabs/hwmon.c
drivers/misc/habanalabs/include/armcp_if.h