summaryrefslogtreecommitdiff
path: root/arch/s390/tools
diff options
context:
space:
mode:
authorJason J. Herne <jjherne@linux.vnet.ibm.com>2017-02-24 18:01:30 +0300
committerChristian Borntraeger <borntraeger@de.ibm.com>2017-08-28 17:25:13 +0300
commitb697e435aeee99b7f5b2d8f8dbb51f791be99b16 (patch)
treef9747db8443e983238de4cc8892bb21472ddf200 /arch/s390/tools
parentccc59f47b6f9770ef768ada0ac5993de5f608d11 (diff)
downloadlinux-b697e435aeee99b7f5b2d8f8dbb51f791be99b16.tar.xz
KVM: s390: Support Configuration z/Architecture Mode
kvm has always supported the concept of starting in z/Arch mode so let's reflect the feature bit to the guest. Also, we change sigp set architecture to reject any request to change architecture modes. Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/tools')
-rw-r--r--arch/s390/tools/gen_facilities.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/tools/gen_facilities.c b/arch/s390/tools/gen_facilities.c
index 025ea20fc4b4..181db5b8f8b3 100644
--- a/arch/s390/tools/gen_facilities.c
+++ b/arch/s390/tools/gen_facilities.c
@@ -80,6 +80,7 @@ static struct facility_def facility_defs[] = {
78, /* enhanced-DAT 2 */
130, /* instruction-execution-protection */
131, /* enhanced-SOP 2 and side-effect */
+ 138, /* configuration z/architecture mode (czam) */
146, /* msa extension 8 */
-1 /* END */
}