From mboxrd@z Thu Jan 1 00:00:00 1970 From: christoffer.dall@linaro.org (Christoffer Dall) Date: Sat, 1 Feb 2014 20:06:28 -0800 Subject: [PATCH v2 1/3] KVM: Add capability to advertise PSCI v0.2 support In-Reply-To: <1391078479-7406-2-git-send-email-anup.patel@linaro.org> References: <1391078479-7406-1-git-send-email-anup.patel@linaro.org> <1391078479-7406-2-git-send-email-anup.patel@linaro.org> Message-ID: <20140202040628.GC3570@cbox> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Jan 30, 2014 at 04:11:17PM +0530, Anup Patel wrote: > 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 > --- > include/uapi/linux/kvm.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h > index 902f124..d64349e 100644 > --- a/include/uapi/linux/kvm.h > +++ b/include/uapi/linux/kvm.h > @@ -674,6 +674,7 @@ struct kvm_ppc_smmu_info { > #define KVM_CAP_ARM_EL1_32BIT 93 > #define KVM_CAP_SPAPR_MULTITCE 94 > #define KVM_CAP_EXT_EMUL_CPUID 95 > +#define KVM_CAP_ARM_PSCI_0_2 96 > > #ifdef KVM_CAP_IRQ_ROUTING > > -- > 1.7.9.5 > Acked-by: Christoffer Dall