diff options
author | Eric Auger | 2017-01-09 16:28:27 +0100 |
---|---|---|
committer | Christoffer Dall | 2017-05-08 14:39:31 +0200 |
commit | 280771252c1bae0947215c59fb9ea6a8d9f8399d (patch) | |
tree | 6e08fc97fca8028aebd5a3d0ea754032e36f1b6b /arch/arm64/include | |
parent | KVM: arm64: vgic-its: Fix pending table sync (diff) | |
download | kernel-qcow2-linux-280771252c1bae0947215c59fb9ea6a8d9f8399d.tar.gz kernel-qcow2-linux-280771252c1bae0947215c59fb9ea6a8d9f8399d.tar.xz kernel-qcow2-linux-280771252c1bae0947215c59fb9ea6a8d9f8399d.zip |
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/arm64/include')
-rw-r--r-- | arch/arm64/include/uapi/asm/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/uapi/asm/kvm.h b/arch/arm64/include/uapi/asm/kvm.h index 5dd7be049934..d46a99d999ec 100644 --- a/arch/arm64/include/uapi/asm/kvm.h +++ b/arch/arm64/include/uapi/asm/kvm.h @@ -224,6 +224,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 /* Device Control API on vcpu fd */ #define KVM_ARM_VCPU_PMU_V3_CTRL 0 |