KVM: s390: Enable guest EDAT2 support
authorGuenther Hutzl <hutzl@linux.vnet.ibm.com>
Wed, 18 Feb 2015 10:13:03 +0000 (11:13 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 8 May 2015 13:51:14 +0000 (15:51 +0200)
commit53df84f8de312586e1c05a8f496f614ca814eeff
tree250f5611fa0eda500c4f314f911f604ff4718151
parenta4a4f1916abbbc3148d79a37cf3fe4f3f6c604d9
KVM: s390: Enable guest EDAT2 support

1. Enable EDAT2 in the list of KVM facilities

2. Handle 2G frames in pfmf instruction
If we support EDAT2, we may enable handling of 2G frames if not in 24
bit mode.

3. Enable EDAT2 in sie_block
If the EDAT2 facility is available we enable GED2 mode control in the
sie_block.

Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Guenther Hutzl <hutzl@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/priv.c