OSDN Git Service

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>
Wed, 30 Apr 2014 11:18:58 +0000 (04:18 -0700)
commite6bc13c8a70eabc6a39098ccedf6129c734e3db3
tree7e4cc5c675464156243f3e86a58a0fe9bad4f5bc
parent4b1238269ed340d59ef829fd9c30a39cfb2923a8
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>
arch/arm/kvm/psci.c