ARM/ARM64: KVM: Emulate PSCI v0.2 AFFINITY_INFO
authorAnup Patel <anup.patel@linaro.org>
Tue, 29 Apr 2014 05:54:21 +0000 (11:24 +0530)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:44 +0000 (17:18 +0200)
commit4c7726b875f0ae0aa10b553d0ddf1662ca1c8536
treed711f549f3db584123d84a9e554992c7ab5dbd37
parent2834b56a4051c66feb99c5546723fd6afa434d0e
ARM/ARM64: KVM: Emulate PSCI v0.2 AFFINITY_INFO

This patch adds emulation of PSCI v0.2 AFFINITY_INFO function call
for KVM ARM/ARM64. This is a VCPU-level function call which will be
used to determine current state of given affinity level.

Signed-off-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Reviewed-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 e6bc13c8a70eabc6a39098ccedf6129c734e3db3)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/psci.c