s390/alternative: use a copy of the facility bit mask
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 16 Jan 2018 06:03:44 +0000 (07:03 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 5 Feb 2018 12:49:16 +0000 (13:49 +0100)
commitcf1489984641369611556bf00c48f945c77bcf02
treedb97d15f77022fd35bea4f20274efa965bb5230f
parente2dd833389cc4069a96b57bdd24227b5f52288f5
s390/alternative: use a copy of the facility bit mask

To be able to switch off specific CPU alternatives with kernel parameters
make a copy of the facility bit mask provided by STFLE and use the copy
for the decision to apply an alternative.

Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/facility.h
arch/s390/include/asm/lowcore.h
arch/s390/kernel/alternative.c
arch/s390/kernel/early.c
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c