Linux-mtd Archive on lore.kernel.org
 help / color / 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
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 index

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-16 13:49 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

Linux-mtd Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mtd/0 linux-mtd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mtd linux-mtd/ https://lore.kernel.org/linux-mtd \
		linux-mtd@lists.infradead.org
	public-inbox-index linux-mtd

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-mtd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git