[PATCH] KVM: arm64: Don't miss pending interrupts for suspended vCPU

Marc Zyngier maz at kernel.org
Thu Feb 17 08:30:01 PST 2022


On Thu, 17 Feb 2022 10:12:42 +0000, Oliver Upton wrote:
> In order to properly emulate the WFI instruction, KVM reads back
> ICH_VMCR_EL2 and enables doorbells for GICv4. These preparations are
> necessary in order to recognize pending interrupts in
> kvm_arch_vcpu_runnable() and return to the guest. Until recently, this
> work was done by kvm_arch_vcpu_{blocking,unblocking}(). Since commit
> 6109c5a6ab7f ("KVM: arm64: Move vGIC v4 handling for WFI out arch
> callback hook"), these callbacks were gutted and superseded by
> kvm_vcpu_wfi().
> 
> [...]

Applied to fixes, thanks!

[1/1] KVM: arm64: Don't miss pending interrupts for suspended vCPU
      commit: a867e9d0cc15039a6ef72e17e2603303dcd1783f



More information about the linux-arm-kernel mailing list