[Skiboot] [PATCH v2 12/12] hdat: Remove deprecated 'ibm, mem-interleave-scope' from DT

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Sun Oct 30 01:36:35 AEDT 2016


Memory interleaving scope under PCIA strcture is deprecated on P9.
Also I don't see anyone in OPAL/kernel using this property.
Hence remove this property from P9 DT.

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 hdata/spira.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hdata/spira.c b/hdata/spira.c
index 14efb91..9b1d686 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -369,8 +369,10 @@ static void add_xscom_add_pcia_assoc(struct dt_node *np, uint32_t pcid)
 		if (!dt_find_property(np, "ibm,dbob-id"))
 			dt_add_property_cells(np, "ibm,dbob-id",
 				  be32_to_cpu(id->drawer_book_octant_blade_id));
-		dt_add_property_cells(np, "ibm,mem-interleave-scope",
+		if (proc_gen < proc_gen_p9) {
+			dt_add_property_cells(np, "ibm,mem-interleave-scope",
 			          be32_to_cpu(id->memory_interleaving_scope));
+		}
 		return;
 	}
 }
-- 
2.5.5



More information about the Skiboot mailing list