1
linux/arch/arm/mach-vexpress
Catalin Marinas 1a8e41cd67 ARM: 6395/1: VExpress: Set bit 22 in the PL310 (cache controller) AuxCtlr register
Clearing bit 22 in the PL310 Auxiliary Control register (shared
attribute override enable) has the side effect of transforming Normal
Shared Non-cacheable reads into Cacheable no-allocate reads.

Coherent DMA buffers in Linux always have a Cacheable alias via the
kernel linear mapping and the processor can speculatively load cache
lines into the PL310 controller. With bit 22 cleared, Non-cacheable
reads would unexpectedly hit such cache lines leading to buffer
corruption.

Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: <stable@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-09-17 10:16:52 +01:00
..
include/mach ARM: 6218/1: Versatile Express: add support for local timers on CA9X4 daughterboard 2010-07-09 14:21:51 +01:00
core.h
ct-ca9x4.c ARM: 6395/1: VExpress: Set bit 22 in the PL310 (cache controller) AuxCtlr register 2010-09-17 10:16:52 +01:00
headsmp.S ARM: Add Versatile Express SMP support 2010-05-02 09:35:39 +01:00
Kconfig
localtimer.c ARM: Add Versatile Express SMP support 2010-05-02 09:35:39 +01:00
Makefile ARM: Add Versatile Express SMP support 2010-05-02 09:35:39 +01:00
Makefile.boot
platsmp.c ARM: Add Versatile Express SMP support 2010-05-02 09:35:39 +01:00
v2m.c Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2010-08-03 14:31:24 -07:00