[PATCH RFCv2 5/5] ARM: mvebu: add debugging message indicating the status of I/O coherency
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue May 20 08:35:05 PDT 2014
Since the requirements for I/O coherency to work may not be trivial,
it's useful to have a debugging message that indicates whether the
hardware I/O coherency is enabled or not.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
arch/arm/mach-mvebu/coherency.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-mvebu/coherency.c b/arch/arm/mach-mvebu/coherency.c
index 2a204d0..6fad623 100644
--- a/arch/arm/mach-mvebu/coherency.c
+++ b/arch/arm/mach-mvebu/coherency.c
@@ -363,6 +363,11 @@ int __init coherency_init(void)
type == COHERENCY_FABRIC_TYPE_ARMADA_380)
armada_375_380_coherency_init(np);
+ if (type != COHERENCY_FABRIC_TYPE_NONE)
+ pr_info("hardware I/O coherency enabled\n");
+ else
+ pr_info("hardware I/O coherency disabled\n");
+
return 0;
}
--
1.9.3
More information about the linux-arm-kernel
mailing list