Re: [PATCH] Kill dma_is_consistent()

From: Russell King
Date: Thu Nov 23 2006 - 11:06:44 EST


On Thu, Nov 23, 2006 at 09:59:33AM -0600, James Bottomley wrote:
> On Thu, 2006-11-23 at 15:03 +0000, Ralf Baechle wrote:
> > dma_is_consistent() is ill-designed in that it does not have a struct device
> > argument which makes proper support for systems that consist of a mix of
> > coherent and non-coherent DMA devices hard.
>
> At the time the interface was designed, the general consensus was that
> it was easier to recognise incoherent memory regions by their address
> range than by which device they came from. The main proponent of this
> being arm, if I remember rightly.

I don't remember that being particularly discussed, and it seems that
no one has implemented it (but possibly implemented their own stuff
in arch private code.)

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
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/