habanalabs/gaudi2: add device unavailable notification
authorTal Cohen <talcohen@habana.ai>
Wed, 28 Sep 2022 15:33:19 +0000 (18:33 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 23 Nov 2022 14:13:40 +0000 (16:13 +0200)
commit5731b6e6f08a4a3adf944fd0436f77f3e9ce1725
treec7672badbbdb32178f8b46279bd4fa6dac565edd
parent16448d644404351e685466ab14e7e043ad67673c
habanalabs/gaudi2: add device unavailable notification

Device unavailable notifies the user that there isn't an option to
retrieve debug information from the device.
When a critical device error occurs and the f/w performs the device
reset, a device unavailable notification shall be sent to the user
process.

Signed-off-by: Tal Cohen <talcohen@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi2/gaudi2.c