]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36dc38fb188764c076a846537e2fb747e5eae346
treeff120873a6046e586e135aadae9c83510910e8e5
parent6ef72bf2801f656cb88dffca60ea92087d7b513c
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