diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2018-12-28 12:59:06 +0300 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2019-04-18 13:57:53 +0300 |
commit | 173aec2d5a9fa5f40e462661a8283fcafe04764f (patch) | |
tree | 6dafa4368e598b81be1ee78ead45f93485e44cb3 /arch/s390/include/uapi | |
parent | d668139718a9e2260702777bd8d86d71c30b6539 (diff) | |
download | linux-173aec2d5a9fa5f40e462661a8283fcafe04764f.tar.xz |
KVM: s390: add enhanced sort facilty to cpu model
This enables stfle.150 and adds the subfunctions for SORTL. Bit 150 is
added to the list of facilities that will be enabled when there is no
cpu model involved as sortl requires no additional handling from
userspace, e.g. for migration.
Please note that a cpu model enabled user space can and will have the
final decision on the facility bits for a guests.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Collin Walling <walling@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'arch/s390/include/uapi')
-rw-r--r-- | arch/s390/include/uapi/asm/kvm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/include/uapi/asm/kvm.h b/arch/s390/include/uapi/asm/kvm.h index 09652eabe769..eba5bac08348 100644 --- a/arch/s390/include/uapi/asm/kvm.h +++ b/arch/s390/include/uapi/asm/kvm.h @@ -153,7 +153,8 @@ struct kvm_s390_vm_cpu_subfunc { __u8 ppno[16]; /* with MSA5 */ __u8 kma[16]; /* with MSA8 */ __u8 kdsa[16]; /* with MSA9 */ - __u8 reserved[1792]; + __u8 sortl[32]; /* with STFLE.150 */ + __u8 reserved[1760]; }; /* kvm attributes for crypto */ |