浏览代码

s390: Remove 'message security assist' from the list of vital facilities

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>
Thomas Huth 8 年之前
父节点
当前提交
8aa8680aa3
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/s390/tools/gen_facilities.c

+ 0 - 1
arch/s390/tools/gen_facilities.c

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