[Internal Review PATCH] powerpc/pseries: Remap hw to kernel cpu indexes

Michael Bringmann mwb at linux.vnet.ibm.com
Wed Nov 28 07:28:16 AEDT 2018


This should have been posted as RFC.  Will repost.

On 11/26/2018 02:33 PM, Michael Bringmann wrote:
> 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 at linux.vnet.ibm.com>
> 
> 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
> 
> 

-- 
Michael W. Bringmann
Linux Technology Center
IBM Corporation
Tie-Line  363-5196
External: (512) 286-5196
Cell:       (512) 466-0650
mwb at linux.vnet.ibm.com



More information about the Linuxppc-dev mailing list