[Skiboot] [PATCH 10/21] xive: Fix comments in xive_get_ive()

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Nov 14 13:06:10 AEDT 2016


Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
 hw/xive.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/hw/xive.c b/hw/xive.c
index a819716..3759049 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -490,15 +490,12 @@ static struct xive_ive *xive_get_ive(struct xive *x, unsigned int isn)
 	}
 	assert (idx < MAX_INT_ENTRIES);
 
-	/* XXX If we support >1 block per chip, fix this */
+	/* If we support >1 block per chip, this should still work as
+	 * we are likely to make the table contiguous anyway
+	 */
 	ivt = x->ivt_base;
 	assert(ivt);
 
-	// XXX DBG
-	if (ivt[idx].w != 0)
-		xive_vdbg(x, "xive_get_ive(isn %x), idx=0x%x IVE=%016llx\n",
-			  isn, idx, ivt[idx].w);
-
 	return ivt + idx;
 }
 
-- 
2.7.4



More information about the Skiboot mailing list