habanalabs/gaudi2: change memory scrub mechanism
authorfarah kassabri <fkassabri@habana.ai>
Tue, 8 Nov 2022 13:24:33 +0000 (15:24 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 23 Nov 2022 14:13:48 +0000 (16:13 +0200)
commit18cd948204fffa61660d3f8454fc9d275c1f6c94
tree1e6774baf75c25db2352018d26cd1e5c975d09d2
parentb585daa89d572210a94c7f11a746bd5489017003
habanalabs/gaudi2: change memory scrub mechanism

Currently the scrubbing mechanism used the EDMA engines by directly
setting the engine core registers to scrub a chunk of memory.
Due to a sporadic failure with this mechanism, it was decided to
initiate the engines via its QMAN using LIN-DMA packets.

Signed-off-by: farah kassabri <fkassabri@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi2/gaudi2.c