accel/habanalabs: notify user about undefined opcode event
authorOfir Bitton <obitton@habana.ai>
Mon, 15 May 2023 10:56:25 +0000 (13:56 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 9 Oct 2023 09:37:17 +0000 (12:37 +0300)
commitc6a4f256aee17e18dbc14039d746e0450e4b199b
treed7051aeab64c862ab460b202b216f682048d0dbb
parenta35c99760146137bbcfafe82ed5dc9c7a00b640a
accel/habanalabs: notify user about undefined opcode event

In order for user to be aware of undefined opcode events, we must
store all relevant information and notify user about the failure.
The user will fetch the stored info via info ioctl.

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/gaudi2/gaudi2.c