Messages in this thread |  | | From | Huacai Chen <> | | Date | Wed, 29 Apr 2026 18:13:05 +0800 | | Subject | Re: [PATCH 0/3] LoongArch: KVM: Small enhancement about timer |
| |
The first patch cannot be applied cleanly, I adjusted it and applied, hope it is correct. https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git/log/?h=loongarch-next
Huacai
On Tue, Apr 14, 2026 at 3:23 PM Bibo Mao <maobibo@loongson.cn> wrote: > > By running LTP stress test cases on VM, there is an RCU timeout issue on > some vCPUs recently. The problem is that there is HW timer interrupt lost > issue when injecting SIP0/IPI interrupt from KVM hypervisor, this problem > is hidden because the KVM hypervisor will inject spurious timer interrupt > if emulated timer is expired. In late the spurious timer interrupt is > clear if old TI bit of ESTAT register is not set, so there will be RCU > timeout issue with LTP stress test. > > This patch set fixes the HW timer interrupt lost issue, also this patch > moves unconditional delay in timer interrupt clear scenery, which happens > seldomly; mostly the timer interrupt bit is set when it expires. > > Bibo Mao (3): > LoongArch: KVM: Move AVEC interrupt injection in switch loop > LoongArch: KVM: Fix HW timer interrupt lost when inject interrupt from > software > LoongArch: KVM: Move unconditional delay in timer clear scenery > > arch/loongarch/kvm/interrupt.c | 37 +++++++++++++++++++++++++--------- > arch/loongarch/kvm/timer.c | 16 +++++++++++++-- > 2 files changed, 41 insertions(+), 12 deletions(-) > > > base-commit: d568788baab24875604c231f723dbb72387fb081 > -- > 2.39.3 > >
|  |