habanalabs/gaudi: scrub HBM to a specific value
authorOfir Bitton <obitton@habana.ai>
Tue, 27 Jul 2021 07:54:22 +0000 (10:54 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 1 Sep 2021 15:38:24 +0000 (18:38 +0300)
commitf5137aff6dcc3a85d0143ee91e6061c2c3611bf7
treeb3a5c0afafd3c8acfee733b18f3fa49889f67f0b
parenta6c849012b0f51c674f52384bd9a4f3dc0a33c31
habanalabs/gaudi: scrub HBM to a specific value

In order to enhance debuggability, we will scrub the whole HBM to
a specific value, in case HBM scrubbing is enabled. Scrubbing will be
performed after reset and after user closes the FD.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c