Re: [PATCH 04 of 14] swiotlb: consistently useaddress_needs_mapping everywhere

From: FUJITA Tomonori
Date: Tue Dec 16 2008 - 21:52:23 EST


On Wed, 17 Dec 2008 11:48:41 +0900
FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> wrote:

> On Tue, 16 Dec 2008 12:17:28 -0800
> Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
>
> > Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> > ---
> > 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.

Oops, "you can't use dma_mask for alloc_coherent."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/