summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-mutex.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-10-31 16:45:03 +0100
committerKonrad Rzeszutek Wilk <konrad@kernel.org>2016-11-07 21:06:26 +0100
commit0d2e18985a99bc8ff9ef260a7e10e6fcdc159f2a (patch)
tree0b468b5601fc48b09c1ca8930988b64475865e3d /lib/locking-selftest-mutex.h
parentLinux 4.8 (diff)
downloadlinux-0d2e18985a99bc8ff9ef260a7e10e6fcdc159f2a.tar.xz
linux-0d2e18985a99bc8ff9ef260a7e10e6fcdc159f2a.zip
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 (limited to 'lib/locking-selftest-mutex.h')
0 files changed, 0 insertions, 0 deletions