KVM: arm64: vgic-v3: KVM_DEV_ARM_VGIC_SAVE_PENDING_TABLES
authorEric Auger <eric.auger@redhat.com>
Mon, 9 Jan 2017 15:28:27 +0000 (16:28 +0100)
committerChristoffer Dall <cdall@linaro.org>
Mon, 8 May 2017 12:39:31 +0000 (14:39 +0200)
commit280771252c1bae0947215c59fb9ea6a8d9f8399d
tree6e08fc97fca8028aebd5a3d0ea754032e36f1b6b
parentccb1d791ab9e9d45be15a779e6a42fc661309af1
KVM: arm64: vgic-v3: KVM_DEV_ARM_VGIC_SAVE_PENDING_TABLES

This patch adds a new attribute to GICV3 KVM device
KVM_DEV_ARM_VGIC_GRP_CTRL group. This allows userspace to
flush all GICR pending tables into guest RAM.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/uapi/asm/kvm.h
arch/arm64/include/uapi/asm/kvm.h
virt/kvm/arm/vgic/vgic-kvm-device.c
virt/kvm/arm/vgic/vgic-v3.c
virt/kvm/arm/vgic/vgic.h