]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
s390/smp: initialize cpu_present_mask in setup_arch
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 3 Dec 2016 08:48:01 +0000 (09:48 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 7 Dec 2016 06:23:07 +0000 (07:23 +0100)
commitaf51160ebd3cc1c8bf0d37a48f13ac0dbe8a6e5f
tree40771af138b90c55d7baa36c5257fbe16ddd5572
parentebb299a51059017ec253bd30781a83d1f6e11b24
s390/smp: initialize cpu_present_mask in setup_arch

In order to be able to setup the cpu to node mappings early it is a
prerequisite to know which cpus are present. Therefore cpus must be
detected much earlier than before.

For sclp based cpu detection this requires yet another early sclp
call, since the system is not ready to use the regular interrupt and
memory allocations.

Reviewed-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/sclp.h
arch/s390/include/asm/smp.h
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c
drivers/s390/char/sclp.h
drivers/s390/char/sclp_cmd.c
drivers/s390/char/sclp_early.c