Skip to content

Commit 4447a20

Browse files
Anup Patelchazy
authored andcommitted
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>
1 parent b376d02 commit 4447a20

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/arm/kvm/arm.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ int kvm_dev_ioctl_check_extension(long ext)
197197
case KVM_CAP_DESTROY_MEMORY_REGION_WORKS:
198198
case KVM_CAP_ONE_REG:
199199
case KVM_CAP_ARM_PSCI:
200+
case KVM_CAP_ARM_PSCI_0_2:
200201
r = 1;
201202
break;
202203
case KVM_CAP_COALESCED_MMIO:

0 commit comments

Comments
 (0)