[Skiboot] [PATCH v2 13/14] foo misrouted

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun Sep 10 17:33:29 AEST 2017


---
 hw/xive.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/hw/xive.c b/hw/xive.c
index d8b452e2..07363578 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -3465,11 +3465,6 @@ static void xive_dump_eq(uint32_t eq_blk, uint32_t eq_idx)
 		     eq->w4, eq->w5, eq->w6, eq->w7);
 }
 static int64_t __opal_xive_dump_emu(struct xive_cpu_state *xs, uint32_t pir);
-static void checkstop(void)
-{
-	xscom_writeme(0x05011c02, PPC_BIT(0));
-	for (;;) ;
-}
 
 static bool check_misrouted_ipi(struct cpu_thread *me, uint32_t irq)
 {
@@ -3496,7 +3491,6 @@ static bool check_misrouted_ipi(struct cpu_thread *me, uint32_t irq)
 				     c->xstate->eq_blk, c->xstate->eq_idx + XIVE_EMULATION_PRIO);
 			__opal_xive_dump_emu(me->xstate, me->pir);
 			__opal_xive_dump_emu(c->xstate, c->pir);
-			checkstop();
 			if (xive_get_irq_targetting(xs->ipi_irq, &ipi_target, NULL, NULL))
 				xive_cpu_err(me, "target=%08x\n", ipi_target);
 			else
-- 
2.13.5



More information about the Skiboot mailing list