MPC7455 DMA buffer strangeness

Adrian Cox adrian at humboldt.co.uk
Tue Jul 6 19:34:12 EST 2004


On Tue, 2004-07-06 at 09:47, Oliver Korpilla wrote:
> The buffer is not written to in kernel space, but in user space. An ioctl() is
> made for triggering the DMA. The user space mapping will lead to direct writes
> to that physical buffer address, so the DMA engine of my PCI-VME-bridge chip
> should see only what I wrote in user space, regardless of the kernel mapping.
> (But it doesn't in reality!)

It's certainly possible that part of the page has ended up in cache.

Why are you trying to turn off cache coherency? This should all work if
your userspace mapping is cache coherent.

- Adrian Cox
Humboldt Solutions Ltd.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list