Re: Trouble with DMA on PPC linux question

2016-04-19 Thread Bruce_Leonard
Ben, Benjamin Herrenschmidt wrote on 04/19/2016 01:45:40 AM: > From: Benjamin Herrenschmidt > To: bruce_leon...@selinc.com, linuxppc-dev@lists.ozlabs.org > Date: 04/19/2016 01:46 AM > Subject: Re: Trouble with DMA on PPC linux question > > On Mon, 2016-04-18 at 14:54

Re: Trouble with DMA on PPC linux question

2016-04-19 Thread Benjamin Herrenschmidt
On Mon, 2016-04-18 at 14:54 -0700, bruce_leon...@selinc.com wrote: > > On the DMA transactions that work, the virtual address I hand to  > dma_map_single() is something like 0xe084 and the dma_addr_t result is  > 0x1084 which is less than my 512Mb limit.  On the transactions that  > don't

Trouble with DMA on PPC linux question

2016-04-18 Thread Bruce_Leonard
Good afternoon everyone, We're trying to get some performance gains in an older embedded design by adding DMA to our NAND driver. The HW is an MPC8349 talking across a PCI bus to a NAND controller and we have 512Mb of RAM. We're using the 3.18 kernel and the Freescale "fsl,mpc8349-dma" driver