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

Gupta, Pekon pekon at ti.com
Tue Mar 11 07:57:14 EDT 2014


Hi,

>From: Lee Jones [mailto:lee.jones at linaro.org]
>> >> *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 <computersforpeace at gmail.com>
>> >>  - 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 constrains
>> >>   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         | 44 +++++++++++++++++++++++++++++----------
>> >>  drivers/mtd/nand/omap2.c          |  9 +++++---
>> >>  include/linux/platform_data/elm.h | 10 ++-------
>> >>  3 files changed, 41 insertions(+), 22 deletions(-)
>> >
>> >I can't seem to be able to apply this set. What kernel release it is
>> >based on?
>> >
>> This is rebased on l2-mtd/master. You can also pull from [1]
>>
>> [1] http://git.ti.com/~pekon/connectivity-integration-tree/pekons-connectivity-ti-linux-kernel/commits/l2-mtd/bch16_support
>
>I'm sorry I'm not familiar with the l2-mtd tree. Which upstream
>commit are these patches applied on top of?
>
These are rebased on following tree for linux-mtd subsystem.
	git://git.infradead.org/users/dedekind/l2-mtd.git
	which is I think based on upstream tag of "v3.14-rc1"

If you still see conflicts (especially in drivers/mtd/nand/omap2.c) then
Please pull in following previous patches series in given order
(though each of following is functionally independently).

(0) http://lists.infradead.org/pipermail/linux-mtd/2014-February/052068.html

(1) [PATCH v8 0/6] mtd: nand: omap: optimized chip->ecc.correct() for H/W ECC schemes
  http://lists.infradead.org/pipermail/linux-mtd/2014-February/052092.html

(2) [PATCH v6 0/4] mtd: nand: omap: optimize chip->ecc.calculate() for H/W ECC schemes
  http://lists.infradead.org/pipermail/linux-mtd/2014-February/052272.html

(3) [PATCH v5 0/4] mtd: nand: omap: optimize chip->ecc.hwctl() for H/W ECC schemes
  http://lists.infradead.org/pipermail/linux-mtd/2014-March/052327.html

 (4) [PATCH v6 0/4] mtd: devices: elm: add checks ELM H/W constrains, driver code cleanup
  http://lists.infradead.org/pipermail/linux-mtd/2014-March/052455.html
 
with regards, pekon


More information about the linux-mtd mailing list