habanalabs/gaudi2: count interrupt causes
authorOfir Bitton <obitton@habana.ai>
Wed, 23 Nov 2022 09:03:17 +0000 (11:03 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Thu, 26 Jan 2023 08:56:20 +0000 (10:56 +0200)
commit8768c212f67df65d1edb5ee850c46b9291c06aa3
tree2ced8a9f0d5c9c1198d0da7d9c6dae53b67197a9
parent6d62d4402fec005f02f611510d096ee472b50ecb
habanalabs/gaudi2: count interrupt causes

During event handling we extract interrupt cause and count it.
In case we could not find any cause we should add proper error.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi2/gaudi2.c