[PATCH] RISC-V: KVM: Fix lost virtual interrupts during IRQ sync
Xie Bo
xb at ultrarisc.com
Sun Jul 12 23:48:14 PDT 2026
Hi Anup,
I have addressed all three suggestions in v3:
- use non-atomic bitmap operations while holding irqs_pending_lock;
- hold irqs_pending_lock across the AIA sync, flush, and pending checks,
with lockdep assertions in the AIA helpers; and
- protect kvm_riscv_vcpu_has_interrupts() with the same lock.
I also rebased the patch onto Linux 7.2-rc3. Both RV64 and RV32 KVM
builds pass, and checkpatch reports no issues.
The v3 patch follows this reply.
Regards,
Xie Bo
More information about the kvm-riscv
mailing list