Re: [PATCH] powerpc/numa: Restrict possible nodes based on platform
From: Srikar Dronamraju <hidden>
Date: 2020-07-07 02:57:55
From: Srikar Dronamraju <hidden>
Date: 2020-07-07 02:57:55
* Nathan Lynch [off-list ref] [2020-07-06 19:44:31]:
Tyrel Datwyler [off-list ref] writes:quoted
quoted
--- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c@@ -897,7 +897,7 @@ static void __init find_possible_nodes(void) return; if (of_property_read_u32_index(rtas, - "ibm,max-associativity-domains", + "ibm,current-associativity-domains",I'm not sure ibm,current-associativity-domains is guaranteed to exist on older firmware. You may need check that it exists and fall back to ibm,max-associativity-domains in the event it doesn'tYes. Looks like it's a PowerVM-specific property.
Right, this is just a PowerVM specific property and doesn't affect PowerNV. On PowerNV thought we have sparse nodes, the max possible nodes is set correctly. -- Thanks and Regards Srikar Dronamraju