On Wed, 9 Mar 2022 18:13:08 +0000, 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 smccc_set_retval(). As Linux only passes zeroes for these > arguments, this appeared to be working for Linux guests. Oh well. > > Don't call smccc_set_retval() for a SYSTEM_RESET2 heading to userspace > and instead set X0 (and only X0) explicitly to PSCI_RET_INTERNAL_FAILURE > just in case the vCPU re-enters the guest. Applied to next, thanks! [1/1] KVM: arm64: Really propagate PSCI SYSTEM_RESET2 arguments to userspace commit: 9d3e7b7c82fd9d40240867ef4c45388cd05031f3 Cheers, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm