s390x: Vector Register IOCTLs
commitfcb79802e07fe06fe24ba97a027d8a1c3a714fa7
authorEric Farman <farman@linux.vnet.ibm.com>
Mon, 18 Aug 2014 19:33:39 +0000 (18 15:33 -0400)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 27 May 2015 15:52:03 +0000 (27 17:52 +0200)
tree83d9bc208b52de8342a8af5e22643196bfd5eaff
parentc498d8e36e2998fb67de21a34ece633d356a4834
s390x: Vector Register IOCTLs

Handle the actual syncing of the vector registers with kernel space,
via the get/put register IOCTLs.

The vector registers that were introduced with the z13 overlay
the existing floating point registers.  FP registers 0-15 are
the high-halves of vector registers 0-15.  Thus, remove the
freg fields and replace them with the equivalent vector field
to avoid errors in duplication.  Moreover, synchronize either the
vector registers via kvm_sync_regs, or floating point registers
via the GET/SET FPU IOCTLs.

Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
target-s390x/cpu.h
target-s390x/kvm.c
target-s390x/machine.c
target-s390x/translate.c