]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00278489 imx: i.mx6d/q: disable the double linefill feature of PL310
authorJason Liu <r64343@freescale.com>
Thu, 5 Sep 2013 23:36:10 +0000 (07:36 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:55:33 +0000 (09:55 +0800)
commitc01060bd5eab600c85e0dbe5b088cce27576a42a
tree822576811dfcefb77aade9a4fe15fe7bd82cb556
parent3b2a490dd275b9972b573ec20e673d8cbbf4b236
ENGR00278489 imx: i.mx6d/q: disable the double linefill feature of PL310

The L2 cache controller(PL310) version on the i.MX6D/Q is r3p1-50rel0
The L2 cache controller(PL310) version on the i.MX6DL/SOLO/SL is r3p2
But according to ARM PL310 errata: 752271
ID: 752271: Double linefill feature can cause data corruption
Fault Status: Present in: r3p0, r3p1, r3p1-50rel0. Fixed in r3p2
Workaround: The only workaround to this erratum is to disable the
double linefill feature. This is the default behavior.

without this patch, you will meet the following error when run the
memtester application at: http://pyropus.ca/software/memtester/

FAILURE: 0x00100000 != 0x00200000 at offset 0x01365664.
FAILURE: 0x00100000 != 0x00200000 at offset 0x01365668.
FAILURE: 0x00100000 != 0x00200000 at offset 0x0136566c.
FAILURE: 0x00100000 != 0x00200000 at offset 0x01365670.
FAILURE: 0x00100000 != 0x00200000 at offset 0x01365674.
FAILURE: 0x00100000 != 0x00200000 at offset 0x01365678.
FAILURE: 0x00100000 != 0x00200000 at offset 0x0136567c.

Signed-off-by: Jason Liu <r64343@freescale.com>
arch/arm/mach-imx/system.c