]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita15aa4eb3d8daa17567b1ca80484a99fbeb67d6a
tree61a5ccf7c29ca00a570c36a8977008a4917470be
parentfd80fd49ab47825ba20009958d298f60057cf367
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