s390: Remove 'message security assist' from the list of vital facilities
authorThomas Huth <thuth@redhat.com>
Mon, 22 May 2017 15:20:53 +0000 (17:20 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 14:25:59 +0000 (16:25 +0200)
The code in arch/s390/crypto checks for the availability of the
'message security assist' facility on its own, either by using
module_cpu_feature_match(MSA, ...) or by checking the facility
bit during cpacf_query(). Thus setting the MSA facility bit in
gen_facilities.c as hard requirement is not necessary. We can
remove it here, so that the kernel can also run on systems that
do not provide the MSA facility yet (like the emulated environment
of QEMU, for example).

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/tools/gen_facilities.c

index be63fbd699fd65be53478cc89d9204c7aea1b3f2..cfe3f76bc2debdfd4c1f3125331664857f8987c2 100644 (file)
@@ -35,7 +35,6 @@ static struct facility_def facility_defs[] = {
 #endif
 #ifdef CONFIG_HAVE_MARCH_Z9_109_FEATURES
                        7,  /* stfle */
-                       17, /* message security assist */
                        21, /* extended-immediate facility */
                        25, /* store clock fast */
 #endif