summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatt@redhat.com>2015-03-12 22:09:35 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2015-03-12 22:09:35 -0300
commit2b25385761976f4670b83548f3276183d7b4ceac (patch)
tree55f965c2b4faa833b635ecf65849db260552a49e /Documentation
parent1662e862a87110f742a144210c59dc0e8a112bc9 (diff)
parent13211ea7b47db3d8ee2ff258a9a973a6d3aa3d43 (diff)
downloadlinux-2b25385761976f4670b83548f3276183d7b4ceac.tar.gz
linux-2b25385761976f4670b83548f3276183d7b4ceac.tar.bz2
linux-2b25385761976f4670b83548f3276183d7b4ceac.zip
Merge tag 'kvm-s390-next-20150306' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into queue
KVM: s390: Features and Fixes for 4.1 (kvm/next) 1. Several Fixes and enhancements --------------------------------- - These 3 patches have cc stable: b75f4c9 KVM: s390: Zero out current VMDB of STSI before including level3 data. 261520d KVM: s390: fix handling of write errors in the tpi handler 15462e3 KVM: s390: reinjection of irqs can fail in the tpi handler 2. SIMD support the kernel part (introduced with z13) ----------------------------------------------------- - two KVM-generic changes in kvm.h: 1. New capability that can be enabled: KVM_CAP_S390_VECTOR_REGISTERS 2. increased padding size for sync regs in struct kvm_run to clarify that sync regs can be larger than 1k. This is fine as this is the last element in the structure.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/virtual/kvm/api.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt
index b112efc816f1..ee47998ec368 100644
--- a/Documentation/virtual/kvm/api.txt
+++ b/Documentation/virtual/kvm/api.txt
@@ -3248,3 +3248,13 @@ All other orders will be handled completely in user space.
Only privileged operation exceptions will be checked for in the kernel (or even
in the hardware prior to interception). If this capability is not enabled, the
old way of handling SIGP orders is used (partially in kernel and user space).
+
+7.3 KVM_CAP_S390_VECTOR_REGISTERS
+
+Architectures: s390
+Parameters: none
+Returns: 0 on success, negative value on error
+
+Allows use of the vector registers introduced with z13 processor, and
+provides for the synchronization between host and user space. Will
+return -EINVAL if the machine does not support vectors.