]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/habanalabs: return tlb inv error code upon failure
authorKoby Elbaz <kelbaz@habana.ai>
Tue, 7 Mar 2023 08:13:44 +0000 (10:13 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 20 Mar 2023 15:35:33 +0000 (17:35 +0200)
commitaf5e675f130132c05e6e279bb27d6eb3affe117e
treec9c6cdd7c18efe5c1f5f08ae36d08aa0b393deca
parent60d7bbb5b4b875d613a43e3be797ddd4ff92cb7b
accel/habanalabs: return tlb inv error code upon failure

Now that CQ-completion based jobs do not trigger a reset upon failure,
failure of such jobs (e.g., MMU cache invalidation) should be handled
by the caller itself depending on the error code returned to it.

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/gaudi/gaudi.c
drivers/accel/habanalabs/gaudi2/gaudi2.c