Re: [Intel-gfx] [PATCH] swiotlb: Suppress "Out of SW-IOMMU" errors for NO_WARN

2018-05-02 Thread Christoph Hellwig
On Wed, May 02, 2018 at 11:05:01AM +0100, Chris Wilson wrote: > This extends the warning suppression from commit d0bc0c2a31c9 ("swiotlb: > suppress warning when __GFP_NOWARN is set") to suppress the warnings > when DMA_ATTR_NO_WARN is given by caller. In such cases the caller wants > to handle the

[Intel-gfx] [PATCH] swiotlb: Suppress "Out of SW-IOMMU" errors for NO_WARN

2018-05-02 Thread Chris Wilson
This extends the warning suppression from commit d0bc0c2a31c9 ("swiotlb: suppress warning when __GFP_NOWARN is set") to suppress the warnings when DMA_ATTR_NO_WARN is given by caller. In such cases the caller wants to handle the error themselves. Fixes: d0bc0c2a31c9 ("swiotlb: suppress warning