linux/drivers/misc/habanalabs
Oded Gabbay 053caa267f habanalabs: remove unnecessary device status check
Checking if the device is operational when entering the function to
wait for user interrupt is not something that is useful or necessary.

It is not done in any other wait_for_cs ioctl path.

If the device becomes non-operational during the wait, the reset
function will make sure the process wait is interrupted.

Instead, move the check to the beginning of hl_wait_ioctl(). It will
block any attempt to wait on CS or user interrupt once the device
is already marked as non-operational.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2021-09-01 18:38:24 +03:00
..
common habanalabs: remove unnecessary device status check 2021-09-01 18:38:24 +03:00
gaudi habanalabs/gaudi: invalidate PMMU mem cache on init 2021-09-01 18:38:24 +03:00
goya habanalabs: modify multi-CS to wait on stream masters 2021-09-01 18:38:24 +03:00
include habanalabs: update to latest firmware headers 2021-09-01 18:38:24 +03:00
Kconfig misc/habana: Stop using frame_vector helpers 2021-01-12 14:14:53 +01:00
Makefile habanalabs: create common folder 2020-07-24 20:31:37 +03:00