Re: [PATCH] mmc: sdhci-tegra: Set DMA mask

2016-02-29 Thread Alexandre Courbot
On 02/26/2016 08:31 PM, Arnd Bergmann wrote: On Friday 26 February 2016 16:24:34 Alexandre Courbot wrote: On Thu, Feb 25, 2016 at 11:52 PM, Arnd Bergmann wrote: Actually even if we specify a dma-ranges on the parent DT node, the DMA range will still be limited to 32 bits because of the followi

Re: [PATCH] mmc: sdhci-tegra: Set DMA mask

2016-02-26 Thread Arnd Bergmann
On Friday 26 February 2016 16:24:34 Alexandre Courbot wrote: > On Thu, Feb 25, 2016 at 11:52 PM, Arnd Bergmann wrote: > >> Actually even if we specify a dma-ranges on the parent DT node, the > >> DMA range will still be limited to 32 bits because of the following > >> code in of_dma_configure(): >

Re: [PATCH] mmc: sdhci-tegra: Set DMA mask

2016-02-25 Thread Alexandre Courbot
On Thu, Feb 25, 2016 at 11:52 PM, Arnd Bergmann wrote: >> Actually even if we specify a dma-ranges on the parent DT node, the >> DMA range will still be limited to 32 bits because of the following >> code in of_dma_configure(): >> >> /* >> * Set default coherent_dma_mask to 32 bit. Drive

Re: [PATCH] mmc: sdhci-tegra: Set DMA mask

2016-02-25 Thread Arnd Bergmann
On Thursday 25 February 2016 18:49:06 Alexandre Courbot wrote: > On Wed, Feb 24, 2016 at 9:37 PM, Arnd Bergmann wrote: > > On Wednesday 24 February 2016 18:11:19 Alexandre Courbot wrote: > >> On T210, the sdhci controller can address more than 32 bits of address > >> space. Failing to express this

Re: [PATCH] mmc: sdhci-tegra: Set DMA mask

2016-02-25 Thread Alexandre Courbot
On Wed, Feb 24, 2016 at 9:37 PM, Arnd Bergmann wrote: > On Wednesday 24 February 2016 18:11:19 Alexandre Courbot wrote: >> On T210, the sdhci controller can address more than 32 bits of address >> space. Failing to express this fact results in the use of bounce >> buffers and affects performance.

Re: [PATCH] mmc: sdhci-tegra: Set DMA mask

2016-02-24 Thread Stephen Warren
On 02/24/2016 02:11 AM, Alexandre Courbot wrote: On T210, the sdhci controller can address more than 32 bits of address space. Failing to express this fact results in the use of bounce buffers and affects performance. Signed-off-by: Alexandre Courbot --- I am pretty sure this one is wrong in so

Re: [PATCH] mmc: sdhci-tegra: Set DMA mask

2016-02-24 Thread Arnd Bergmann
On Wednesday 24 February 2016 18:11:19 Alexandre Courbot wrote: > On T210, the sdhci controller can address more than 32 bits of address > space. Failing to express this fact results in the use of bounce > buffers and affects performance. > > Signed-off-by: Alexandre Courbot > --- > I am pretty s