Skip to content

mtd: devices: elm: add checks ELM H/W constrains, driver code cleanup

Pekon Gupta linux-mtd 5 versions – Applied

Status from this message: Pushed to l2-mtd.git. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest posting 2/24 patches 2 repliesApplied
  2. v8 posting 1/24 patches 1 replySuperseded
  3. v74 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v64 patches8 repliesSuperseded
v54 patches4 repliesSuperseded

Patches in v8 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/4mtd: devices: elm: check for hardware engine's design constraintsdrivers/mtd/devices/elm.c drivers/mtd/nand/omap2.c include/linux/platform_data/elm.h+20 -50 replies
2/4mtd: devices: elm: clean elm_load_syndromedrivers/mtd/devices/elm.c include/linux/platform_data/elm.h+11 -140 replies
3/4mtd: devices: elm: configure parallel channels based on ecc_stepsdrivers/mtd/devices/elm.c+5 -30 replies
4/4mtd: devices: elm: update DRIVER_NAME as "omap-elm"drivers/mtd/devices/elm.c+3 -10 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEzequiel Garcia
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/4] mtd: devices: elm: add checks ELM H/W constrains, driver code cleanup

*changes v7 -> v8*
Incorporated feedbacks from Brian Norris <[email protected]>
- renamed ecc_step_bytes -> ecc_syndrome_size

*changes v6 -> v7*
Incorporated feedbacks from Ezequiel Garcia <[email protected]>
- using dev_err() instead of pr_err()
- moved un-related addition of info->ecc_steps, info->ecc_step_bytes, info->ecc_step_size from [PATCH v6 1/4] into subsequent patches
- dropped pr_fmt() change

*changes v5 -> v6*
[PATCH 02/04] minor cleanup

*changes v4 -> v5*
This patch series is split version from earlier series [1].
This series refactors and cleans ELM driver which is used by Hardware based BCHx ecc-schemes.
- Undo: introduction of 'struct mtd_info' and 'struct nand_chip'. Instead keep ELM driver independent of mtd_info and nand_chip structs and pass only required ECC configurations as elm_config() arguments elm_config(..., int ecc_steps, int ecc_step_size, int ecc_step_bytes)
- Undo: re-writing of elm_load_syndrome() ECC register configurations.

*changes v3 -> v4 [1]*
- in-corporated feedbacks from Brian Norris <[email protected]>
- updated: use 'pr_fmt(fmt)' to suffix DRIVER_NAME
- removed: local 'eccsteps' in ELM driver, instead using nand_chip->ecc.steps
- undo: irrelavant white-space changes

[1] http://lists.infradead.org/pipermail/linux-mtd/2013-November/050242.html

Pekon Gupta (4):
mtd: devices: elm: check for hardware engine's design constraints
mtd: devices: elm: clean elm_load_syndrome
mtd: devices: elm: configure parallel channels based on ecc_steps
mtd: devices: elm: update DRIVER_NAME as "omap-elm"

 drivers/mtd/devices/elm.c         | 43 ++++++++++++++++++++++++++++-----------
 drivers/mtd/nand/omap2.c          |  9 +++++---
 include/linux/platform_data/elm.h | 10 ++-------
 3 files changed, 39 insertions(+), 23 deletions(-)
Signature · 1 line
1.8.5.1.163.gd7aced9