linux/Documentation/devicetree/bindings
Thomas Petazzoni 98ea2dba65 ARM: 8076/1: mm: add support for HW coherent systems in PL310 cache
When a PL310 cache is used on a system that provides hardware
coherency, the outer cache sync operation is useless, and can be
skipped. Moreover, on some systems, it is harmful as it causes
deadlocks between the Marvell coherency mechanism, the Marvell PCIe
controller and the Cortex-A9.

To avoid this, this commit introduces a new Device Tree property
'arm,io-coherent' for the L2 cache controller node, valid only for the
PL310 cache. It identifies the usage of the PL310 cache in an I/O
coherent configuration. Internally, it makes the driver disable the
outer cache sync operation.

Note that technically speaking, a fully coherent system wouldn't
require any of the other .outer_cache operations. However, in
practice, when booting secondary CPUs, these are not yet coherent, and
therefore a set of cache maintenance operations are necessary at this
point. This explains why we keep the other .outer_cache operations and
only ->sync is disabled.

While in theory any write to a PL310 register could cause the
deadlock, in practice, disabling ->sync is sufficient to workaround
the deadlock, since the other cache maintenance operations are only
used in very specific situations.

Contrary to previous versions of this patch, this new version does not
simply NULL-ify the ->sync member, because the l2c_init_data
structures are now 'const' and therefore cannot be modified, which is
a good thing. Therefore, this patch introduces a separate
l2c_init_data instance, called of_l2c310_coherent_data.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-06-29 10:26:37 +01:00
..
arc
arm ARM: 8076/1: mm: add support for HW coherent systems in PL310 cache 2014-06-29 10:26:37 +01:00
ata Merge branch 'for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata 2014-06-09 14:58:36 -07:00
bus Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial into next 2014-06-04 08:50:34 -07:00
c6x
clock This pull request contains the second half the of the clk changes for 2014-06-15 16:02:20 -10:00
cpufreq
crypto crypto: s5p-sss - Add support for SSS module on Exynos 2014-05-08 21:58:14 +08:00
dma Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2014-06-10 10:28:45 -07:00
drm drm/bridge: Add PTN3460 bridge driver 2014-03-24 00:36:37 +09:00
extcon
fb
gpio Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-06-09 18:46:02 -07:00
gpu drm/tegra: dsi - Implement VDD supply support 2014-06-05 23:09:28 +02:00
hid
hsi HSI: Introduce Nokia N900 modem driver 2014-05-16 00:55:42 +02:00
hwmon
hwrng
i2c Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux into next 2014-06-06 12:26:57 -07:00
iio First round of IIO new driver, functionality and cleanups for the 3.16 cycle. 2014-04-26 08:12:25 -07:00
input Input: tsc2005 - add DT support 2014-05-29 00:06:00 -07:00
interrupt-controller Documentation: brcmstb-l2: Add Broadcom STB Level-2 interrupt controller binding 2014-05-27 14:43:36 +00:00
iommu documentation/iommu: Add note on existing DT binding status 2014-05-14 15:25:19 +02:00
leds leds: lp55xx: add DT bindings for LP55231 2014-05-08 14:28:08 +08:00
lpddr2
media Merge branches 'topic/vsp1' and 'topic/adv76xx' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media into next 2014-06-06 11:58:47 -07:00
memory-controllers memory: mvebu-devbus: add a devbus, keep-config property 2014-04-29 13:17:10 +00:00
metag
mfd This pull-request contains some misplaced patches from Tony 2014-06-12 12:42:32 -07:00
mipi
mips
misc dt/bindings: add binding for ARM Versatile character LCD 2014-05-03 19:26:25 -04:00
mmc MMC highlights for 3.16: 2014-06-10 14:35:22 -07:00
mtd MTD updates for 3.16: 2014-06-11 08:35:34 -07:00
net amd-xgbe: AMD 10GbE device bindings documentation 2014-06-05 15:26:51 -07:00
nvec
panel drm/panel: simple - Add AUO B133XTN01 panel support 2014-06-09 12:17:21 +02:00
pci Merge branches 'pci/host-designware', 'pci/host-imx6', 'pci/host-mvebu' and 'pci/host-tegra' into next 2014-06-03 08:45:42 -06:00
phy Documentation: dt: Add new compatible for the A31 USB Phy 2014-05-14 19:41:13 +05:30
pinctrl Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial into next 2014-06-04 08:50:34 -07:00
power Documentation: dt: add bindings for keystone reset driver 2014-05-27 09:46:32 -04:00
power_supply power: reset: Add Axxia system reset driver 2014-05-23 18:18:45 +02:00
powerpc Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2014-06-10 18:54:22 -07:00
pps
pwm Documentation: dt: Add Kona PWM binding 2014-04-28 13:05:18 +02:00
regulator Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial into next 2014-06-04 08:50:34 -07:00
reserved-memory of: document bindings for reserved-memory nodes 2014-03-04 16:44:23 +08:00
reset ARM: SoC driver changes 2014-06-02 16:35:49 -07:00
rng
rtc drivers/rtc/rtc-hym8563.c: add optional clock-output-names property 2014-06-06 16:08:08 -07:00
serial serial: uart: add hw flow control support configuration 2014-05-28 13:04:46 -07:00
serio
soc/qcom soc: qcom: Add device tree binding for GSBI 2014-05-23 11:38:53 -05:00
sound ASoC: Final updates for v3.16 2014-06-03 11:51:14 +02:00
spi Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial into next 2014-06-04 08:50:34 -07:00
spmi spmi: of: fixup generic SPMI devicetree binding example 2014-05-28 13:45:15 -07:00
staging staging: imx-drm: add LVDS666 support for parallel display 2014-04-25 16:11:03 -07:00
thermal Merge branches 'armada-375-380-soc-support', 'eduardo-thermal-soc-fixes', 'intel-soc-dts-thermal' and 'thermal-soc-fixes' of .git into next 2014-05-15 17:18:02 +08:00
timer clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation 2014-05-23 10:12:04 +02:00
ufs
usb DeviceTree for 3.16: 2014-06-04 10:02:38 -07:00
video Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-06-12 11:32:30 -07:00
virtio
w1
watchdog ARM: mvebu: Add A375/A380 watchdog binding documentation 2014-06-10 21:45:23 +02:00
x86
ABI.txt
eeprom.txt
graph.txt Documentation: of: Document graph bindings 2014-03-06 17:41:34 +01:00
marvell.txt
open-pic.txt
resource-names.txt
submitting-patches.txt
vendor-prefixes.txt Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2014-06-10 18:54:22 -07:00
xilinx.txt