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-next>] [day] [month] [year] [list]
Date:	Tue, 5 Aug 2014 13:11:19 +0300
From:	Roger Quadros <rogerq@...com>
To:	<computersforpeace@...il.com>, <tony@...mide.com>
CC:	<balbi@...com>, <ezequiel.garcia@...e-electrons.com>,
	<pekon.gupta@...il.com>, <artem.bityutskiy@...ux.intel.com>,
	<dwmw2@...radead.org>, <jg1.han@...sung.com>,
	<linux-mtd@...ts.infradead.org>, <linux-omap@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>, Roger Quadros <rogerq@...com>
Subject: [PATCH 0/3] [PATCH 0/3] mtd: nand: omap: Use Software ECC by default

Hi,

In Linux v3.12 and earlier some boards [1] used Software based ECC as
the NAND ECC scheme. In 3.13 commit c66d039197e4 changed that to
Hardware ECC using ROM code ECC layout. This will cause NAND filesystems
created in 3.12 and earlier to be unreadable in v3.13 and later till
they are erased and re-created.

This series fixes this issue by using Software ECC as the default ECC
scheme for the affected boards.

Tested on omap3beagle.

[1] - Affected boards
-omap3beagle
-omap3touchbook
-overo
-am3517crane
-devkit8000
-ldp
-3430sdp

cheers,
-roger

---
Roger Quadros (3):
  mtd: nand: omap: Revert to using software ECC by default
  ARM: OMAP2+: GPMC: Support Software ECC scheme via DT
  ARM: dts: omap3430-sdp: Revert to using software ECC for NAND

 Documentation/devicetree/bindings/mtd/gpmc-nand.txt |  2 +-
 arch/arm/boot/dts/omap3430-sdp.dts                  |  2 +-
 arch/arm/mach-omap2/board-flash.c                   |  2 +-
 arch/arm/mach-omap2/gpmc-nand.c                     |  3 ++-
 arch/arm/mach-omap2/gpmc.c                          |  7 +++++--
 drivers/mtd/nand/omap2.c                            | 14 +++++++++++---
 include/linux/platform_data/mtd-nand-omap2.h        | 13 +++++++++++--
 7 files changed, 32 insertions(+), 11 deletions(-)

-- 
1.8.3.2

--
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