Re: [PATCH 04 of 14] swiotlb: consistently use address_needs_mapping everywhere

Jeremy Fitzhardinge
2008-12-17T16:40:29Z

FUJITA Tomonori wrote:
> On Tue, 16 Dec 2008 12:17:28 -0800
> Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>
>
>> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
>> ---
>> lib/swiotlb.c | 10 +++-------
>> 1 file changed, 3 insertions(+), 7 deletions(-)
>>
>
> This patch is wrong.
>
> dma_mask and coherent_dma_mask represent different restrictions.
>
> You can't use coherent_dma_mask for alloc_coherent.
>

OK. It looks like this patch is just an (erroneous) cleanup, so we can
drop it.

J