linux-stable/arch/arm/mach-mvebu
Thomas Petazzoni 5686a1e5aa bus: mvebu: pass the coherency availability information at init time
Until now, the mvebu-mbus was guessing by itself whether hardware I/O
coherency was available or not by poking into the Device Tree to see
if the coherency fabric Device Tree node was present or not.

However, on some upcoming SoCs, the presence or absence of the
coherency fabric DT node isn't sufficient: in CONFIG_SMP, the
coherency can be enabled, but not in !CONFIG_SMP.

In order to clean this up, the mvebu_mbus_dt_init() function is
extended to get a boolean argument telling whether coherency is
enabled or not. Therefore, the logic to decide whether coherency is
available or not now belongs to the core SoC code instead of the
mvebu-mbus driver itself, which is much better.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397483228-25625-4-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2014-04-24 05:00:36 +00:00
..
include/mach ARM: mvebu: Simplify headers and make local 2014-02-22 21:19:59 +00:00
armada-370-xp.h ARM: mvebu: move Armada 370/XP specific definitions to armada-370-xp.h 2013-12-27 18:08:19 +00:00
board-t5325.c ARM: kirkwood: Add HP T5325 thin client 2014-02-25 20:32:16 +00:00
board-v7.c bus: mvebu: pass the coherency availability information at init time 2014-04-24 05:00:36 +00:00
board.h ARM: kirkwood: Add HP T5325 thin client 2014-02-25 20:32:16 +00:00
coherency_ll.S ARM: mvebu: support running big-endian 2013-10-19 20:46:34 +01:00
coherency.c ARM: mvebu: add a coherency_available() call 2014-04-24 05:00:36 +00:00
coherency.h ARM: mvebu: add a coherency_available() call 2014-04-24 05:00:36 +00:00
common.h ARM: mvebu: move Armada 370/XP specific definitions to armada-370-xp.h 2013-12-27 18:08:19 +00:00
dove.c bus: mvebu: pass the coherency availability information at init time 2014-04-24 05:00:36 +00:00
headsmp.S ARM: mvebu: support running big-endian 2013-10-19 20:46:34 +01:00
hotplug.c ARM: mvebu: fix some sparse warnings 2013-11-24 03:27:54 +00:00
Kconfig ARM: mvebu: Add a SOC bus device entry 2014-04-24 04:31:03 +00:00
kirkwood-pm.c ARM: mvebu: Simplify headers and make local 2014-02-22 21:19:59 +00:00
kirkwood-pm.h ARM: mvebu: Move kirkwood DT boards into mach-mvebu 2014-02-22 21:19:55 +00:00
kirkwood.c bus: mvebu: pass the coherency availability information at init time 2014-04-24 05:00:36 +00:00
kirkwood.h ARM: mvebu: Simplify headers and make local 2014-02-22 21:19:59 +00:00
Makefile ARM: mvebu: move DT Dove to MVEBU 2014-03-04 04:13:48 +00:00
mvebu-soc-id.c ARM: mvebu: Add a SOC bus device entry 2014-04-24 04:31:03 +00:00
mvebu-soc-id.h ARM: mvebu: Add support to get the ID and the revision of a SoC 2014-01-14 01:59:16 +00:00
platsmp.c ARM: mvebu: fix some sparse warnings 2013-11-24 03:27:54 +00:00
pmsu.c ARM: mvebu: fix some sparse warnings 2013-11-24 03:27:54 +00:00
pmsu.h arm: mvebu: Add initial support for power managmement service unit 2012-11-21 16:49:36 +01:00
system-controller.c ARM: mvebu: add Armada 375 support to the system-controller driver 2014-02-22 00:41:09 +00:00