From 598db01e44442b4f07b2bf22eaef2fa5db243f19 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sun, 15 Jan 2017 22:36:32 -0600 Subject: [PATCH] xive: Force assign BARs For the same reason as PHBs ... we need to move that to a common module controlling the address map. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Stewart Smith --- hw/xive.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/xive.c b/hw/xive.c index 8669eb91c4a1..18e0bb73c351 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))