Re: USB mass storage and ARM cache coherency

From: Benjamin Herrenschmidt
Date: Thu Feb 25 2010 - 15:55:25 EST


On Wed, 2010-02-24 at 16:50 -0500, Alan Stern wrote:
> The main issue here is that the same host controller will use PIO
> sometimes and DMA sometimes, depending on the details of the
> transfer.
> The USB core didn't expect this and consequently we violated the rules
> for DMA mapping. The question is: If the core is fixed so that the
> rules aren't violated, will everything work correctly?

As long as the only issue is that one (ie, doing PIO while dma-map'ed),
then yes, I'd say things should work. If not, then there is -another-
problem to be fixed :-)

Cheers,
Ben.


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