All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/9] Better solution for the OMAP fix
@ 2021-01-27 20:30 Miquel Raynal
  2021-01-27 20:30 ` [PATCH v3 1/9] mtd: nand: Let ECC engines advertize the exact number of steps Miquel Raynal
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Miquel Raynal @ 2021-01-27 20:30 UTC (permalink / raw)
  To: Richard Weinberger, Vignesh Raghavendra, Tudor Ambarus, linux-mtd
  Cc: Boris Brezillon, Adam Ford, ladis, Miquel Raynal

Hello,

I recently got a bug report regarding the OMAP driver. We fixed it and
merged the fix. This fix was involving accessing BCH internal values
from within the OMAP driver which is far from ideal.

Now that the urgence is gone, here is a series to do it "the proper
way".

Cheers,
Miquèl

Main changes in v3:
* Export the number of ECC steps
* Add a 'get number of ECC bytes per step' helper.

Miquel Raynal (9):
  mtd: nand: Let ECC engines advertize the exact number of steps
  mtd: nand: ecc-bch: Populate the public nsteps field
  mtd: nand: ecc-hamming: Populate the public nsteps field
  mtd: nand: Add a helper to retrieve the number of ECC steps
  mtd: nand: Add a helper to retrieve the number of ECC bytes per step
  mtd: rawnand: Try not to use the ECC private structures
  mtd: rawnand: omap: Use ECC information from the generic structures
  mtd: nand: ecc-bch: Use the public nsteps field
  mtd: nand: ecc-hamming: Use the public nsteps field

 drivers/mtd/nand/ecc-sw-bch.c           | 10 +++++-----
 drivers/mtd/nand/ecc-sw-hamming.c       | 10 +++++-----
 drivers/mtd/nand/raw/nand_base.c        | 16 +++++++---------
 drivers/mtd/nand/raw/omap2.c            | 14 ++++++++------
 include/linux/mtd/nand-ecc-sw-bch.h     |  2 --
 include/linux/mtd/nand-ecc-sw-hamming.h |  2 --
 include/linux/mtd/nand.h                | 22 ++++++++++++++++++++++
 7 files changed, 47 insertions(+), 29 deletions(-)

-- 
2.20.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-03-03 21:56 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 20:30 [PATCH v3 0/9] Better solution for the OMAP fix Miquel Raynal
2021-01-27 20:30 ` [PATCH v3 1/9] mtd: nand: Let ECC engines advertize the exact number of steps Miquel Raynal
2021-02-06 12:59   ` Adam Ford
2021-03-02 16:33   ` Miquel Raynal
2021-01-27 20:30 ` [PATCH v3 2/9] mtd: nand: ecc-bch: Populate the public nsteps field Miquel Raynal
2021-03-02 16:33   ` Miquel Raynal
2021-01-27 20:30 ` [PATCH v3 3/9] mtd: nand: ecc-hamming: " Miquel Raynal
2021-03-02 16:33   ` Miquel Raynal
2021-01-27 20:30 ` [PATCH v3 4/9] mtd: nand: Add a helper to retrieve the number of ECC steps Miquel Raynal
2021-03-02 16:33   ` Miquel Raynal
2021-01-27 20:30 ` [PATCH v3 5/9] mtd: nand: Add a helper to retrieve the number of ECC bytes per step Miquel Raynal
2021-03-02 16:33   ` Miquel Raynal
2021-01-27 20:30 ` [PATCH v3 6/9] mtd: rawnand: Try not to use the ECC private structures Miquel Raynal
2021-03-02 16:33   ` Miquel Raynal
2021-01-27 20:30 ` [PATCH v3 7/9] mtd: rawnand: omap: Use ECC information from the generic structures Miquel Raynal
2021-03-02 16:33   ` Miquel Raynal
2021-01-27 20:30 ` [PATCH v3 8/9] mtd: nand: ecc-bch: Use the public nsteps field Miquel Raynal
2021-03-02 16:33   ` Miquel Raynal
2021-01-27 20:30 ` [PATCH v3 9/9] mtd: nand: ecc-hamming: " Miquel Raynal
2021-03-02 16:33   ` Miquel Raynal

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.