AW: PowerPC PCI DMA issues (prefetch/coherency?)
Josh Boyer
jwboyer at linux.vnet.ibm.com
Fri Sep 4 02:21:15 EST 2009
On Thu, Sep 03, 2009 at 12:04:50PM -0400, Adam Zilkie wrote:
>Ben,
>
>Thanks for your info.
>
>Are you sure there is L2 cache on the 440?
It depends on which 440 SoC you have. It also depends on that being
configured in the kernel even if it does exist.
>I am seeing this problem with our custom IDE driver which is based on
>pretty old code. Our driver uses pci_alloc_consistent() to allocate the
>physical DMA memory and alloc_pages() to allocate a virtual page. It
>then uses pci_map_sg() to map to a scatter/gather buffer. Perhaps I
>should convert these to the DMA API calls as you suggest.
I would suggest updating the code. I have no idea if that is the problem,
but it should probably be done anyway.
josh
More information about the Linuxppc-dev
mailing list