habanalabs/gaudi: send device reset notification
authorTal Cohen <talcohen@habana.ai>
Wed, 8 Jun 2022 14:34:54 +0000 (17:34 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:22 +0000 (09:09 +0300)
commit969202e5cb62531ed73beb318c7139f1364356cb
treee78b8701eda8ebe376785855e040276ac4ecccc4
parentbe572e67dafbf8004d46a2c9d97338c107efb60e
habanalabs/gaudi: send device reset notification

Device reset event, indicates that the device shall be reset -
after a short delay. In such case, the driver sends a notification
towards the User process. This allows the User process
to be able to take several debug actions for system
diagnostic purposes.

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