OpenCloudOS-Kernel/drivers/misc/habanalabs
Omer Shpigelman 8ff5f4fd40 habanalabs: handle MMU cache invalidation timeout
MMU cache invalidation timeout indicates that the device is unstable and
therefore unusable.
Hence in such case do hard reset and return an error to the user if was
called from ioctl.
In addition, change the print to error level and rephrase its text.

Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2020-05-25 08:17:57 +03:00
..
gaudi habanalabs: handle MMU cache invalidation timeout 2020-05-25 08:17:57 +03:00
goya habanalabs: handle MMU cache invalidation timeout 2020-05-25 08:17:57 +03:00
include habanalabs: move event handling to common firmware file 2020-05-19 14:48:41 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile habanalabs: add gaudi asic-dependent code 2020-05-19 14:48:41 +03:00
asid.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
command_buffer.c habanalabs: print all CB handles as hex numbers 2020-05-19 14:48:41 +03:00
command_submission.c habanalabs: don't set default fence_ops->wait 2020-05-25 08:15:33 +03:00
context.c habanalabs: add signal/wait to CS IOCTL operations 2020-05-19 14:48:41 +03:00
debugfs.c habanalabs: support clock gating enable/disable 2020-05-19 14:48:41 +03:00
device.c habanalabs: don't allow hard reset with open processes 2020-05-25 08:15:33 +03:00
firmware_if.c habanalabs: move event handling to common firmware file 2020-05-19 14:48:41 +03:00
habanalabs.h habanalabs: handle MMU cache invalidation timeout 2020-05-25 08:17:57 +03:00
habanalabs_drv.c habanalabs: enable gaudi code in driver 2020-05-19 14:48:41 +03:00
habanalabs_ioctl.c habanalabs: get card type, location from F/W 2020-05-19 14:48:41 +03:00
hw_queue.c habanalabs: handle the h/w sync object 2020-05-19 14:48:41 +03:00
hwmon.c habanalabs: support hwmon_reset_history attribute 2020-05-19 14:48:41 +03:00
irq.c habanalabs: replace __le32_to_cpu with le32_to_cpu 2019-09-05 14:55:27 +03:00
memory.c habanalabs: handle MMU cache invalidation timeout 2020-05-25 08:17:57 +03:00
mmu.c habanalabs: split the host MMU properties 2020-03-24 10:54:16 +02:00
pci.c habanalabs: hl_pci_set_dma_mask() can be static 2020-05-19 14:48:41 +03:00
sysfs.c habanalabs: GAUDI does not support soft-reset 2020-05-25 08:15:33 +03:00