diff options
author | Jason Cooper <jason@lakedaemon.net> | 2012-11-21 20:02:46 +0000 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-11-21 20:02:46 +0000 |
commit | 32d6448a08bdbe6d22fcff1dfffb8399003282df (patch) | |
tree | 6e41aeca1077b430f2fc82b43463c68bec6478c4 /arch/arm/mach-mvebu/addr-map.c | |
parent | 86b7d3f7797908914735da83eb30df9d81fbd50a (diff) | |
parent | e60304f8cb7bb545e79fe62d9b9762460c254ec2 (diff) | |
download | op-kernel-dev-32d6448a08bdbe6d22fcff1dfffb8399003282df.zip op-kernel-dev-32d6448a08bdbe6d22fcff1dfffb8399003282df.tar.gz |
Merge tag 'marvell-hwiocc-for-3.8' of git://github.com/MISL-EBU-System-SW/mainline-public into mvebu/everything
Add hardware I/O coherency support for Armada 370/XP
The purpose of this patch set is to add hardware I/O Coherency support
for Armada 370 and Armada XP. Theses SoCs come with an unit called
coherency fabric. A beginning of the support for this unit have been
introduced with the SMP patch set. This series extend this support:
the coherency fabric unit allows to use the Armada XP and the Armada
370 as nearly coherent architectures.
The third patches enables this new feature and register our own set
of DMA ops, to benefit this hardware enhancement.
The first patches exports a dma operation function needed to register
our own set of dma ops.
The second patch introduces a new flag for the address decoding
configuration in order to be able to set the memory windows as
shared memory.
Diffstat (limited to 'arch/arm/mach-mvebu/addr-map.c')
-rw-r--r-- | arch/arm/mach-mvebu/addr-map.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/addr-map.c b/arch/arm/mach-mvebu/addr-map.c index fe454a4..595f6b7 100644 --- a/arch/arm/mach-mvebu/addr-map.c +++ b/arch/arm/mach-mvebu/addr-map.c @@ -108,6 +108,9 @@ static int __init armada_setup_cpu_mbus(void) addr_map_cfg.bridge_virt_base = mbus_unit_addr_decoding_base; + if (of_find_compatible_node(NULL, NULL, "marvell,coherency-fabric")) + addr_map_cfg.hw_io_coherency = 1; + /* * Disable, clear and configure windows. */ |