[PATCH 2/6] swiotlb: do not panic on mapping failures

2018-07-25 Thread Christoph Hellwig
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 swace we can also remove swiotlb_full entirely as it serves no purpose now. Signed-off-by: Christoph

[PATCH 2/6] swiotlb: do not panic on mapping failures

2018-07-25 Thread Christoph Hellwig
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 swace we can also remove swiotlb_full entirely as it serves no purpose now. Signed-off-by: Christoph

Re: [PATCH 2/6] swiotlb: do not panic on mapping failures

2018-05-18 Thread Konrad Rzeszutek Wilk
On Tue, May 15, 2018 at 08:05:19PM +0200, Christoph Hellwig wrote: > We now have error handling in map_single/map_page callers (most of them Which ones are missing? Shouldn't we first fix those before we rip this out? > anyway). As swiotlb_tbl_map_single already prints a useful warning > when

Re: [PATCH 2/6] swiotlb: do not panic on mapping failures

2018-05-18 Thread Konrad Rzeszutek Wilk
On Tue, May 15, 2018 at 08:05:19PM +0200, Christoph Hellwig wrote: > We now have error handling in map_single/map_page callers (most of them Which ones are missing? Shouldn't we first fix those before we rip this out? > anyway). As swiotlb_tbl_map_single already prints a useful warning > when

[PATCH 2/6] swiotlb: do not panic on mapping failures

2018-05-15 Thread Christoph Hellwig
We now have error handling in map_single/map_page callers (most of them anyway). As swiotlb_tbl_map_single already prints a useful warning when running out of swiotlb pool swace we can also remove swiotlb_full entirely as it serves no purpose now. Signed-off-by: Christoph Hellwig

[PATCH 2/6] swiotlb: do not panic on mapping failures

2018-05-15 Thread Christoph Hellwig
We now have error handling in map_single/map_page callers (most of them anyway). As swiotlb_tbl_map_single already prints a useful warning when running out of swiotlb pool swace we can also remove swiotlb_full entirely as it serves no purpose now. Signed-off-by: Christoph Hellwig ---