summaryrefslogtreecommitdiff
path: root/arch/arm/include/uapi/asm/kvm.h
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2017-01-09 18:28:27 +0300
committerChristoffer Dall <cdall@linaro.org>2017-05-08 15:39:31 +0300
commit280771252c1bae0947215c59fb9ea6a8d9f8399d (patch)
tree6e08fc97fca8028aebd5a3d0ea754032e36f1b6b /arch/arm/include/uapi/asm/kvm.h
parentccb1d791ab9e9d45be15a779e6a42fc661309af1 (diff)
downloadlinux-280771252c1bae0947215c59fb9ea6a8d9f8399d.tar.xz
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>
Diffstat (limited to 'arch/arm/include/uapi/asm/kvm.h')
-rw-r--r--arch/arm/include/uapi/asm/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/uapi/asm/kvm.h b/arch/arm/include/uapi/asm/kvm.h
index 0f7ee15f9fcf..a3fbab56d4a8 100644
--- a/arch/arm/include/uapi/asm/kvm.h
+++ b/arch/arm/include/uapi/asm/kvm.h
@@ -204,6 +204,7 @@ struct kvm_arch_memory_slot {
#define KVM_DEV_ARM_VGIC_CTRL_INIT 0
#define KVM_DEV_ARM_ITS_SAVE_TABLES 1
#define KVM_DEV_ARM_ITS_RESTORE_TABLES 2
+#define KVM_DEV_ARM_VGIC_SAVE_PENDING_TABLES 3
/* KVM_IRQ_LINE irq field index values */
#define KVM_ARM_IRQ_TYPE_SHIFT 24