From: Anup Patel Date: Tue, 29 Apr 2014 05:54:14 +0000 (+0530) Subject: KVM: Add capability to advertise PSCI v0.2 support X-Git-Tag: firefly_0821_release~3680^2~36^2~16^2^2~122 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7d46aca1cf97c1ff323d799fd82ffd49bc294bd1;p=firefly-linux-kernel-4.4.55.git KVM: Add capability to advertise PSCI v0.2 support User space (i.e. QEMU or KVMTOOL) should be able to check whether KVM ARM/ARM64 supports in-kernel PSCI v0.2 emulation. For this purpose, we define KVM_CAP_ARM_PSCI_0_2 in KVM user space interface header. Signed-off-by: Anup Patel Signed-off-by: Pranavkumar Sawargaonkar Acked-by: Christoffer Dall Acked-by: Marc Zyngier Signed-off-by: Christoffer Dall (cherry picked from commit 717abd208dff75b343243aa5ed688f62190dda5e) Signed-off-by: Christoffer Dall --- diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 56347ab54cf7..cb7ebcc7a9db 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -669,6 +669,7 @@ struct kvm_ppc_smmu_info { #define KVM_CAP_IRQ_XICS 92 #define KVM_CAP_ARM_EL1_32BIT 93 #define KVM_CAP_EXT_EMUL_CPUID 95 +#define KVM_CAP_ARM_PSCI_0_2 102 #ifdef KVM_CAP_IRQ_ROUTING