diff options
author | Anup Patel <anup.patel@linaro.org> | 2014-04-29 11:24:20 +0530 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-04-30 04:18:58 -0700 |
commit | 4b1238269ed340d59ef829fd9c30a39cfb2923a8 (patch) | |
tree | 8e2fcecc8c6e7678a6c70337f892284e487ce8f0 /ipc/compat.c | |
parent | 8ad6b634928a25971dc42dce101808b1491f87ec (diff) | |
download | op-kernel-dev-4b1238269ed340d59ef829fd9c30a39cfb2923a8.zip op-kernel-dev-4b1238269ed340d59ef829fd9c30a39cfb2923a8.tar.gz |
ARM/ARM64: KVM: Emulate PSCI v0.2 SYSTEM_OFF and SYSTEM_RESET
The PSCI v0.2 SYSTEM_OFF and SYSTEM_RESET functions are system-level
functions hence cannot be fully emulated by in-kernel PSCI emulation code.
To tackle this, we forward PSCI v0.2 SYSTEM_OFF and SYSTEM_RESET function
calls from vcpu to user space (i.e. QEMU or KVMTOOL) via kvm_run structure
using KVM_EXIT_SYSTEM_EVENT exit reasons.
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>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions