linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: linux-mtd@lists.infradead.org, Sascha Hauer <kernel@pengutronix.de>
Subject: Re: imx27: Unsupported ECC algorithm
Date: Thu, 17 Sep 2020 18:45:24 +0200	[thread overview]
Message-ID: <20200917184524.44500d51@xps13> (raw)
In-Reply-To: <20200917181318.3fd9965d@xps13>

Hi Fabio,

Miquel Raynal <miquel.raynal@bootlin.com> wrote on Thu, 17 Sep 2020
18:13:18 +0200:

> Hi Fabio,
> 
> Fabio Estevam <festevam@gmail.com> wrote on Wed, 16 Sep 2020 10:49:03
> -0300:
> 
> > Hi Miquel,
> > 
> > On a imx27-phytec-phycard-s-rdk  board running linux-next, the
> > following warning is seen:
> > 
> > 10:15:26.232069  ------------[ cut here ]------------
> > 10:15:26.232880  WARNING: CPU: 0 PID: 1 at
> > drivers/mtd/nand/raw/nand_base.c:5242 nand_scan_with_ids+0x9bc/0x1008
> > 10:15:26.241132  Unsupported ECC algorithm!
> > 
> > I believe it has been caused by 74a89d7f9ed7 ("mtd: rawnand: Use the
> > ECC framework user input parsing bits")
> > 
> > Its dts uses nand-ecc-mode = "hw" :
> > 
> > &nfc {
> > pinctrl-names = "default";
> > pinctrl-0 = <&pinctrl_nfc>;
> > nand-bus-width = <8>;
> > nand-ecc-mode = "hw";
> > nand-on-flash-bbt;
> > status = "okay";
> > };
> > 
> > I don't have access to this hardware, but I saw the report by the
> > Pengutronix lab in kernelci:
> > https://storage.kernelci.org/next/master/next-20200916/arm/imx_v4_v5_defconfig/gcc-8/lab-pengutronix/baseline-imx27-phytec-phycard-s-rdk.html
> > 
> > Any ideas?  
> 
> Thanks for the report, I don't know what is happening yet but I'll
> investigate.
> 
> As I'll be off next week, it might take a bit longer than expected
> to see this solved if I don't come up with something by tomorrow...

Perhaps Tudor's series is related to your issue, would you mind testing
it?

https://patchwork.ozlabs.org/project/linux-mtd/list/?series=202344

Thanks,
Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2020-09-17 16:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-16 13:49 imx27: Unsupported ECC algorithm Fabio Estevam
2020-09-17 16:13 ` Miquel Raynal
2020-09-17 16:45   ` Miquel Raynal [this message]
2020-09-17 17:12     ` Fabio Estevam
2020-09-21  9:40 ` Sascha Hauer
2020-09-28 15:20   ` Miquel Raynal
2020-09-29 11:39     ` Fabio Estevam
2020-09-29 16:31       ` Fabio Estevam
2020-09-29 17:46         ` Miquel Raynal
2020-09-30 14:58         ` Miquel Raynal
2020-10-01 21:39           ` Fabio Estevam
2020-10-13 17:14             ` Lucas Stach
2020-10-13 17:36               ` Miquel Raynal
2020-10-14 12:23               ` Fabio Estevam
2020-10-14 13:26                 ` Miquel Raynal
2020-10-15 19:24                   ` Fabio Estevam
2020-10-16  3:04                   ` Han Xu
2020-10-16  6:39                   ` Sascha Hauer
2020-10-16  7:53                     ` Miquel Raynal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200917184524.44500d51@xps13 \
    --to=miquel.raynal@bootlin.com \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).