Heiko Carstens 658e5ce705 s390/topology: fix core id vs physical package id mix-up
The current topology code confuses core id vs physical package id.

In other words /sys/devices/system/cpu/cpuX/topology/core_id
displays the physical_package_id (aka socket id) instead of the
core id.
The physical_package_id sysfs attribute always displays "-1"
instead of the socket id.

Fix this mix-up with a small patch which defines and initializes
topology_physical_package_id correctly and fixes the broken
core id handling.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2012-11-12 16:24:38 +01:00
..
2012-05-16 14:42:41 +02:00
2011-01-05 12:47:31 +01:00
2012-10-04 09:30:33 -07:00
2012-09-26 15:45:24 +02:00
2012-09-26 15:45:21 +02:00
2012-11-06 22:39:51 +01:00
2012-03-28 18:30:02 +01:00