Re: GPMI iMX6ull timeout on DMA

Miquel Raynal
2021-01-28T10:27:21Z

Hi Michael,

Michael Nazzareno Trimarchi <michael@amarulasolutions.com> wrote on
Thu, 28 Jan 2021 10:45:29 +0100:

> Hi Greg
>
> On Tue, Aug 13, 2019 at 2:50 AM Greg Ungerer <gerg@kernel.org> wrote:
> >
> > Hi Boris,
> >
> > On 12/8/19 5:31 pm, Boris Brezillon wrote:
> > > On Mon, 12 Aug 2019 12:50:36 +1000
> > [snip]
> > > Hm, CTRL1 is identical. Can you dump all regs at the beginning and at
> > > the end of those funcs?
> >
> > Here is a more complete dump of registers. Trace points are at
> > entry and exit of the respective functions in the different
> > kernel versions. Register dumping code is identical for both.
> >
> >
> > Linux version 4.16.0 (gerg@goober) (gcc version 4.8.3 (GCC)) #10 Tue Aug 13 10:24:28 AEST 2019
> > ...
>
> I ran an overnight reboot process on linux-4.19.y tag: v4.19.169 and
> I'm not able to reproduce up to now.
>
> Do you have an update from your side?

Perhaps this patch [1] was backported to v4.19.169 (I didn't check) but
it might have fixed the DMA issue you were seeing, at least in the
recent kernel versions.

[1] mtd: rawnand: gpmi: Fix the random DMA timeout issue

Thanks,
Miquèl