On Wed, 26 May 2021 22:18:31 +0800, Zenghui Yu wrote:
Commit 26778aaa134a ("KVM: arm64: Commit pending PC adjustemnts before
returning to userspace") fixed the PC updating issue by forcing an explicit
synchronisation of the exception state on vcpu exit to userspace.
However, we forgot to take into account the case where immediate_exit is
set by userspace and KVM_RUN will exit immediately. Fix it by resolving all
pending PC updates before returning to userspace.
[...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Resolve all pending PC updates before immediate exit
commit: e3e880bb1518eb10a4b4bb4344ed614d6856f190
with:
Fixes: 26778aaa134a ("KVM: arm64: Commit pending PC adjustemnts before returning to userspace")
Cc: stable@vger.kernel.org # 5.11
Cheers,
M.
--
Without deviation from the norm, progress is not possible.