diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-02-07 10:46:46 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2013-06-12 16:42:18 +0100 |
commit | 0d854a60b1d7d39a37b25dd28f63cfa0df637b91 (patch) | |
tree | ff120873a6046e586e135aadae9c83510910e8e5 /arch/arm64/include/asm/kvm_host.h | |
parent | e82e030556e42e823e174e0c3bd97988d1a09d1f (diff) | |
download | op-kernel-dev-0d854a60b1d7d39a37b25dd28f63cfa0df637b91.zip op-kernel-dev-0d854a60b1d7d39a37b25dd28f63cfa0df637b91.tar.gz |
arm64: KVM: enable initialization of a 32bit vcpu
Wire the init of a 32bit vcpu by allowing 32bit modes in pstate,
and providing sensible defaults out of reset state.
This feature is of course conditioned by the presence of 32bit
capability on the physical CPU, and is checked by the KVM_CAP_ARM_EL1_32BIT
capability.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/kvm_host.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 3f5830b..644d739 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -34,7 +34,7 @@ #include <kvm/arm_vgic.h> #include <kvm/arm_arch_timer.h> -#define KVM_VCPU_MAX_FEATURES 1 +#define KVM_VCPU_MAX_FEATURES 2 /* We don't currently support large pages. */ #define KVM_HPAGE_GFN_SHIFT(x) 0 |