u-boot-brain/arch/arm
Fabio Estevam b4ed9f86df mx6: Set shared override bit in PL310 AUX_CTRL register
Having bit 22 cleared 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.

This was inspired by a patch from Catalin Marinas [1] and also from recent
discussions in the linux-arm-kernel list [2] where Russell King and Rob Herring
suggested that bootloaders should initialize the cache.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2010-November/031810.html
[2] https://lkml.org/lkml/2015/2/20/199

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
2015-05-15 19:21:24 +02:00
..
cpu mx6: Set shared override bit in PL310 AUX_CTRL register 2015-05-15 19:21:24 +02:00
dts odroid: dts: add 'voltage-regulators' description to max77686 node 2015-05-14 19:57:57 -06:00
imx-common imx: dek_blob: Add explicit include for mapmem 2015-05-15 19:20:48 +02:00
include mx6: Set shared override bit in PL310 AUX_CTRL register 2015-05-15 19:21:24 +02:00
lib arch/arm/lib/bootm-fdt.c: Guard the include of <asm/armv7.h> 2015-05-14 11:07:03 -04:00
mach-at91 ARM: at91: remove non-generic boards 2015-05-13 13:01:25 +02:00
mach-bcm283x arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-davinci arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-keystone arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-kirkwood arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-mvebu arm: mvebu: Remove "u-boot.kwb" CONFIG_BUILD_TARGET for non-SPL targets 2015-05-05 14:32:05 +02:00
mach-nomadik arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-orion5x arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-socfpga arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-tegra ARM: tegra: move NVIDIA common files to arch/arm/mach-tegra 2015-05-13 09:46:19 -07:00
mach-uniphier arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-versatile ARM: versatile: move SoC sources to mach-versatile 2015-02-21 08:23:51 -05:00
mach-zynq arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mvebu-common arm: mvebu: Move mvebu-common into mach-mvebu 2015-05-05 14:28:29 +02:00
config.mk arm: Include the .got section in the binary 2015-05-14 18:49:34 -06:00
Kconfig hummingboard: Remove mx6solo specific support 2015-05-15 19:21:23 +02:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile ARM: socfpga: move SoC sources to mach-socfpga 2015-05-07 05:21:12 +02:00