diff options
author | Anup Patel <anup.patel@linaro.org> | 2014-04-29 01:54:25 -0400 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-04-30 07:18:58 -0400 |
commit | 4447a208f7fc2e2dff8c6a8df2a1fd6dd72fb3e2 (patch) | |
tree | 6253276fbb2a9e41741ca32f6bdb118e0aeb9909 /arch/arm/kvm/arm.c | |
parent | b376d02b53b87f8684f91f13ba4ee43331850fcd (diff) |
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>
Diffstat (limited to 'arch/arm/kvm/arm.c')
-rw-r--r-- | arch/arm/kvm/arm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index f0e50a0f3a65..3c82b37c0f9e 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c | |||
@@ -197,6 +197,7 @@ int kvm_dev_ioctl_check_extension(long ext) | |||
197 | case KVM_CAP_DESTROY_MEMORY_REGION_WORKS: | 197 | case KVM_CAP_DESTROY_MEMORY_REGION_WORKS: |
198 | case KVM_CAP_ONE_REG: | 198 | case KVM_CAP_ONE_REG: |
199 | case KVM_CAP_ARM_PSCI: | 199 | case KVM_CAP_ARM_PSCI: |
200 | case KVM_CAP_ARM_PSCI_0_2: | ||
200 | r = 1; | 201 | r = 1; |
201 | break; | 202 | break; |
202 | case KVM_CAP_COALESCED_MMIO: | 203 | case KVM_CAP_COALESCED_MMIO: |