On Mon, Apr 28 2014 at 3:17:43 pm BST, Christoffer Dall christoffer.dall@linaro.org wrote:
On Mon, Apr 21, 2014 at 06:29:59PM +0530, Anup Patel wrote:
Currently, the kvm_psci_call() returns 'true' or 'false' based on whether the PSCI function call was handled successfully or not. This does not help us emulate system-level PSCI functions where the actual emulation work will be done by user space (QEMU or KVMTOOL). Examples of such system-level PSCI functions are: PSCI v0.2 SYSTEM_OFF and SYSTEM_RESET.
This patch updates kvm_psci_call() to return three types of values:
0 (success)- = 0 (success but exit to user space)
- < 0 (errors)
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
Marc, do you still have comments on this one?
No, this one is OK:
Acked-by: Marc Zyngier marc.zyngier@arm.com
M.