[Skiboot] [PATCH 10/13] xive: Force assign BARs
Benjamin Herrenschmidt
benh at kernel.crashing.org
Mon Jan 16 15:36:32 AEDT 2017
For the same reason as PHBs ... we need to move that to
a common module controlling the address map.
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
hw/xive.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/xive.c b/hw/xive.c
index 5d1b13e..86b5917 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -1562,8 +1562,12 @@ static bool xive_check_update_bars(struct xive *x)
return false;
/* Check if device-tree tells us to force-assign the BARs */
+#if 0
force_assign = dt_has_node_property(x->x_node,
"force-assign-bars", NULL);
+#else
+ force_assign = true;
+#endif
if ((val & CQ_IC_BAR_VALID) && !force_assign) {
xive_dbg(x, "IC BAR valid, using existing values\n");
if (!xive_read_bars(x))
--
2.9.3
More information about the Skiboot
mailing list