summaryrefslogtreecommitdiffstats
path: root/linux-headers/asm-arm
diff options
context:
space:
mode:
authorMarcelo Tosatti2016-12-10 18:21:49 +0100
committerPaolo Bonzini2016-12-22 16:00:26 +0100
commitbc20403598702fac96b5a732bdb184ccbe1fcb48 (patch)
tree7d802a500999810bce97d2ced2e49a6e22248c85 /linux-headers/asm-arm
parentscsi-disk: fix VERIFY for scsi-block (diff)
downloadqemu-bc20403598702fac96b5a732bdb184ccbe1fcb48.tar.gz
qemu-bc20403598702fac96b5a732bdb184ccbe1fcb48.tar.xz
qemu-bc20403598702fac96b5a732bdb184ccbe1fcb48.zip
kvm: sync linux headers
Import KVM_CLOCK_TSC_STABLE. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Message-Id: <20161210172324.402794293@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers/asm-arm')
-rw-r--r--linux-headers/asm-arm/kvm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux-headers/asm-arm/kvm.h b/linux-headers/asm-arm/kvm.h
index 541268c946..2fb7859465 100644
--- a/linux-headers/asm-arm/kvm.h
+++ b/linux-headers/asm-arm/kvm.h
@@ -84,6 +84,13 @@ struct kvm_regs {
#define KVM_VGIC_V2_DIST_SIZE 0x1000
#define KVM_VGIC_V2_CPU_SIZE 0x2000
+/* Supported VGICv3 address types */
+#define KVM_VGIC_V3_ADDR_TYPE_DIST 2
+#define KVM_VGIC_V3_ADDR_TYPE_REDIST 3
+
+#define KVM_VGIC_V3_DIST_SIZE SZ_64K
+#define KVM_VGIC_V3_REDIST_SIZE (2 * SZ_64K)
+
#define KVM_ARM_VCPU_POWER_OFF 0 /* CPU is started in OFF state */
#define KVM_ARM_VCPU_PSCI_0_2 1 /* CPU uses PSCI v0.2 */