Messages in this thread | | | From | Miquel Raynal <> | Subject | Re: [PATCH v2] mtd: rawnand: Ensure the nand chip supports cached reads | Date | Mon, 16 Oct 2023 11:27:02 +0200 |
| |
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
| |