From bc20403598702fac96b5a732bdb184ccbe1fcb48 Mon Sep 17 00:00:00 2001 From: Marcelo Tosatti Date: Sat, 10 Dec 2016 15:21:49 -0200 Subject: kvm: sync linux headers Import KVM_CLOCK_TSC_STABLE. Signed-off-by: Marcelo Tosatti Message-Id: <20161210172324.402794293@redhat.com> Signed-off-by: Paolo Bonzini --- linux-headers/asm-arm/kvm.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'linux-headers/asm-arm/kvm.h') 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 */ -- cgit v1.2.3