summaryrefslogtreecommitdiffstats
path: root/tools/arch
diff options
context:
space:
mode:
authorJason J. Herne <jjherne@linux.vnet.ibm.com>2017-03-20 09:57:42 -0400
committerChristian Borntraeger <borntraeger@de.ibm.com>2017-04-26 14:19:01 +0200
commite000b8e0968dd7bfa09c444607ce1e48e57aafd3 (patch)
tree0565a2247daeacceb4c272ff2543d944d7785a03 /tools/arch
parent0850e9219bd0d8fc337adb88c350b878f0dcbaa7 (diff)
downloadlinux-stable-e000b8e0968dd7bfa09c444607ce1e48e57aafd3.tar.gz
linux-stable-e000b8e0968dd7bfa09c444607ce1e48e57aafd3.tar.bz2
linux-stable-e000b8e0968dd7bfa09c444607ce1e48e57aafd3.zip
s390: kvm: Cpu model support for msa6, msa7 and msa8
msa6 and msa7 require no changes. msa8 adds kma instruction and feature area. Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'tools/arch')
-rw-r--r--tools/arch/s390/include/uapi/asm/kvm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/arch/s390/include/uapi/asm/kvm.h b/tools/arch/s390/include/uapi/asm/kvm.h
index a2ffec4139ad..7f4fd65e9208 100644
--- a/tools/arch/s390/include/uapi/asm/kvm.h
+++ b/tools/arch/s390/include/uapi/asm/kvm.h
@@ -131,7 +131,8 @@ struct kvm_s390_vm_cpu_subfunc {
__u8 kmo[16]; /* with MSA4 */
__u8 pcc[16]; /* with MSA4 */
__u8 ppno[16]; /* with MSA5 */
- __u8 reserved[1824];
+ __u8 kma[16]; /* with MSA8 */
+ __u8 reserved[1808];
};
/* kvm attributes for crypto */