linux/drivers/misc/habanalabs/common
Ofir Bitton 84586de496 habanalabs: reset device upon FD close if not idle
If device is not idle after user closes the FD we must reset device
as next user that will try to open FD will encounter a non-functional
device.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2021-06-18 15:23:41 +03:00
..
mmu habanalabs/gaudi: derive security status from pci id 2021-04-09 14:09:25 +03:00
pci habanalabs: set dma mask from fw once fw done iatu config 2021-06-18 15:23:39 +03:00
asid.c habanalabs: replace WARN/WARN_ON with dev_crit in driver 2021-01-27 21:03:49 +02:00
command_buffer.c habanalabs: replace GFP_ATOMIC with GFP_KERNEL 2021-04-09 14:09:23 +03:00
command_submission.c habanalabs: add debug flag to prevent failure on timeout 2021-06-18 15:23:41 +03:00
context.c habanalabs: reset device upon FD close if not idle 2021-06-18 15:23:41 +03:00
debugfs.c habanalabs/gaudi: add debugfs to DMA from the device 2021-04-09 14:09:24 +03:00
device.c habanalabs: reset device upon FD close if not idle 2021-06-18 15:23:41 +03:00
firmware_if.c habanalabs/gaudi: split host irq interfaces towards FW 2021-06-18 15:23:41 +03:00
habanalabs_drv.c habanalabs: reset device upon FD close if not idle 2021-06-18 15:23:41 +03:00
habanalabs_ioctl.c habanalabs: add missing space after casting 2021-06-18 15:23:39 +03:00
habanalabs.h habanalabs: reset device upon FD close if not idle 2021-06-18 15:23:41 +03:00
hw_queue.c habanalabs: add custom timeout flag per cs 2021-04-09 14:09:24 +03:00
hwmon.c habanalabs: firmware returns 64bit argument 2020-11-30 10:47:35 +02:00
irq.c habanalabs: check running index in eqe control 2021-06-18 15:23:40 +03:00
Makefile habanalabs: separate common code to dedicated folders 2021-01-27 21:03:50 +02:00
memory.c habanalabs: better error print for pin failure 2021-06-18 15:23:39 +03:00
sysfs.c habanalabs: expose ASIC specific PLL index 2021-05-08 11:21:57 +03:00