From: patchwork-bot+linux-riscv@kernel.org
To: BillXiang <xiangwencheng@lanxincomputing.com>
Cc: linux-riscv@lists.infradead.org, anup@brainfault.org,
ajones@ventanamicro.com, kvm-riscv@lists.infradead.org,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
atishp@atishpatra.org, paul.walmsley@sifive.com,
palmer@dabbelt.com, aou@eecs.berkeley.edu,
rkrcmar@ventanamicro.com
Subject: Re: [PATCH v2] riscv: KVM: Remove unnecessary vcpu kick
Date: Thu, 27 Mar 2025 03:24:50 +0000 [thread overview]
Message-ID: <174304589076.1549280.903710261634215317.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250221104538.2147-1-xiangwencheng@lanxincomputing.com>
Hello:
This patch was applied to riscv/linux.git (for-next)
by Anup Patel <anup@brainfault.org>:
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
--
kvm-riscv mailing list
kvm-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kvm-riscv
WARNING: multiple messages have this Message-ID (diff)
From: patchwork-bot+linux-riscv@kernel.org
To: BillXiang <xiangwencheng@lanxincomputing.com>
Cc: linux-riscv@lists.infradead.org, anup@brainfault.org,
ajones@ventanamicro.com, kvm-riscv@lists.infradead.org,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
atishp@atishpatra.org, paul.walmsley@sifive.com,
palmer@dabbelt.com, aou@eecs.berkeley.edu,
rkrcmar@ventanamicro.com
Subject: Re: [PATCH v2] riscv: KVM: Remove unnecessary vcpu kick
Date: Thu, 27 Mar 2025 03:24:50 +0000 [thread overview]
Message-ID: <174304589076.1549280.903710261634215317.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250221104538.2147-1-xiangwencheng@lanxincomputing.com>
Hello:
This patch was applied to riscv/linux.git (for-next)
by Anup Patel <anup@brainfault.org>:
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
WARNING: multiple messages have this Message-ID (diff)
From: patchwork-bot+linux-riscv@kernel.org
To: BillXiang <xiangwencheng@lanxincomputing.com>
Cc: linux-riscv@lists.infradead.org, anup@brainfault.org,
ajones@ventanamicro.com, kvm-riscv@lists.infradead.org,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
atishp@atishpatra.org, paul.walmsley@sifive.com,
palmer@dabbelt.com, aou@eecs.berkeley.edu,
rkrcmar@ventanamicro.com
Subject: Re: [PATCH v2] riscv: KVM: Remove unnecessary vcpu kick
Date: Thu, 27 Mar 2025 03:24:50 +0000 [thread overview]
Message-ID: <174304589076.1549280.903710261634215317.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250221104538.2147-1-xiangwencheng@lanxincomputing.com>
Hello:
This patch was applied to riscv/linux.git (for-next)
by Anup Patel <anup@brainfault.org>:
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
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2025-03-27 3:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-21 10:45 [PATCH v2] riscv: KVM: Remove unnecessary vcpu kick BillXiang
2025-02-21 10:45 ` BillXiang
2025-02-21 10:45 ` BillXiang
2025-02-21 11:11 ` Andrew Jones
2025-02-21 11:11 ` Andrew Jones
2025-02-21 11:11 ` Andrew Jones
2025-02-21 11:20 ` Radim Krčmář
2025-02-21 11:20 ` Radim Krčmář
2025-02-21 11:20 ` Radim Krčmář
2025-02-21 17:06 ` Anup Patel
2025-02-21 17:06 ` Anup Patel
2025-02-21 17:06 ` Anup Patel
2025-03-27 3:24 ` patchwork-bot+linux-riscv [this message]
2025-03-27 3:24 ` patchwork-bot+linux-riscv
2025-03-27 3:24 ` patchwork-bot+linux-riscv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174304589076.1549280.903710261634215317.git-patchwork-notify@kernel.org \
--to=patchwork-bot+linux-riscv@kernel.org \
--cc=ajones@ventanamicro.com \
--cc=anup@brainfault.org \
--cc=aou@eecs.berkeley.edu \
--cc=atishp@atishpatra.org \
--cc=kvm-riscv@lists.infradead.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=rkrcmar@ventanamicro.com \
--cc=xiangwencheng@lanxincomputing.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.