habanalabs/gaudi: use memory_scrub_val from debugfs
authorDafna Hirschfeld <dhirschfeld@habana.ai>
Thu, 23 Jun 2022 04:47:48 +0000 (07:47 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:25 +0000 (09:09 +0300)
commit70852c95ac0e6234eaa87e267054dcbc0712f240
tree77e9ba1d7062191b232f7511977cc1a5e131cfb9
parent8c834a1442ad4e06f2be2574eee4a6985ad297aa
habanalabs/gaudi: use memory_scrub_val from debugfs

In the callback scrub_device_mem, use 'memory_scrub_val'
from debugfs for the scrubbing value.

Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Documentation/ABI/testing/debugfs-driver-habanalabs
drivers/misc/habanalabs/gaudi/gaudi.c