KVM: s390: add deflate conversion facilty to cpu model
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 28 Dec 2018 09:46:04 +0000 (10:46 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 25 Apr 2019 06:24:17 +0000 (02:24 -0400)
commit4f45b90e1c03466202fca7f62eaf32243f220830
tree61a5ccf7c29ca00a570c36a8977008a4917470be
parent173aec2d5a9fa5f40e462661a8283fcafe04764f
KVM: s390: add deflate conversion facilty to cpu model

This enables stfle.151 and adds the subfunctions for DFLTCC. Bit 151 is
added to the list of facilities that will be enabled when there is no
cpu model involved as DFLTCC 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