Re: [PATCH v3] powerpc/smp: Use nid as fallback for package_id

2020-01-13 Thread Michael Ellerman
Hi Srikar, Still some comments sorry ... Srikar Dronamraju writes: > Package_id is to find out all cores that are part of the same chip. On > PowerNV machines, package_id defaults to chip_id. However ibm,chip_id > property is not present in device-tree of PowerVM Lpars. Hence lscpu > output show

Re: [PATCH v3] powerpc/smp: Use nid as fallback for package_id

2019-12-16 Thread Vasant Hegde
On 12/16/19 7:51 PM, Srikar Dronamraju wrote: Package_id is to find out all cores that are part of the same chip. On PowerNV machines, package_id defaults to chip_id. However ibm,chip_id property is not present in device-tree of PowerVM Lpars. Hence lscpu output shows one core per socket and mult

[PATCH v3] powerpc/smp: Use nid as fallback for package_id

2019-12-16 Thread Srikar Dronamraju
Package_id is to find out all cores that are part of the same chip. On PowerNV machines, package_id defaults to chip_id. However ibm,chip_id property is not present in device-tree of PowerVM Lpars. Hence lscpu output shows one core per socket and multiple cores. To overcome this, use nid as the pa