linux_dsm_epyc7002/drivers/misc/habanalabs
Oded Gabbay 018e0e3594 habanalabs: rate limit error msg on waiting for CS
In case a user submits a CS, and the submission fails, and the user doesn't
check the return value and instead use the error return value as a valid
sequence number of a CS and ask to wait on it, the driver will print an
error and return an error code for that wait.

The real problem happens if now the user ignores the error of the wait, and
try to wait again and again. This can lead to a flood of error messages
from the driver and even soft lockup event.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
2019-12-14 15:12:21 +02:00
..
goya habanalabs: use defines for F/W files 2019-11-21 11:35:46 +02:00
include habanalabs: split MMU properties to PCI/DRAM 2019-11-21 11:35:46 +02:00
asid.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
command_buffer.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
command_submission.c habanalabs: rate limit error msg on waiting for CS 2019-12-14 15:12:21 +02:00
context.c habanalabs: rate limit error msg on waiting for CS 2019-12-14 15:12:21 +02:00
debugfs.c habanalabs: add more protection of device during reset 2019-11-21 11:35:47 +02:00
device.c habanalabs: flush EQ workers in hard reset 2019-11-21 11:35:47 +02:00
firmware_if.c habanalabs: remove prints on successful device initialization 2019-11-21 11:35:46 +02:00
habanalabs_drv.c habanalabs: create two char devices per ASIC 2019-09-05 14:55:26 +03:00
habanalabs_ioctl.c habanalabs: expose reset counters via existing INFO IOCTL 2019-11-21 11:35:47 +02:00
habanalabs.h habanalabs: split MMU properties to PCI/DRAM 2019-11-21 11:35:46 +02:00
hw_queue.c habanalabs: Add a new H/W queue type 2019-11-21 11:35:45 +02:00
hwmon.c habanalabs: display card name as sensors header 2019-09-05 14:55:27 +03:00
irq.c habanalabs: replace __le32_to_cpu with le32_to_cpu 2019-09-05 14:55:27 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
memory.c habanalabs: remove unnecessary checks 2019-11-21 11:35:46 +02:00
mmu.c habanalabs: optimize MMU unmap 2019-11-21 11:35:46 +02:00
pci.c habanalabs: increase PCI ELBI timeout for Palladium 2019-05-13 14:44:50 +03:00
sysfs.c habanalabs: replace __cpu_to_le32/64 with cpu_to_le32/64 2019-09-05 14:55:27 +03:00