]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: arm64: vgic-its: KVM_DEV_ARM_ITS_SAVE/RESTORE_TABLES
authorEric Auger <eric.auger@redhat.com>
Sat, 24 Dec 2016 17:48:04 +0000 (18:48 +0100)
committerChristoffer Dall <cdall@linaro.org>
Mon, 8 May 2017 12:36:37 +0000 (14:36 +0200)
commit3b65808f4b2914db175a048097956d59ec609e04
tree0ce0722620803c10f4107d0d8e412d1c2602a2c0
parent06bd5359549d7a0a2759a08f07e3d13a7acc9ecc
KVM: arm64: vgic-its: KVM_DEV_ARM_ITS_SAVE/RESTORE_TABLES

Introduce new attributes in KVM_DEV_ARM_VGIC_GRP_CTRL group:
- KVM_DEV_ARM_ITS_SAVE_TABLES: saves the ITS tables into guest RAM
- KVM_DEV_ARM_ITS_RESTORE_TABLES: restores them into VGIC internal
  structures.

We hold the vcpus lock during the save and restore to make
sure no vcpu is running.

At this stage the functionality is not yet implemented. Only
the skeleton is put in place.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
[Given we will move the iodev register until setting the base addr]
Reviewed-by: Christoffer Dall <cdall@linaro.org>
arch/arm/include/uapi/asm/kvm.h
arch/arm64/include/uapi/asm/kvm.h
virt/kvm/arm/vgic/vgic-its.c