summaryrefslogtreecommitdiff
tag name15.6-4
tagged objectcommit 6bb13dc36d...
>
context:
space:
mode:
Diffstat
-rw-r--r--arch/s390/kernel/time.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c468b5601fc48b09c1ca8930988b64475865e3d
parentc8d2bc9bc39ebea8437fd974fdbc21847bb897a3 (diff)
swiotlb: Rate-limit printing when running out of SW-IOMMU space
If the system runs out of SW-IOMMU space, changes are high successive requests will fail, too, flooding the kernel log. This is true especially for streaming DMA, which is typically used repeatedly outside the driver's initialization routine. Add rate-limiting to fix this. While at it, get rid of the open-coded dev_name() handling by using the appropriate dev_err_*() variant. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
Diffstat