]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Enable vector support for capable guest
authorEric Farman <farman@linux.vnet.ibm.com>
Wed, 30 Apr 2014 17:39:46 +0000 (13:39 -0400)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 6 Mar 2015 12:49:35 +0000 (13:49 +0100)
commit4cb784db073d3c63362d8a426aed96b0412cb119
treebbaabf7f0ff3f8df71c38c0d507315b2aed14993
parentf75fd8665c9132782adfabe17b912ee0f24a25c8
KVM: s390: Enable vector support for capable guest

We finally have all the pieces in place, so let's include the
vector facility bit in the mask of available hardware facilities
for the guest to recognize.  Also, enable the vector functionality
in the guest control blocks, to avoid a possible vector data
exception that would otherwise occur when a vector instruction
is issued by the guest operating system.

Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@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