2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-15 16:53:54 +08:00
linux-next/drivers/mtd/nand
Kishore Kadiyala c5d8c0cae4 mtd: omap: fix subpage ecc issue with prefetch
When reading/writing a subpage (When HW ECC is not available/enabled)
for number of bytes not aligned to 4, the mis-aligned bytes are handled
first (by cpu copy method) before enabling the Prefetch engine to/from
'p'(start of buffer 'buf'). Then it reads/writes rest of the bytes with
the help of Prefetch engine, if available, or again using cpu copy method.
Currently, reading/writing of rest of bytes, is not done correctly since
its trying to read/write again to/from begining of buffer 'buf',
overwriting the mis-aligned bytes.

Read & write using prefetch engine got broken in commit '2c01946c'.
We never hit a scenario of not getting 'gpmc_prefetch_enable' call
success. So, problem did not get caught up.

Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Signed-off-by: Vimal Singh <vimal.newwork@gmail.com>
Reported-by: Bryan DE FARIA <bdefaria@adeneo-embedded.com>
Cc: stable@kernel.org [2.6.35+]
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-05-25 02:03:37 +01:00
..
alauda.c mtd: nand: make USB device id constant 2010-02-25 11:26:31 +00:00
ams-delta.c Fix common misspellings 2011-03-31 11:26:23 -03:00
atmel_nand_ecc.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
atmel_nand.c mtd: atmel_nand: add missing include of linux/dmaengine.h 2011-05-25 01:53:27 +01:00
au1550nd.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2010-03-26 14:55:59 +00:00
autcpu12.c Fix common misspellings 2011-03-31 11:26:23 -03:00
bcm_umi_bch.c mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
bcm_umi_nand.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2010-05-10 14:32:46 +01:00
bf5xx_nand.c mtd: Blackfin NFC: fix badblock location with BootROM OOB 2010-10-25 01:15:22 +01:00
cafe_nand.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
cmx270_nand.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cs553x_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
davinci_nand.c mtd: DaVinci: Removed header file that is not required 2011-03-11 14:23:36 +00:00
denali.c mtd: denali: detect the number of banks 2011-05-25 02:02:12 +01:00
denali.h mtd: denali: detect the number of banks 2011-05-25 02:02:12 +01:00
diskonchip.c Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
edb7312.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
fsl_elbc_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
fsl_upm.c dt: Eliminate of_platform_{,un}register_driver 2011-02-28 13:22:46 -07:00
fsmc_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
gpio.c mtd: drivers/mtd/nand/gpio.c: use resource_size() 2009-12-31 20:47:01 +00:00
h1910.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
jz4740_nand.c mtd: NAND: jz4740: Remove custom {read,write}_page handlers 2010-12-03 16:29:45 +00:00
Kconfig Fix common misspellings 2011-03-31 11:26:23 -03:00
Makefile mtd: nand: add software BCH ECC support 2011-03-11 17:49:08 +00:00
mpc5121_nfc.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-linus-1 2011-03-25 17:41:20 +02:00
mxc_nand.c mtd: mxc_nand: add support for multiple chips on V21 devices 2011-05-25 01:47:08 +01:00
nand_base.c mtd: return badblockbits back 2011-05-25 02:01:22 +01:00
nand_bbt.c mtd: nand: dynamic allocation of flash-based BBT structs 2011-05-25 01:50:14 +01:00
nand_bch.c mtd: nand: add software BCH ECC support 2011-03-11 17:49:08 +00:00
nand_bcm_umi.c mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
nand_bcm_umi.h mtd: nand_bcm: fix hot spin and code duplication 2010-02-26 16:56:35 +00:00
nand_ecc.c Merge git://git.infradead.org/mtd-2.6 2009-12-16 10:23:43 -08:00
nand_ids.c mtd: nand: support new Toshiba SLC 2010-10-24 23:38:30 +01:00
nandsim.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ndfc.c mtd: nand: ndfc: add multiple chip select support 2011-05-25 02:01:14 +01:00
nomadik_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
nuc900_nand.c mtd: nand: rename w90p910_nand.c to nuc900_nand.c 2010-01-01 12:16:47 +00:00
omap2.c mtd: omap: fix subpage ecc issue with prefetch 2011-05-25 02:03:37 +01:00
orion_nand.c mtd: orion/kirkwood: add RnB line support to orion mtd driver 2010-05-14 01:04:19 +01:00
pasemi_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
plat_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ppchameleonevb.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
pxa3xx_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
r852.c Fix common misspellings 2011-03-31 11:26:23 -03:00
r852.h mtd: r852: remove useless pci powerup/down from suspend/resume routines 2010-10-25 01:32:21 +01:00
rtc_from4.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
s3c2410.c mtd: nand: fix S3C NAND clock stop 2011-05-25 01:53:10 +01:00
sh_flctl.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sharpsl.c [MTD] sharpsl-nand: move registration to board code 2008-10-29 21:08:37 +03:00
sm_common.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sm_common.h mtd: sm_common: split smartmedia and xD table 2010-05-14 01:03:46 +01:00
socrates_nand.c dt: Eliminate of_platform_{,un}register_driver 2011-02-28 13:22:46 -07:00
spia.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
tmio_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
txx9ndfmc.c mtd: txx9ndfmc: limit transfer bytes to 512 (ECC provides 6 bytes max) 2011-01-06 15:29:12 +00:00