KVM: s390: add enhanced sort facilty to cpu model
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 28 Dec 2018 09:59:06 +0000 (10:59 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 18 Apr 2019 10:57:53 +0000 (12:57 +0200)
commit173aec2d5a9fa5f40e462661a8283fcafe04764f
tree6dafa4368e598b81be1ee78ead45f93485e44cb3
parentd668139718a9e2260702777bd8d86d71c30b6539
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>
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/kvm-s390.c
arch/s390/tools/gen_facilities.c