Re: [PATCH v2] riscv: KVM: Remove unnecessary vcpu kick

From: patchwork-bot+linux-riscv
Date: Wed Mar 26 2025 - 23:26:11 EST


Hello:

This patch was applied to riscv/linux.git (for-next)
by Anup Patel <anup@xxxxxxxxxxxxxx>:

On Fri, 21 Feb 2025 18:45:38 +0800 you wrote:
> Remove the unnecessary kick to the vCPU after writing to the vs_file
> of IMSIC in kvm_riscv_vcpu_aia_imsic_inject.
>
> For vCPUs that are running, writing to the vs_file directly forwards
> the interrupt as an MSI to them and does not need an extra kick.
>
> For vCPUs that are descheduled after emulating WFI, KVM will enable
> the guest external interrupt for that vCPU in
> kvm_riscv_aia_wakeon_hgei. This means that writing to the vs_file
> will cause a guest external interrupt, which will cause KVM to wake
> up the vCPU in hgei_interrupt to handle the interrupt properly.
>
> [...]

Here is the summary with links:
- [v2] riscv: KVM: Remove unnecessary vcpu kick
https://git.kernel.org/riscv/c/d252435aca44

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html