Re: [PATCH 04 of 14] swiotlb: consistently use address_needs_mappingeverywhere

From: Jeremy Fitzhardinge
Date: Wed Dec 17 2008 - 11:40:27 EST


FUJITA Tomonori 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.

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

J
--
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/