From: Jan Hoffmann <jan@3e8.eu>
To: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Daniel Kestrel <kestrelseventyfour@gmail.com>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] mtd: rawnand: xway: No hardcoded ECC engine, use device tree setting
Date: Mon, 27 Sep 2021 22:32:13 +0200 [thread overview]
Message-ID: <f800c48f-8e4a-ecdc-3198-c52be0425823@3e8.eu> (raw)
In-Reply-To: <20210927183150.4be87140@xps13>
Hi Miquèl,
> So what I propose is:
> - in the driver probe: set the default to software ECC
> - in the attach() hook: drop the line setting the engine_type to SOFT.
>
> Please check the below diff and tell me if it works for you. I'll then
> propose a wider series fixing the other drivers as well.
I can confirm that your patch fixes the issue.
I tested using kernel 5.10 on a Fritzbox 7362 SL (with on-die ECC
configured via device tree which was broken before). I also checked on
a Fritzbox 7412 (this device uses software ECC). Both are working with
this patch.
Thanks,
Jan
WARNING: multiple messages have this Message-ID (diff)
From: Jan Hoffmann <jan@3e8.eu>
To: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Daniel Kestrel <kestrelseventyfour@gmail.com>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] mtd: rawnand: xway: No hardcoded ECC engine, use device tree setting
Date: Mon, 27 Sep 2021 22:32:13 +0200 [thread overview]
Message-ID: <f800c48f-8e4a-ecdc-3198-c52be0425823@3e8.eu> (raw)
In-Reply-To: <20210927183150.4be87140@xps13>
Hi Miquèl,
> So what I propose is:
> - in the driver probe: set the default to software ECC
> - in the attach() hook: drop the line setting the engine_type to SOFT.
>
> Please check the below diff and tell me if it works for you. I'll then
> propose a wider series fixing the other drivers as well.
I can confirm that your patch fixes the issue.
I tested using kernel 5.10 on a Fritzbox 7362 SL (with on-die ECC
configured via device tree which was broken before). I also checked on
a Fritzbox 7412 (this device uses software ECC). Both are working with
this patch.
Thanks,
Jan
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2021-09-27 20:32 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-08 7:26 [PATCH v2] mtd: rawnand: xway: No hardcoded ECC engine, use device tree setting Daniel Kestrel
2021-08-08 7:26 ` Daniel Kestrel
2021-08-16 7:31 ` Miquel Raynal
2021-08-16 7:31 ` Miquel Raynal
2021-08-19 7:21 ` Kestrel seventyfour
2021-08-19 7:21 ` Kestrel seventyfour
2021-08-19 8:03 ` Miquel Raynal
2021-08-19 8:03 ` Miquel Raynal
2021-08-23 11:19 ` Kestrel seventyfour
2021-08-23 11:19 ` Kestrel seventyfour
2021-08-23 15:24 ` Miquel Raynal
2021-08-23 15:24 ` Miquel Raynal
2021-08-24 7:15 ` Kestrel seventyfour
2021-08-24 7:15 ` Kestrel seventyfour
2021-08-24 17:22 ` Miquel Raynal
2021-08-24 17:22 ` Miquel Raynal
2021-08-25 8:47 ` Kestrel seventyfour
2021-08-25 8:47 ` Kestrel seventyfour
2021-08-25 8:51 ` Miquel Raynal
2021-08-25 8:51 ` Miquel Raynal
2021-08-25 14:07 ` Kestrel seventyfour
2021-08-25 14:07 ` Kestrel seventyfour
2021-08-25 15:31 ` Miquel Raynal
2021-08-25 15:31 ` Miquel Raynal
2021-08-26 5:27 ` Kestrel seventyfour
2021-08-26 5:27 ` Kestrel seventyfour
2021-09-16 19:38 ` Jan Hoffmann
2021-09-16 19:38 ` Jan Hoffmann
2021-09-17 17:01 ` Miquel Raynal
2021-09-17 17:01 ` Miquel Raynal
2021-09-17 17:45 ` Jan Hoffmann
2021-09-17 17:45 ` Jan Hoffmann
2021-09-17 19:32 ` Miquel Raynal
2021-09-17 19:32 ` Miquel Raynal
2021-09-18 21:26 ` Jan Hoffmann
2021-09-18 21:26 ` Jan Hoffmann
2021-09-27 16:31 ` Miquel Raynal
2021-09-27 16:31 ` Miquel Raynal
2021-09-27 20:32 ` Jan Hoffmann [this message]
2021-09-27 20:32 ` Jan Hoffmann
2021-09-28 8:49 ` Miquel Raynal
2021-09-28 8:49 ` 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=f800c48f-8e4a-ecdc-3198-c52be0425823@3e8.eu \
--to=jan@3e8.eu \
--cc=kestrelseventyfour@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=richard@nod.at \
--cc=vigneshr@ti.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.