]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/habanalabs: verify return code after scrubbing ARCs DCCMs
authorKoby Elbaz <kelbaz@habana.ai>
Thu, 23 Feb 2023 08:43:14 +0000 (10:43 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 15 Mar 2023 11:29:15 +0000 (13:29 +0200)
commit75276e23d1129373578296fbc008e91f81ba6ecb
tree6b1d6cd06f63eea04796320059e28202e0353ba1
parent81e609bebbb45d81bd68fc9d29420f03579523ab
accel/habanalabs: verify return code after scrubbing ARCs DCCMs

In case the KDMA fails scrubbing the DCCMs (following a soft-reset
upon device release), the driver will only print failure until reset
flow ends, rather than escalating it into a hard-reset.

Signed-off-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2.c