Re: [PATCH] KVM: arm64: Really propagate PSCI SYSTEM_RESET2 arguments to userspace

2022-03-09 Thread Marc Zyngier
On Wed, 9 Mar 2022 18:13:08 +, Will Deacon wrote: > Commit d43583b890e7 ("KVM: arm64: Expose PSCI SYSTEM_RESET2 call to the > guest") hooked up the SYSTEM_RESET2 PSCI call for guests but failed to > preserve its arguments for userspace, instead overwriting them with > zeroes via

[PATCH] KVM: arm64: Really propagate PSCI SYSTEM_RESET2 arguments to userspace

2022-03-09 Thread Will Deacon
Commit d43583b890e7 ("KVM: arm64: Expose PSCI SYSTEM_RESET2 call to the guest") hooked up the SYSTEM_RESET2 PSCI call for guests but failed to preserve its arguments for userspace, instead overwriting them with zeroes via smccc_set_retval(). As Linux only passes zeroes for these arguments, this