Re: [PATCH] KVM: arm64: Resolve all pending PC updates before immediate exit

From: Marc Zyngier
Date: Thu May 27 2021 - 05:37:07 EST


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@xxxxxxxxxxxxxxx # 5.11

Cheers,

M.
--
Without deviation from the norm, progress is not possible.