[Skiboot] [PATCH] phb4: Always assign powerbus BARs

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Jan 16 15:41:31 AEDT 2017


On FSP machines, HostBoot configure them with weird values that
confuse us, instead let's just own the assignment. This is temporary,
I will centralize memory map management next but this gets us going.

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
 hw/phb4.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hw/phb4.c b/hw/phb4.c
index 78f167f..e1ff10c 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -3309,8 +3309,12 @@ static void phb4_probe_stack(struct dt_node *stk_node, uint32_t pec_index,
 	      gcid, pec_index, stk_index, path);
 	free(path);
 
+#if 0
 	force_assign = dt_has_node_property(stk_node,
 					    "force-assign-bars", NULL);
+#else
+	force_assign=1;
+#endif
 
 	pci_stack = pci_base + 0x40 * (stk_index + 1);
 	nest_stack = nest_base + 0x40 * (stk_index + 1);



More information about the Skiboot mailing list