RE: [PATCH v6 0/7] nand prefetch-irq support and ecc layout chanage

2010-12-21 Thread Ghorai, Sukumar


 -Original Message-
 From: Charles Manning [mailto:mannin...@actrix.gen.nz]
 Sent: Monday, December 20, 2010 3:16 AM
 To: linux-...@lists.infradead.org
 Cc: Ghorai, Sukumar; linux-omap@vger.kernel.org; linux-arm-
 ker...@lists.infradead.org
 Subject: Re: [PATCH v6 0/7] nand prefetch-irq support and ecc layout
 chanage
 
 On Saturday 27 November 2010 04:34:30 Sukumar Ghorai wrote:
  The following set of patches applies on linux-2.6.
 
  The main motivations behind this patch series are -
  1. support NAND I/O in irq mode.
  2. support of different ECC schema.
  3. also to make ecc layout as like in romcode ecc layout
 
 Why change the ECC layout?
 
 Be very careful when you change ECC layouts. This can break production
 systems.
 
 For example if people are running something earlier and then want to
 deliver a
 new kernel with 2.6.37 then their existing NAND file systems will no
 longer
 be readable.
 
 Changes to ECC should only be done for very good reasons and should be
 controlled with a Kconfig with the default being the existing ECC layout.
 
[Ghorai] we are just adding few ecc-layout(s) and based on the request from 
different customer. The default ecc-layout is the old one for backward 
compatibility and selection of ecc-layput is exposed form board file.  

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v6 0/7] nand prefetch-irq support and ecc layout chanage

2010-12-01 Thread Charles Manning
, 8192 bytes)
[0.049743] TCP established hash table entries: 8192 (order: 4, 65536 
bytes)
[0.049987] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[0.050109] TCP: Hash tables configured (established 8192 bind 8192)
[0.050140] TCP reno registered
[0.050140] UDP hash table entries: 256 (order: 0, 4096 bytes)
[0.050201] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[0.050445] NET: Registered protocol family 1
[0.050537] NetWinder Floating Point Emulator V0.97 (double precision)
[0.054443] msgmni has been set to 501
[0.055175] io scheduler noop registered
[0.055206] io scheduler deadline registered
[0.055328] io scheduler cfq registered (default)
[0.056762] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[0.058959] omap-hsuart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP 
UART0
[0.059387] omap-hsuart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP 
UART1
[0.059783] omap-hsuart.2: ttyO2 at MMIO 0x4902 (irq = 74) is a OMAP 
UART2
[0.565887] console [ttyO2] enabled
[0.582672] brd: module loaded
[0.592285] loop: module loaded
[0.597106] omap2-nand driver initializing
[0.601715] ONFI flash detected
[0.605316] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron )
[0.612548] cmdlinepart partition parsing not available
[0.618011] Creating 10 MTD partitions on omap2-nand.0:
[0.623718] 0x-0x0008 : xloader
[0.630035] 0x0008-0x0010 : uboot
[0.636077] 0x0010-0x0018 : mandata
[0.642242] 0x0018-0x0020 : upgradestate
[0.648895] 0x0020-0x0040 : linux0
[0.655639] 0x0040-0x0060 : linux1
[0.662322] 0x0060-0x0100 : earlyrw
[0.672454] 0x0100-0x0400 : root0
[0.698394] 0x0400-0x0700 : root1
[0.724304] 0x0700-0x1000 : laterw
[0.791564] UBI: attaching mtd7 to ubi0
[0.795562] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[0.802154] UBI: logical eraseblock size:129024 bytes
[0.807830] UBI: smallest flash I/O unit:2048
[0.812744] UBI: sub-page size:  512
[0.817626] UBI: VID header offset:  512 (aligned 512)
[0.823760] UBI: data offset:2048
[0.829162] uncorrectable error : 
[0.832611] UBI error: ubi_io_read: error -74 (ECC error) while reading 512 
bytes from PEB 0:512, read 512 bytes
[0.843872] uncorrectable error : 
[0.847290] UBI error: ubi_io_read: error -74 (ECC error) while reading 512 
bytes from PEB 1:512, read 512 bytes
[0.858398] uncorrectable error : 
[0.861816] UBI error: ubi_io_read: error -74 (ECC error) while reading 512 
bytes from PEB 2:512, read 512 bytes
[0.872924] uncorrectable error : 
[0.876312] UBI error: ubi_io_read: error -74 (ECC error) while reading 512 
bytes from PEB 3:512, read 512 bytes
[0.887420] uncorrectable error : 
[0.890808] UBI error: ubi_io_read: error -74 (ECC error) while reading 512 
bytes from PEB 4:512, read 512 bytes




 Regards,
 Ghorai

  -Original Message-
  From: Ghorai, Sukumar
  Sent: Friday, November 26, 2010 9:05 PM
  To: linux-omap@vger.kernel.org
  Cc: linux-...@lists.infradead.org; linux-arm-ker...@lists.infradead.org;
  Ghorai, Sukumar
  Subject: [PATCH v6 0/7] nand prefetch-irq support and ecc layout chanage
 
  The following set of patches applies on linux-2.6.
 
  The main motivations behind this patch series are -
  1. support NAND I/O in irq mode.
  2. support of different ECC schema.
  3. also to make ecc layout as like in romcode ecc layout
 
 
  v6: configurable transfer type from board file;
  #define irq number used for nand-irq
 
  v5: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg35860.html
  This address the input as to support the irq_chained in GPMC.
  And resend of
  http://www.mail-archive.com/linux-omap@vger.kernel.org/msg35848.html
 
  v4: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg34882.html
  and resend of
  http://www.mail-archive.com/linux-omap@vger.kernel.org/msg32689.html
 
  v3: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg32071.html
  Rebase on latest codebase and previous patch(posted).
  http://www.mail-archive.com/linux-omap@vger.kernel.org/msg31963.html
 
  v2: Rebase on latest codebase and previous patch(posted).
  http://www.mail-archive.com/linux-omap@vger.kernel.org/msg31471.html
 
  v1: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg2.html
 
  Sukumar Ghorai (7):
omap3630: nand: fix device size to work in polled mode
omap3: nand: configurable transfer type per board
omap: gpmc: enable irq mode in gpmc
omap3: nand: prefetch in irq mode support
omap3: nand: configurable fifo threshold to gain the throughput
omap: nand: ecc layout select from board file
omap: nand: making ecc

[PATCH v6 0/7] nand prefetch-irq support and ecc layout chanage

2010-11-26 Thread Sukumar Ghorai
The following set of patches applies on linux-2.6.

The main motivations behind this patch series are -
1. support NAND I/O in irq mode.
2. support of different ECC schema.
3. also to make ecc layout as like in romcode ecc layout


v6: configurable transfer type from board file; 
#define irq number used for nand-irq

v5: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg35860.html
This address the input as to support the irq_chained in GPMC.
And resend of
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg35848.html

v4: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg34882.html
and resend of
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg32689.html

v3: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg32071.html
Rebase on latest codebase and previous patch(posted).
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg31963.html

v2: Rebase on latest codebase and previous patch(posted).
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg31471.html

v1: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg2.html

Sukumar Ghorai (7):
  omap3630: nand: fix device size to work in polled mode
  omap3: nand: configurable transfer type per board
  omap: gpmc: enable irq mode in gpmc
  omap3: nand: prefetch in irq mode support
  omap3: nand: configurable fifo threshold to gain the throughput
  omap: nand: ecc layout select from board file
  omap: nand: making ecc layout as compatible with romcode ecc

 arch/arm/mach-omap2/board-2430sdp.c|1 +
 arch/arm/mach-omap2/board-3430sdp.c|1 +
 arch/arm/mach-omap2/board-3630sdp.c|1 +
 arch/arm/mach-omap2/board-4430sdp.c|2 +
 arch/arm/mach-omap2/board-am3517evm.c  |2 +
 arch/arm/mach-omap2/board-apollon.c|1 +
 arch/arm/mach-omap2/board-cm-t35.c |1 +
 arch/arm/mach-omap2/board-devkit8000.c |1 +
 arch/arm/mach-omap2/board-flash.c  |7 +
 arch/arm/mach-omap2/board-generic.c|2 +
 arch/arm/mach-omap2/board-h4.c |1 +
 arch/arm/mach-omap2/board-igep0020.c   |1 +
 arch/arm/mach-omap2/board-ldp.c|1 +
 arch/arm/mach-omap2/board-n8x0.c   |2 +
 arch/arm/mach-omap2/board-omap3beagle.c|1 +
 arch/arm/mach-omap2/board-omap3evm.c   |2 +
 arch/arm/mach-omap2/board-omap3pandora.c   |2 +
 arch/arm/mach-omap2/board-omap3stalker.c   |1 +
 arch/arm/mach-omap2/board-omap3touchbook.c |1 +
 arch/arm/mach-omap2/board-omap4panda.c |2 +
 arch/arm/mach-omap2/board-overo.c  |1 +
 arch/arm/mach-omap2/board-rx51.c   |1 +
 arch/arm/mach-omap2/board-zoom2.c  |2 +
 arch/arm/mach-omap2/board-zoom3.c  |2 +
 arch/arm/mach-omap2/gpmc.c |   50 -
 arch/arm/mach-omap2/io.c   |2 -
 arch/arm/plat-omap/include/plat/gpmc.h |   16 ++-
 arch/arm/plat-omap/include/plat/irqs.h |9 +-
 arch/arm/plat-omap/include/plat/nand.h |   11 +
 drivers/mtd/nand/Kconfig   |   17 --
 drivers/mtd/nand/omap2.c   |  314 ++--
 31 files changed, 364 insertions(+), 94 deletions(-)

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: [PATCH v6 0/7] nand prefetch-irq support and ecc layout chanage

2010-11-26 Thread Ghorai, Sukumar
Hello Grazvydas  Charles,
Would you please check this series in you setup and please update the status or 
any issue you observe?

Regards,
Ghorai


 -Original Message-
 From: Ghorai, Sukumar
 Sent: Friday, November 26, 2010 9:05 PM
 To: linux-omap@vger.kernel.org
 Cc: linux-...@lists.infradead.org; linux-arm-ker...@lists.infradead.org;
 Ghorai, Sukumar
 Subject: [PATCH v6 0/7] nand prefetch-irq support and ecc layout chanage
 
 The following set of patches applies on linux-2.6.
 
 The main motivations behind this patch series are -
 1. support NAND I/O in irq mode.
 2. support of different ECC schema.
 3. also to make ecc layout as like in romcode ecc layout
 
 
 v6: configurable transfer type from board file;
 #define irq number used for nand-irq
 
 v5: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg35860.html
 This address the input as to support the irq_chained in GPMC.
 And resend of
 http://www.mail-archive.com/linux-omap@vger.kernel.org/msg35848.html
 
 v4: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg34882.html
 and resend of
 http://www.mail-archive.com/linux-omap@vger.kernel.org/msg32689.html
 
 v3: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg32071.html
 Rebase on latest codebase and previous patch(posted).
 http://www.mail-archive.com/linux-omap@vger.kernel.org/msg31963.html
 
 v2: Rebase on latest codebase and previous patch(posted).
 http://www.mail-archive.com/linux-omap@vger.kernel.org/msg31471.html
 
 v1: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg2.html
 
 Sukumar Ghorai (7):
   omap3630: nand: fix device size to work in polled mode
   omap3: nand: configurable transfer type per board
   omap: gpmc: enable irq mode in gpmc
   omap3: nand: prefetch in irq mode support
   omap3: nand: configurable fifo threshold to gain the throughput
   omap: nand: ecc layout select from board file
   omap: nand: making ecc layout as compatible with romcode ecc
 
  arch/arm/mach-omap2/board-2430sdp.c|1 +
  arch/arm/mach-omap2/board-3430sdp.c|1 +
  arch/arm/mach-omap2/board-3630sdp.c|1 +
  arch/arm/mach-omap2/board-4430sdp.c|2 +
  arch/arm/mach-omap2/board-am3517evm.c  |2 +
  arch/arm/mach-omap2/board-apollon.c|1 +
  arch/arm/mach-omap2/board-cm-t35.c |1 +
  arch/arm/mach-omap2/board-devkit8000.c |1 +
  arch/arm/mach-omap2/board-flash.c  |7 +
  arch/arm/mach-omap2/board-generic.c|2 +
  arch/arm/mach-omap2/board-h4.c |1 +
  arch/arm/mach-omap2/board-igep0020.c   |1 +
  arch/arm/mach-omap2/board-ldp.c|1 +
  arch/arm/mach-omap2/board-n8x0.c   |2 +
  arch/arm/mach-omap2/board-omap3beagle.c|1 +
  arch/arm/mach-omap2/board-omap3evm.c   |2 +
  arch/arm/mach-omap2/board-omap3pandora.c   |2 +
  arch/arm/mach-omap2/board-omap3stalker.c   |1 +
  arch/arm/mach-omap2/board-omap3touchbook.c |1 +
  arch/arm/mach-omap2/board-omap4panda.c |2 +
  arch/arm/mach-omap2/board-overo.c  |1 +
  arch/arm/mach-omap2/board-rx51.c   |1 +
  arch/arm/mach-omap2/board-zoom2.c  |2 +
  arch/arm/mach-omap2/board-zoom3.c  |2 +
  arch/arm/mach-omap2/gpmc.c |   50 -
  arch/arm/mach-omap2/io.c   |2 -
  arch/arm/plat-omap/include/plat/gpmc.h |   16 ++-
  arch/arm/plat-omap/include/plat/irqs.h |9 +-
  arch/arm/plat-omap/include/plat/nand.h |   11 +
  drivers/mtd/nand/Kconfig   |   17 --
  drivers/mtd/nand/omap2.c   |  314 ++-
 -
  31 files changed, 364 insertions(+), 94 deletions(-)

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html