lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <518397C60809E147AF5323E0420B992E3EA5DFA9@DBDE01.ent.ti.com>
Date:	Wed, 16 Jan 2013 12:22:01 +0000
From:	"Philip, Avinash" <avinashphilip@...com>
To:	"dwmw2@...radead.org" <dwmw2@...radead.org>,
	"artem.bityutskiy@...ux.intel.com" <artem.bityutskiy@...ux.intel.com>,
	"tony@...mide.com" <tony@...mide.com>,
	"rmk+kernel@....linux.org.uk" <rmk+kernel@....linux.org.uk>,
	"grant.likely@...retlab.ca" <grant.likely@...retlab.ca>,
	"rob.herring@...xeda.com" <rob.herring@...xeda.com>,
	"rob@...dley.net" <rob@...dley.net>,
	"zonque@...il.com" <zonque@...il.com>
CC:	"Mohammed, Afzal" <afzal@...com>,
	"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"devicetree-discuss@...ts.ozlabs.org" 
	<devicetree-discuss@...ts.ozlabs.org>,
	"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
	"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	"Nori, Sekhar" <nsekhar@...com>,
	"Hebbar, Gururaja" <gururaja.hebbar@...com>,
	"ivan.djelic@...rot.com" <ivan.djelic@...rot.com>
Subject: RE: [PATCH v4 0/3] mtd: nand: OMAP: ELM error correction support
 for BCH ecc

Hi Artem,

On Fri, Jan 04, 2013 at 13:26:48, Philip, Avinash wrote:
> Support to use ELM as BCH 4 & 8 bit error correction module. Also performance
> enhancement by adding single shot read_page and write_page functions for the
> nand flashes with page size less than 4 KB.
> 
> ELM module can be used to correct errors reported by BCH 4, 8 & 16 bit
> ECC scheme. For now only 4 & 8 bit support is added.
> 
> BCH 4 & 8 bit error detection support is already available in mainline
> kernel and works with software error correction.
> 
> This series is based on linux 3.8-rc2 and tested with [1].
> Also this patch series depend on [1] for NAND flash device
> tree data and gpmc nand device tree binding documentation updates.
> 
> 1. [PATCH v7 0/5] OMAP GPMC DT bindings
> http://www.spinics.net/lists/linux-omap/msg83505.html
> 
> Tested on am335x-evm for BCH 4 and 8 bit error correction.

Can you apply this patch series on l2-mtd tree as it will help RBL compatibility
ecc layout for NAND flash in am335x-platforms and hardware based BCH error
correction.

Thanks
Avinash

> 
> Changes since v1:
> 	- Erased page is identified by checking byte [13/7] in read
> 	  ecc. To filter out bit flips in OOB area, check 0 bits in
> 	  the byte greater than 4.
> 	- GPMC ecc engine configuration moves to omap2.c NAND driver.
> 
> Changes since v2:
> 	- Added runtime detection of elm module, instead of depending
> 	  on platform data.
> 	- Added bit flip correction in OOB ecc data if bit flip happen
> 	  OOB data.
> 
> Changes since v3:
> 	- Availability and usability of ELM module is detected from device
> 	  tree nodes by checking availability of ELM node in device tree.
> 
> Philip Avinash (3):
>   mtd: nand: omap2: Update nerrors using ecc.strength
>   mtd: devices: elm: Add support for ELM error correction
>   mtd: nand: omap2: Support for hardware BCH error correction.
> 
>  Documentation/devicetree/bindings/mtd/elm.txt      |   16 +
>  .../devicetree/bindings/mtd/gpmc-nand.txt          |    4 +
>  drivers/mtd/devices/Makefile                       |    4 +-
>  drivers/mtd/devices/elm.c                          |  405 ++++++++++++++
>  drivers/mtd/nand/omap2.c                           |  583 ++++++++++++++++++--
>  include/linux/platform_data/elm.h                  |   54 ++
>  6 files changed, 1023 insertions(+), 43 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/mtd/elm.txt
>  create mode 100644 drivers/mtd/devices/elm.c
>  create mode 100644 include/linux/platform_data/elm.h
> 
> -- 
> 1.7.9.5
> 
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ