RE: [RFC PATCH] mmc: renesas_sdhi_internal_dmac: limit DMA RX for old SoCs

2018-04-06 Thread Yoshihiro Shimoda
Hi Wolfram-san, Thank you for the patch! > From: Wolfram Sang, Sent: Thursday, April 5, 2018 1:45 AM > > From: Wolfram Sang > > Early revisions of certain SoCs cannot do multiple DMA RX streams in > parallel. To avoid data corruption, only allow one DMA RX channel and > fall back to PIO, if ne

Re: [RFC PATCH] mmc: renesas_sdhi_internal_dmac: limit DMA RX for old SoCs

2018-04-05 Thread Wolfram Sang
> > Shimoda-san: what do you think of this approach? Please note that I didn't > > remove the 'revision' from the whitelist yet. This will be done > > incrementally. > > I thought to first fix the data corruption issue. > > I assume this is material for stable as well, right? Yes. But I'd like

Re: [RFC PATCH] mmc: renesas_sdhi_internal_dmac: limit DMA RX for old SoCs

2018-04-04 Thread Ulf Hansson
On 4 April 2018 at 18:45, Wolfram Sang wrote: > From: Wolfram Sang > > Early revisions of certain SoCs cannot do multiple DMA RX streams in > parallel. To avoid data corruption, only allow one DMA RX channel and > fall back to PIO, if needed. > > Signed-off-by: Wolfram Sang > --- > > Okay, here

[RFC PATCH] mmc: renesas_sdhi_internal_dmac: limit DMA RX for old SoCs

2018-04-04 Thread Wolfram Sang
From: Wolfram Sang Early revisions of certain SoCs cannot do multiple DMA RX streams in parallel. To avoid data corruption, only allow one DMA RX channel and fall back to PIO, if needed. Signed-off-by: Wolfram Sang --- Okay, here is what I came up with to solve this problem. Compared to Shimod