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

2019-11-15 Thread Srikar Dronamraju
Hey Michael, * Srikar Dronamraju [2019-08-22 20:08:53]: > 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

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

2019-08-22 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