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-10-09 14:18:10 +02:00
2012-09-26 15:45:09 +02:00
2012-03-28 18:30:02 +01:00
2008-12-25 13:39:06 +01:00
2012-03-11 11:59:29 -04:00
2012-09-26 15:45:00 +02:00
2011-12-27 11:27:12 +01:00
2010-06-09 11:12:36 +02:00
2012-07-24 12:01:20 -07:00
2012-09-26 15:44:57 +02:00
2009-06-12 10:27:31 +02:00
2012-10-09 14:18:10 +02:00
2012-07-03 14:55:37 -03:00
2012-10-01 09:58:13 -04:00