Re: [PATCH v3 0/4] LoongArch: KVM: Small enhancements about IPI and LBT
From: Huacai Chen
Date: Sat Aug 16 2025 - 23:45:38 EST
Patch-1 and Patch-4 are applied for loongarch-fixes.
Huacai
On Fri, Aug 15, 2025 at 10:26 AM Bibo Mao <maobibo@xxxxxxxxxxx> wrote:
>
> Thre are some small enhancement about IPI emulation and LBT enabling in
> LoongArch KVM. With IPI, it supports sending command to vCPU itself. And
> with LBT it adds flag checking int function kvm_own_lbt() and make it
> robust.
>
> ---
> v2 ... v3:
> 1. Fix stack protector issue in send_ipi_data()
>
> v1 ... v2:
> 1. Add sending IPI command to vCPU itself
> 2. Avoid duplicated LBT enabling in kvm_own_lbt()
> ---
> Bibo Mao (4):
> LoongArch: KVM: Fix stack protector issue in send_ipi_data()
> LoongArch: KVM: Access mailbox directly in mail_send()
> LoongArch: KVM: Add implementation with IOCSR_IPI_SET
> LoongArch: KVM: Make function kvm_own_lbt() robust
>
> arch/loongarch/kvm/intc/ipi.c | 57 ++++++++++++++++++++++-------------
> arch/loongarch/kvm/vcpu.c | 8 +++--
> 2 files changed, 41 insertions(+), 24 deletions(-)
>
>
> base-commit: dfc0f6373094dd88e1eaf76c44f2ff01b65db851
> --
> 2.39.3
>