Matt> Roland Dreier had a patch which added a little helper for Matt> this stuff as well as docs. Unfortunately, it's been Matt> dropped on the floor until somebody with interest and time Matt> in non-coherent platforms picks it Matt> up. http://lwn.net/Articles/2482/
As I recall, the discussion ended with people like David Miller agreeing that 2.6 would fix this in a better way, but that my patch was OK for 2.4. However, unaligned DMA buffers only seem to cause pain on non-mainstream platforms, so there was never much push to have my patch merged in 2.4. I've never really pushed my patch since we've fixed all the problems with our own specific embedded PPC 4xx platform, and no one else seems to care very much. Best, Roland ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/