GPMI iMX6ull timeout on DMA

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Thu Jan 28 06:55:02 EST 2021


Hi

I have a couple of questions

On Thu, Jan 28, 2021 at 11:35 AM Michael Nazzareno Trimarchi
<michael at amarulasolutions.com> wrote:
>
> Hi
>
> On Thu, Jan 28, 2021 at 11:26 AM Miquel Raynal
> <miquel.raynal at bootlin.com> wrote:
> >
> > Hi Michael,
> >
> > Michael Nazzareno Trimarchi <michael at 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 at 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 at 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.
>
> It's not there and should not go because this patch fixes another
> regression.  Apply
> it means apply anyway both.
> I will decode the registers on those thread and check the difference
>

maxchips is 2 for IMX6 and I think that is connected to NAND_CE0_B and
NAND_CE1_B, When
we probe I think both are probed. Is that right?

Michael


> Michae
>
> >
> > [1] mtd: rawnand: gpmi: Fix the random DMA timeout issue
> >
> > Thanks,
> > Miquèl
>
>
>
> --
> Michael Nazzareno Trimarchi
> Amarula Solutions BV
> COO Co-Founder
> Cruquiuskade 47 Amsterdam 1018 AM NL
> T. +31(0)851119172
> M. +39(0)3479132170
> [`as] https://www.amarulasolutions.com



-- 
Michael Nazzareno Trimarchi
Amarula Solutions BV
COO Co-Founder
Cruquiuskade 47 Amsterdam 1018 AM NL
T. +31(0)851119172
M. +39(0)3479132170
[`as] https://www.amarulasolutions.com



More information about the linux-mtd mailing list