diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2020-03-11 14:18:05 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-03-23 13:41:53 +0100 |
commit | 42d211a1ae3b77008d4190b7dc79ad29b48bbcd2 (patch) | |
tree | ae430b4c228bcbc2ffd4e22494312c66e413a833 /arch/s390/kernel/smp.c | |
parent | s390/mm: optimize page table upgrade routine (diff) | |
download | linux-42d211a1ae3b77008d4190b7dc79ad29b48bbcd2.tar.xz linux-42d211a1ae3b77008d4190b7dc79ad29b48bbcd2.zip |
s390/cpuinfo: show processor physical address
Show CPU physical address as reported by STAP instruction
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/smp.c')
-rw-r--r-- | arch/s390/kernel/smp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index f87d4e14269c..edc1bf39c542 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c @@ -703,6 +703,11 @@ int smp_cpu_get_polarization(int cpu) return pcpu_devices[cpu].polarization; } +int smp_cpu_get_cpu_address(int cpu) +{ + return pcpu_devices[cpu].address; +} + static void __ref smp_get_core_info(struct sclp_core_info *info, int early) { static int use_sigp_detection; |