Skip to content

Commit

Permalink
xive: Force assign BARs
Browse files Browse the repository at this point in the history
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@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
ozbenh authored and stewartsmith committed Feb 2, 2017
1 parent 01e4243 commit 598db01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hw/xive.c
Expand Up @@ -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))
Expand Down

0 comments on commit 598db01

Please sign in to comment.