I’m having problems with mphys on PPC (I think).
I’m trying to get the physical address for DMA of a buffer. For example,
mphys gives me
for a user buffer. But my DMA controller fails on reads and writes to
0x1d07000+ (I used a PCI bus analyser to find out).
Is there a “bus address” which is different than the virtual address on
This all works great on intel. The buffer is being mmap’d… I am writing
to the buffer in my application (so the mmap isn’t failing and it
actually exists before I try mphys()).