[PATCH] EHCI Oops on CONFIG_NOT_COHERENT_CACHE system

Milton Miller miltonm at bga.com
Thu Aug 31 00:24:57 EST 2006


On Aug 30, 2006, at 7:04 AM, Marcus Comstedt wrote:
> "Gerhard Pircher" <gerhard_pircher at gmx.net> writes:
>> I guess this message should also be forwarded to
>> linux-usb-devel at lists.sourceforge.net. I hope the developers there
>> can make some comments.
>
> Well, I figured the first thing to do would be to reach a consensus
> here on whether or not atomic_t:s in DMA memory should be ruled as
> unallowed.  Judging from the massive silence, there doesn't seem to be
> any strong opinions either way though...

I think its a case of the people that know the architecture agree
that atomics and DMA do not mix, and that this is an issue for
usb-devel to fix.

The other question is: does the current access polute the cache by
reading things where the device is supposed to be writing?

I think some on that list are familiar with the issues for incoherent
DMA, as some of the other usb drivers have been cleaned up in that
regard.

My suggestion is take the issue over there, and only cc us here if
you get pushback over there.

milton




More information about the Linuxppc-dev mailing list