[RFC 0/3] powerpc/pseries: Remap hw to kernel cpu indexes

From: Michael Bringmann
Date: Tue Dec 11 2018 - 17:03:43 EST


Define and apply new interface to map hardware-specific powerpc cpu
ids to a kernel specific range of cpu values. Mapping is intended
to prevent confusion within the kernel about the cpu+node mapping,
and the changes in configuration that may happen due to powerpc LPAR
migration or other associativity changes during the lifetime of a
system. These interfaces exchange the thread_index provided by the
'ibm,ppc-interrupt-server#s' properties, for an internal index to
be used by kernel scheduling interfaces.

Signed-off-by: Michael Bringmann <mwb@xxxxxxxxxxxxxxxxxx>

Michael Bringmann (3):
powerpc/numa: Conditionally online new nodes
powerpc/numa: Define mapping between HW and kernel cpus
powerpc/numa: Apply mapping between HW and kernel cpu