Searched hist:"7 e484d2785e2a2e526a6b2679d3e4c1402ffe0ec" (Results 1 – 1 of 1) sorted by relevance
/linux/arch/arm64/kvm/ |
H A D | psci.c | diff 7e484d2785e2a2e526a6b2679d3e4c1402ffe0ec Tue Apr 04 17:40:47 CEST 2023 Oliver Upton <oliver.upton@linux.dev> KVM: arm64: Return NOT_SUPPORTED to guest for unknown PSCI version
A subsequent change to KVM will allow negative returns from SMCCC handlers to exit to userspace. Make way for this change by explicitly returning SMCCC_RET_NOT_SUPPORTED to the guest if the VM is configured to use an unknown PSCI version. Add a WARN since this is undoubtedly a KVM bug.
Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230404154050.2270077-11-oliver.upton@linux.dev
|