Re: [PATCH] quiet down swiotlb warnings

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rik van Riel <riel@...>
Cc: linux-kernel <linux-kernel@...>, <andrew.vasquez@...>
Date: Friday, June 1, 2007 - 3:01 pm

Rik van Riel <riel@redhat.com> writes:


Why does it do that? Could we supply a better interface
for whatever it is trying to do here?


Bad idea imho. swiotlb mappings should always lead to printk by default
because it is pretty dangerous.

One possible solution for this I could think of would be to define a
new pci_map_sg_couldfail() or similar that doesn't warn and use a weak
fallback just calling pci_map_sg on other IOMMU implementations. 

 -Andi
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] quiet down swiotlb warnings, Rik van Riel, (Fri Jun 1, 1:30 pm)
Re: [PATCH] quiet down swiotlb warnings, Andi Kleen, (Fri Jun 1, 3:01 pm)
Re: [PATCH] quiet down swiotlb warnings, Andrew Vasquez, (Fri Jun 1, 2:16 pm)
Re: [PATCH] quiet down swiotlb warnings, Christoph Hellwig, (Fri Jun 1, 2:12 pm)
Re: [PATCH] quiet down swiotlb warnings, Andi Kleen, (Fri Jun 1, 3:37 pm)
Re: [PATCH] quiet down swiotlb warnings, Christoph Hellwig, (Fri Jun 1, 3:57 pm)
Re: [PATCH] quiet down swiotlb warnings, Rik van Riel, (Fri Jun 1, 3:38 pm)
Re: [PATCH] quiet down swiotlb warnings, Andi Kleen, (Fri Jun 1, 3:47 pm)
Re: [PATCH] quiet down swiotlb warnings, Andrew Vasquez, (Fri Jun 1, 4:00 pm)
Re: [PATCH] quiet down swiotlb warnings, Andi Kleen, (Fri Jun 1, 4:14 pm)
Re: [PATCH] quiet down swiotlb warnings, Rik van Riel, (Fri Jun 1, 4:20 pm)
Re: [PATCH] quiet down swiotlb warnings, Andi Kleen, (Fri Jun 1, 4:26 pm)
Re: [PATCH] quiet down swiotlb warnings, Muli Ben-Yehuda, (Sat Jun 2, 11:21 am)
Re: [PATCH] quiet down swiotlb warnings, Andi Kleen, (Sat Jun 2, 12:47 pm)
Re: [PATCH] quiet down swiotlb warnings, Rik van Riel, (Fri Jun 1, 2:18 pm)