Thread (29 messages) 29 messages, 2 authors, 2014-06-28
STALE4369d

[PATCH RFCv2 5/5] ARM: mvebu: add debugging message indicating the status of I/O coherency

From: Thomas Petazzoni <hidden>
Date: 2014-05-20 15:35:05
Subsystem: arm port, arm/marvell kirkwood and armada 370, 375, 38x, 39x, xp, 3700, 7k/8k, cn9130 soc support, the rest · Maintainers: Russell King, Andrew Lunn, Gregory Clement, Sebastian Hesselbarth, Linus Torvalds

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 <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help