]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: KVM: Enable 32 bits kvm vcpu events support
authorDongjiu Geng <gengdongjiu@huawei.com>
Fri, 12 Oct 2018 16:12:49 +0000 (00:12 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 18 Oct 2018 09:14:03 +0000 (10:14 +0100)
commitc89a3ef819e04ca3b6a17eac84a403a60d43ef2f
treef916c878e83b333f671bf291ecad62e094481792
parent4d23e76eaae76998e4d560178b8eca8d7e6de6d6
arm/arm64: KVM: Enable 32 bits kvm vcpu events support

The commit 2211fd1fe49b ("KVM: arm64: Share the parts of
get/set events useful to 32bit") shares the get/set events
helper for arm64 and arm32, but forgot to share the cap
extension code.

User space will check whether KVM supports vcpu events by
checking the KVM_CAP_VCPU_EVENTS extension

Acked-by: James Morse <james.morse@arm.com>
Reviewed-by : Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/reset.c
virt/kvm/arm/arm.c