RE: PowerQUICC II PCIe dma

2010-11-10 Thread David Laight
> I'm trying to get a ppc 831x to do PCIe dma transfers, PIO transfers > work ok but are somewhat lethargic (partially due to the slave). After much soul searching I've finally got it to work! For the benefit of anyone else... - The lowest address of the dma descriptor contains the 'command' bi

PowerQUICC II PCIe dma

2010-11-01 Thread David Laight
I'm trying to get a ppc 831x to do PCIe dma transfers, PIO transfers work ok but are somewhat lethargic (partially due to the slave). I've done the following: - All reads/writes (including the dma descriptors) are byteswapped. - Enabled the dma in PEX_CSB_CTRL (value 0x3f) - Used the kernel physic