swiotlb: do not panic on mapping failures
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Apr 2018 08:38:08 +0000 (10:38 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 19 Oct 2018 06:43:04 +0000 (08:43 +0200)
commit8088546832aa2c0d8f99dd56edf6384f8a9b63b3
treeadb6c5124dcfa83fdb8bbe619055d476305bf626
parentb65125c6acf38388d3342b37c18c3b6cc97eeb75
swiotlb: do not panic on mapping failures

All properly written drivers now have error handling in the
dma_map_single / dma_map_page callers.  As swiotlb_tbl_map_single already
prints a useful warning when running out of swiotlb pool space we can
also remove swiotlb_full entirely as it serves no purpose now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
kernel/dma/swiotlb.c