KVM: s390: handle missing 64-bit-SCAO facility
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 24 Nov 2015 12:33:49 +0000 (13:33 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 10 Jun 2016 10:07:18 +0000 (12:07 +0200)
commit76a6dd7241ae03c47f44a9605dcd525f31b2124a
treeba19690ca9aedb46e308d156b80fdd36a89f5046
parent4013ade3fb2fefa021827d675d8bc1d51f4aef93
KVM: s390: handle missing 64-bit-SCAO facility

Without that facility, we may only use scaol. So fallback
to DMA allocation in that case, so we won't overwrite random memory
via the SIE.

Also disallow ESCA, so we don't have to handle that allocation case.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c