Oded Gabbay
8a91214266
habanalabs: rate limit error msg on waiting for CS
...
[ Upstream commit 018e0e3594f7dcd029d258e368c485e742fa9cdb ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-12 12:21:31 +01:00
..
altera-stapl
c2port
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
cardreader
misc: alcor_pci: Use dev_get_drvdata
2019-07-25 10:06:54 +02:00
cb710
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
cxl
powerpc/64s/radix: introduce options to disable use of the tlbie instruction
2019-09-05 14:22:41 +10:00
echo
eeprom
Merge branch 'i2c/for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
2019-09-24 16:48:02 -07:00
genwqe
Driver Core and debugfs changes for 5.3-rc1
2019-07-12 12:24:03 -07:00
habanalabs
habanalabs: rate limit error msg on waiting for CS
2020-01-12 12:21:31 +01:00
ibmasm
Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2019-07-19 10:42:02 -07:00
lis3lv02d
lkdtm
Merge 5.3-rc7 into char-misc-next
2019-09-02 19:30:09 +02:00
mei
mei: me: add comet point V device id
2019-12-04 22:30:49 +01:00
mic
misc: mic: Use PTR_ERR_OR_ZERO rather than its implementation
2019-09-10 23:18:05 +01:00
ocxl
ocxl: Fix potential memory leak on context creation
2020-01-12 12:21:31 +01:00
sgi-gru
misc/sgi-gru: use mmu_notifier_get/put for struct gru_mm_struct
2019-08-16 12:02:59 -03:00
sgi-xp
Char/Misc driver patches for 5.4-rc1
2019-09-18 11:14:31 -07:00
ti-st
Driver Core and debugfs changes for 5.3-rc1
2019-07-12 12:24:03 -07:00
vmw_vmci
VMCI: Release resource if the work is already queued
2019-08-28 22:57:07 +02:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
atmel-ssc.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
atmel_tclib.c
bh1770glc.c
cs5535-mfgpt.c
ds1682.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
dummy-irq.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
enclosure.c
fastrpc.c
misc: fastrpc: fix memory leak from miscdev->name
2019-12-31 16:43:58 +01:00
hmc6352.c
hpilo.c
hpilo.h
ibmvmc.c
ibmvmc.h
ics932s401.c
isl29003.c
isl29020.c
Kconfig
Char/Misc driver patches for 5.4-rc1
2019-09-18 11:14:31 -07:00
kgdbts.c
lattice-ecp3-config.c
Makefile
Char/Misc driver patches for 5.4-rc1
2019-09-18 11:14:31 -07:00
pch_phub.c
pci_endpoint_test.c
dmaengine updates for v5.3-rc1
2019-07-17 09:55:43 -07:00
phantom.c
pti.c
pvpanic.c
qcom-coincell.c
sram-exec.c
sram.c
sram.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
tifm_7xx1.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
tifm_core.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
tsl2550.c
vexpress-syscfg.c
vmw_balloon.c
vmw_balloon: Fix offline page marking with compaction
2019-08-28 22:57:07 +02:00
xilinx_sdfec.c
misc: xilinx_sdfec: fix spelling mistake: "Schdule" -> "Schedule"
2019-08-22 14:28:10 -07:00