arm64: KVM: enable initialization of a 32bit vcpu
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 7 Feb 2013 10:46:46 +0000 (10:46 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 12 Jun 2013 15:42:18 +0000 (16:42 +0100)
commit0d854a60b1d7d39a37b25dd28f63cfa0df637b91
treeff120873a6046e586e135aadae9c83510910e8e5
parente82e030556e42e823e174e0c3bd97988d1a09d1f
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>
arch/arm64/include/asm/kvm_host.h
arch/arm64/include/uapi/asm/kvm.h
arch/arm64/kvm/guest.c
arch/arm64/kvm/reset.c
include/uapi/linux/kvm.h