summaryrefslogtreecommitdiffstats
path: root/fs/coda
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@linaro.org>2014-04-29 11:24:24 +0530
committerChristoffer Dall <christoffer.dall@linaro.org>2014-04-30 04:18:58 -0700
commitb376d02b53b87f8684f91f13ba4ee43331850fcd (patch)
tree720c11fca0b9ad59dca59f026e8e631e50a0f5b0 /fs/coda
parentaa8aeefe5e567637bbec7d7a3031cc057e3af303 (diff)
downloadop-kernel-dev-b376d02b53b87f8684f91f13ba4ee43331850fcd.zip
op-kernel-dev-b376d02b53b87f8684f91f13ba4ee43331850fcd.tar.gz
ARM/ARM64: KVM: Emulate PSCI v0.2 CPU_SUSPEND
This patch adds emulation of PSCI v0.2 CPU_SUSPEND function call for KVM ARM/ARM64. This is a CPU-level function call which can suspend current CPU or current CPU cluster. We don't have VCPU clusters in KVM so we only suspend the current VCPU. The CPU_SUSPEND emulation is not tested much because currently there is no CPUIDLE driver in Linux kernel that uses PSCI CPU_SUSPEND. The PSCI CPU_SUSPEND implementation in ARM64 kernel was tested using a Simple CPUIDLE driver which is not published due to unstable DT-bindings for PSCI. (For more info, http://lwn.net/Articles/574950/) For simplicity, we implement CPU_SUSPEND emulation similar to WFI (Wait-for-interrupt) emulation and we also treat power-down request to be same as stand-by request. This is consistent with section 5.4.1 and section 5.4.2 of PSCI v0.2 specification. 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>
Diffstat (limited to 'fs/coda')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud