From: Miquel Raynal <miquel.raynal@bootlin.com>
To: "Rouven Czerwinski" <r.czerwinski@pengutronix.de>,
"Martin Hundebøll" <martin@geanix.com>,
"Måns Rullgård" <mans@mansr.com>,
"Alexander Shiyan" <eagle.alexander923@gmail.com>,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Richard Weinberger" <richard@nod.at>,
"Vignesh Raghavendra" <vigneshr@ti.com>,
JaimeLiao <jaimeliao.tw@gmail.com>
Cc: kernel@pengutronix.de, stable@vger.kernel.org,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] mtd: rawnand: Ensure the nand chip supports cached reads
Date: Mon, 16 Oct 2023 11:27:02 +0200 [thread overview]
Message-ID: <20231016092702.288259-1-miquel.raynal@bootlin.com> (raw)
In-Reply-To: <20230922141717.35977-1-r.czerwinski@pengutronix.de>
On Fri, 2023-09-22 at 14:17:16 UTC, Rouven Czerwinski wrote:
> Both the JEDEC and ONFI specification say that read cache sequential
> support is an optional command. This means that we not only need to
> check whether the individual controller supports the command, we also
> need to check the parameter pages for both ONFI and JEDEC NAND flashes
> before enabling sequential cache reads.
>
> This fixes support for NAND flashes which don't support enabling cache
> reads, i.e. Samsung K9F4G08U0F or Toshiba TC58NVG0S3HTA00.
>
> Sequential cache reads are now only available for ONFI and JEDEC
> devices, if individual vendors implement this, it needs to be enabled
> per vendor.
>
> Tested on i.MX6Q with a Samsung NAND flash chip that doesn't support
> sequential reads.
>
> Fixes: 003fe4b9545b ("mtd: rawnand: Support for sequential cache reads")
> Cc: stable@vger.kernel.org
> Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.
Miquel
prev parent reply other threads:[~2023-10-16 9:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-22 14:17 Rouven Czerwinski
2023-09-25 11:01 ` Martin Hundebøll
2023-09-25 15:19 ` Miquel Raynal
2023-09-26 11:27 ` Miquel Raynal
2023-09-27 6:28 ` [EXT] " Domenico Punzo
2023-09-27 7:20 ` Miquel Raynal
2023-09-27 15:05 ` Miquel Raynal
2023-09-28 7:19 ` Martin Hundebøll
2023-10-02 13:49 ` Miquel Raynal
2023-10-03 11:29 ` [EXT] " Domenico Punzo
2023-10-03 11:56 ` Miquel Raynal
2023-10-16 9:27 ` Miquel Raynal [this message]
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=20231016092702.288259-1-miquel.raynal@bootlin.com \
--to=miquel.raynal@bootlin.com \
--cc=eagle.alexander923@gmail.com \
--cc=jaimeliao.tw@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=mans@mansr.com \
--cc=martin@geanix.com \
--cc=r.czerwinski@pengutronix.de \
--cc=richard@nod.at \
--cc=stable@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®