[PATCH 0/2] LoongArch: KVM: Code cleanup with MSI intterupt injection
From: Bibo Mao
Date: Wed Sep 09 2026 - 04:49:12 EST
Here is to remove some unnecessary parameter checking when injecting
MSI interrupt, include MSI level parameter and vcpu::arch::dmsintc_state
NULL pointer etc.
Bibo Mao (2):
LoongArch: KVM: Remove parameter line when inject MSI
LoongArch: KVM: Remove duplicated checking with DMSI irq injection
arch/loongarch/include/asm/kvm_dmsintc.h | 3 +--
arch/loongarch/include/asm/kvm_pch_pic.h | 2 +-
arch/loongarch/kvm/intc/dmsintc.c | 19 +++----------------
arch/loongarch/kvm/intc/pch_pic.c | 6 +++---
arch/loongarch/kvm/irqfd.c | 6 +++---
5 files changed, 11 insertions(+), 25 deletions(-)
base-commit: df2908090cda368b01ff43709f51890076c56157
--
2.39.3