linux/arch/arm/mach-s5pv310
Changhwan Youn a50eb1c768 ARM: S5PV310: Set bit 22 in the PL310 (cache controller) AuxCtlr register
This patch is applied according to the commit 1a8e41cd67
(ARM: 6395/1: VExpress: Set bit 22 in the PL310 (cache controller) AuxCtlr register).

Actually, S5PV310 has same cache controller(PL310).

Following is from Catalin Marinas' commit.

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.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Cc: <stable@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
2010-12-30 09:37:02 +09:00
..
include/mach Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into devel-stable 2010-10-28 12:27:34 +01:00
clock.c ARM: S5PV310: Add support RTC 2010-10-21 07:52:17 +09:00
cpu.c ARM: S5PV310: Set bit 22 in the PL310 (cache controller) AuxCtlr register 2010-12-30 09:37:02 +09:00
gpiolib.c ARM: S5PV310: Add support GPIOlib 2010-10-25 16:06:33 +09:00
headsmp.S ARM: S5PV310: Add new CPU initialization support 2010-08-05 18:32:41 +09:00
hotplug.c ARM: S5PV310: Add CPU hotplug support for S5PV310 2010-10-21 07:52:15 +09:00
init.c ARM: S5PV310: Add new CPU initialization support 2010-08-05 18:32:41 +09:00
irq-combiner.c ARM: S5PV310: Optimize interrupt source searching code 2010-10-21 07:52:18 +09:00
irq-eint.c ARM: S5PV310: Add support External Interrupt 2010-10-25 16:11:28 +09:00
Kconfig ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support 2010-10-25 16:03:43 +09:00
localtimer.c ARM: S5PV310: Add Timer support 2010-08-05 18:32:42 +09:00
mach-smdkc210.c ARM: S5PV310: Support ethernet for SMDKV310 and SMDKC210 2010-10-26 12:51:17 +09:00
mach-smdkv310.c Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into devel-stable 2010-10-28 12:27:34 +01:00
mach-universal_c210.c Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into devel-stable 2010-10-28 12:27:34 +01:00
Makefile ARM: S5PV310: Add support External Interrupt 2010-10-25 16:11:28 +09:00
Makefile.boot ARM: S5PV310: Add new Kconfig and Makefiles 2010-08-05 18:32:42 +09:00
platsmp.c ARM: S5PV310: Fix on Secondary CPU startup 2010-08-27 18:29:58 +09:00
setup-i2c0.c ARM: S5PV310: Change to using s3c_gpio_cfgall_range() 2010-10-23 11:50:42 +09:00
setup-i2c1.c ARM: S5PV310: Change to using s3c_gpio_cfgall_range() 2010-10-23 11:50:42 +09:00
setup-i2c2.c ARM: S5PV310: Change to using s3c_gpio_cfgall_range() 2010-10-23 11:50:42 +09:00
setup-i2c3.c ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support 2010-10-25 16:03:43 +09:00
setup-i2c4.c ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support 2010-10-25 16:03:43 +09:00
setup-i2c5.c ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support 2010-10-25 16:03:43 +09:00
setup-i2c6.c ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support 2010-10-25 16:03:43 +09:00
setup-i2c7.c ARM: S5PV310: Add I2C channel 3, 4, 5, 6, and 7 device support 2010-10-25 16:03:43 +09:00
setup-sdhci-gpio.c ARM: S5PV310: Add support HSMMC and SDHCI configuration 2010-10-25 16:02:20 +09:00
setup-sdhci.c ARM: S5PV310: Add support HSMMC and SDHCI configuration 2010-10-25 16:02:20 +09:00
time.c ARM: S5PV310: Add Timer support 2010-08-05 18:32:42 +09:00