linux/arch/arm/mach-kirkwood
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: SoC: driver changes 2014-04-05 15:37:40 -07:00
board-dt.c bus: mvebu: pass the coherency availability information at init time 2014-04-24 05:00:36 +00:00
common.c ARM: orion: Move cache-feroceon-l2.h out of plat-orion 2014-02-22 20:43:15 +00:00
common.h ARM: kirkwood: Convert mv88f6281gtw_ge switch setup to DT 2014-02-22 20:39:06 +00:00
d2net_v2-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
irq.c
Kconfig ARM: kirkwood: Convert mv88f6281gtw_ge switch setup to DT 2014-02-22 20:39:06 +00:00
lacie_v2-common.c misc: (at24) move header to linux/platform_data/ 2013-09-30 06:02:34 +02:00
lacie_v2-common.h
Makefile ARM: kirkwood: Separate board-dt from common and pcie code. 2014-02-22 20:40:42 +00:00
Makefile.boot
mpp.c ARM: Kirkwood: handle mv88f6282 cpu in __kirkwood_variant(). 2013-06-06 18:16:04 +00:00
mpp.h
netxbig_v2-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
openrd-setup.c arch/arm/mach-kirkwood: Avoid using ARRAY_AND_SIZE(e) as a function argument 2013-08-12 19:10:23 +00:00
pcie.c ARM: kirkwood: Move to ID based MBus window creation 2013-08-06 14:10:05 +00:00
pm.c ARM: kirkwood: ioremap memory control register 2014-02-22 20:41:53 +00:00
pm.h ARM: kirkwood: Give pm.c its own header file. 2014-02-22 20:38:22 +00:00
rd88f6192-nas-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
rd88f6281-setup.c arch/arm/mach-kirkwood: Avoid using ARRAY_AND_SIZE(e) as a function argument 2013-08-12 19:10:23 +00:00
t5325-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
ts41x-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
ts219-setup.c Kirkwood: Enable PCIe port 1 on QNAP TS-11x/TS-21x 2013-05-13 15:57:29 +00:00
tsx1x-common.c
tsx1x-common.h