]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: move memory_scrub_val to hdev struct
authorDafna Hirschfeld <dhirschfeld@habana.ai>
Thu, 2 Jun 2022 08:55:00 +0000 (11:55 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:24 +0000 (09:09 +0300)
commit7a07c12de43ec84a270f80604f6d2415baa29b94
tree4122576d661d5f36052020318bc542040b5f4320
parent32d4cebd6e000234c83f8c2192614ce7fbd197de
habanalabs: move memory_scrub_val to hdev struct

move the field memory_scrub_val from struct hl_dbg_device_entry
to struct hl_device. This is because we want to use
this field also if debugfs is off.

Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/debugfs.c
drivers/misc/habanalabs/common/habanalabs.h