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 /include/uapi/linux/kvm.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 'include/uapi/linux/kvm.h')
-rw-r--r-- | include/uapi/linux/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 2d1bcb8..aac2764 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -666,6 +666,7 @@ struct kvm_ppc_smmu_info { #define KVM_CAP_IRQ_MPIC 90 #define KVM_CAP_PPC_RTAS 91 #define KVM_CAP_IRQ_XICS 92 +#define KVM_CAP_ARM_EL1_32BIT 93 #ifdef KVM_CAP_IRQ_ROUTING |