On Mon, Oct 12, 2026 at 09:25:49PM +0530, Srikar Dronamraju wrote:
> diff --git a/arch/powerpc/platforms/pseries/hotplug-cpu.c
> b/arch/powerpc/platforms/pseries/hotplug-cpu.c
> index bc6926dbf148..b5dc942eec63 100644
> --- a/arch/powerpc/platforms/pseries/hotplug-cpu.c
> +++ b/arch/powerpc/platforms/pseries/hotplug-cpu.c
> @@ -402,6 +402,7 @@ static int dlpar_online_cpu(struct device_node *dn)
> if (get_hard_smp_processor_id(cpu) != thread)
> continue;
>
> + find_and_update_cpu_nid(cpu);
> if (!topology_is_primary_thread(cpu)) {
> if (cpu_smt_control != CPU_SMT_ENABLED)
> break;
The fix looks correct to me. As an improvement, would limiting only the primary
thread to making the H_HOME_NODE_ASSOCIATIVITY hcall perhaps be quicker?
The primary thread can then update the nid of its sibling threads?
--Nysal