]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
s390/smp: cleanup core vs. cpu in the SCLP interface
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 18 Jun 2015 12:23:00 +0000 (14:23 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 25 Jun 2015 07:39:24 +0000 (09:39 +0200)
commitd08d94306e9020fad18a5d079b88ba374784eef8
treeb121b154694d198ec6d240b48ffc84d44b4998e2
parente7086eb18119933753fceacfee662307b5e1d1c1
s390/smp: cleanup core vs. cpu in the SCLP interface

The SCLP interface to query, configure and deconfigure CPUs actually
operates on cores. For a machine without the multi-threading faciltiy
a CPU and a core are equivalent but starting with System z13 a core
can have multiple hardware threads, also referred to as logical CPUs.

To avoid confusion replace the word 'cpu' with 'core' in the SCLP
interface. Also replace MAX_CPU_ADDRESS with SCLP_MAX_CORES.
The core-id is an 8-bit field, the maximum thread id is in the range
0-31. The theoretical limit for the CPU address is therefore 8191.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu.h
arch/s390/include/asm/sclp.h
arch/s390/kernel/smp.c
drivers/s390/char/sclp_cmd.c
drivers/s390/char/sclp_early.c