From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Cardoen Pieter <P.Cardoen@TELEVIC.com>
Cc: "han.xu@nxp.com" <han.xu@nxp.com>,
"boris.brezillon@free-electrons.com"
<boris.brezillon@free-electrons.com>,
"richard@nod.at" <richard@nod.at>,
"dwmw2@infradead.org" <dwmw2@infradead.org>,
"computersforpeace@gmail.com" <computersforpeace@gmail.com>,
"marek.vasut@gmail.com" <marek.vasut@gmail.com>,
"cyrille.pitchen@wedev4u.fr" <cyrille.pitchen@wedev4u.fr>,
"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: GPMI nand flash ECC errors with mainline kernel
Date: Thu, 17 May 2018 14:58:37 +0200 [thread overview]
Message-ID: <20180517145837.18b0eb42@xps13> (raw)
In-Reply-To: <HE1PR0702MB36280A19BA89FA74BB3AACE8FF930@HE1PR0702MB3628.eurprd07.prod.outlook.com>
Hi Cardoen,
FYI your emails are still not reaching the MTD ML.
On Thu, 17 May 2018 07:45:43 +0000, Cardoen Pieter
<P.Cardoen@TELEVIC.com> wrote:
> Dear Miquel
>
>
> I've been continuing debugging. When the gpmi driver is loaded, the device gets scanned for bad blocks. In that case nand_read_oob is executed and this results in a call to nand_do_read_oob:
>
>
> if (!ops->datbuf)
> ret = nand_do_read_oob(mtd, from, ops);
> else
> ret = nand_do_read_ops(mtd, from, ops);
>
>
> But if the nand flash gets mounted, nand_read_oob is also executed but it results in nand_do_read_ops and I don't see that the read functions of the gpmi driver are executed.
>
>
> Hopefully, this can help to find the solution of this issue.
Unfortunately I doubt this is the root cause for the ECC errors neither.
Could you also please answer Boris's questions:
> > Which version works? Is this a vendor tree or a mainline kernel? Looks
> > like the version that fails is 4.15. Are you sure the ECC config is
> > exactly the same between the old and new kernel?
Thanks,
Miquèl
next prev parent reply other threads:[~2018-05-17 12:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <HE1PR0702MB362877849767B637814CF9B6FF930@HE1PR0702MB3628.eurprd07.prod.outlook.com>
2018-05-15 11:59 ` GPMI nand flash ECC errors with mainline kernel Miquel Raynal
[not found] ` <HE1PR0702MB36288289EA58B7D0B5368A9FFF930@HE1PR0702MB3628.eurprd07.prod.outlook.com>
2018-05-15 13:36 ` Miquel Raynal
[not found] ` <HE1PR0702MB3628CC11A1E13A0C740F1CDDFF930@HE1PR0702MB3628.eurprd07.prod.outlook.com>
[not found] ` <HE1PR0702MB36280A19BA89FA74BB3AACE8FF930@HE1PR0702MB3628.eurprd07.prod.outlook.com>
2018-05-17 12:58 ` Miquel Raynal [this message]
2018-05-17 13:05 ` Richard Weinberger
2018-05-15 13:49 ` Boris Brezillon
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=20180517145837.18b0eb42@xps13 \
--to=miquel.raynal@bootlin.com \
--cc=P.Cardoen@TELEVIC.com \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=cyrille.pitchen@wedev4u.fr \
--cc=dwmw2@infradead.org \
--cc=han.xu@nxp.com \
--cc=linux-mtd@lists.infradead.org \
--cc=marek.vasut@gmail.com \
--cc=richard@nod.at \
/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