Skip to contentSkip to conversation

powerpc/xive: Remove incorrect debug code

PATCH Superseded Benjamin Herrenschmidt 1 participant 1 message Nov 1, 2017 PowerPC

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/xive: Remove incorrect debug code

WORD2 if the TIMA isn't byte accessible and isn't that useful to know about, take out the pr_devel statement.

---
 arch/powerpc/sysdev/xive/common.c | 5 -----
 1 file changed, 5 deletions(-)
arch/powerpc/sysdev/xive/common.c +0 -5
index a3b8d7d1316e..838ebdbfe4c5 100644
@@ -1269,11 +1269,6 @@ static void xive_setup_cpu(void)
 {
 	struct xive_cpu *xc = __this_cpu_read(xive_cpu);
 
-	/* Debug: Dump the TM state */
-	pr_devel("CPU %d [HW 0x%02x] VT=%02x\n",
-	    smp_processor_id(), hard_smp_processor_id(),
-	    in_8(xive_tima + xive_tima_offset + TM_WORD2));
-
 	/* The backend might have additional things to do */
 	if (xive_ops->setup_cpu)
 		xive_ops->setup_cpu(smp_processor_id(), xc);
Signature · 1 line
2.13.6