]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/habanalabs: add handling for unexpected user event
authorOfir Bitton <obitton@habana.ai>
Wed, 8 Mar 2023 11:34:52 +0000 (13:34 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 20 Mar 2023 15:35:34 +0000 (17:35 +0200)
commite1ef053e08c9b56c0de0635beea75466e97a7383
tree023fed1a52b1b480fe990c025e19cf3faab75727
parent7cd6b5625b35267d0a69f067c41e2adf0c903eb2
accel/habanalabs: add handling for unexpected user event

In order for the user to be aware of unexpected events in Gaudi2 that
aren't assigned to a specific engine, we are adding the handling of
this dedicated interrupt.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/habanalabs.h
drivers/accel/habanalabs/common/irq.c
drivers/accel/habanalabs/gaudi2/gaudi2.c
drivers/accel/habanalabs/gaudi2/gaudi2P.h
drivers/accel/habanalabs/include/gaudi2/gaudi2.h