]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/habanalabs: change hw_fini to return int to indicate error
authorDafna Hirschfeld <dhirschfeld@habana.ai>
Wed, 8 Feb 2023 14:14:48 +0000 (16:14 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 15 Mar 2023 11:29:14 +0000 (13:29 +0200)
commit5e09ae9203b7626f882d68f4733f87f133de0393
tree61d91e86eda5a396f508b89aa83b99a57b731bbc
parenta8c14f538823669d9ffdc24dba6d2a8cd67232f8
accel/habanalabs: change hw_fini to return int to indicate error

We later use cpucp packet for soft reset which might fail
so we should be able propagate the failure case.

Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
drivers/accel/habanalabs/common/habanalabs.h
drivers/accel/habanalabs/gaudi/gaudi.c
drivers/accel/habanalabs/gaudi2/gaudi2.c
drivers/accel/habanalabs/goya/goya.c