ARM/ARM64: KVM: Advertise KVM_CAP_ARM_PSCI_0_2 to user space
authorAnup Patel <anup.patel@linaro.org>
Tue, 29 Apr 2014 05:54:25 +0000 (11:24 +0530)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:46 +0000 (17:18 +0200)
commitf4aa5773a7ac1dad4bc6fc726b178547289e6045
treef1323863c23988aa5b12953cef3efe271fa73248
parent6824eda31449e4585085a49739d60e640b1c7583
ARM/ARM64: KVM: Advertise KVM_CAP_ARM_PSCI_0_2 to user space

We have PSCI v0.2 emulation available in KVM ARM/ARM64
hence advertise this to user space (i.e. QEMU or KVMTOOL)
via KVM_CHECK_EXTENSION ioctl.

Signed-off-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit 4447a208f7fc2e2dff8c6a8df2a1fd6dd72fb3e2)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/arm.c