aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/swiotlb.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-03 07:43:05 +0100
committerChristoph Hellwig <hch@lst.de>2018-12-13 21:06:15 +0100
commit58dfd4ac022037c6a562e92fc6d2a778819b2162 (patch)
tree1512b1fca977f2d2e9daacb690150a3c4e339f80 /include/linux/swiotlb.h
parentswiotlb: remove dma_mark_clean (diff)
downloadlinux-dev-58dfd4ac022037c6a562e92fc6d2a778819b2162.tar.xz
linux-dev-58dfd4ac022037c6a562e92fc6d2a778819b2162.zip
dma-direct: improve addressability error reporting
Only report report a DMA addressability report once to avoid spewing the kernel log with repeated message. Also provide a stack trace to make it easy to find the actual caller that caused the problem. Last but not least move the actual check into the fast path and only leave the error reporting in a helper. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Tested-by: Jesper Dangaard Brouer <brouer@redhat.com> Tested-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/linux/swiotlb.h')
0 files changed, 0 insertions, 0 deletions