public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] LongArch: KVM: Add AVEC support irqchip in kernel
@ 2025-11-28  9:11 Song Gao
  2025-11-28  9:11 ` [PATCH v2 1/4] LongArch: KVM: Add some maccros for AVEC Song Gao
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Song Gao @ 2025-11-28  9:11 UTC (permalink / raw)
  To: maobibo, chenhuacai; +Cc: kvm, loongarch, kernel, linux-kernel

Hi,

This series adds AVEC-related macros, implements the DINTC in-kernel irqchip device,
enables irqfd to deliver MSI to DINTC, and supports injecting MSI interrupts
to the target vCPU.

Thanks.
Song Gao

Song Gao (4):
  LongArch: KVM: Add some maccros for AVEC
  LongArch: KVM: Add DINTC device support
  LongArch: KVM: Add irqfd set dintc msi
  LongArch: KVM: Add dintc inject msi to the dest vcpu

 arch/loongarch/include/asm/irq.h       |   8 ++
 arch/loongarch/include/asm/kvm_dintc.h |  22 +++++
 arch/loongarch/include/asm/kvm_host.h  |   8 ++
 arch/loongarch/include/uapi/asm/kvm.h  |   4 +
 arch/loongarch/kvm/Makefile            |   1 +
 arch/loongarch/kvm/intc/dintc.c        | 118 +++++++++++++++++++++++++
 arch/loongarch/kvm/interrupt.c         |   1 +
 arch/loongarch/kvm/irqfd.c             |  28 +++++-
 arch/loongarch/kvm/main.c              |   5 ++
 arch/loongarch/kvm/vcpu.c              |  55 ++++++++++++
 drivers/irqchip/irq-loongarch-avec.c   |   5 +-
 include/uapi/linux/kvm.h               |   2 +
 12 files changed, 254 insertions(+), 3 deletions(-)
 create mode 100644 arch/loongarch/include/asm/kvm_dintc.h
 create mode 100644 arch/loongarch/kvm/intc/dintc.c

-- 
2.39.3


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-12-15 15:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-28  9:11 [PATCH v2 0/4] LongArch: KVM: Add AVEC support irqchip in kernel Song Gao
2025-11-28  9:11 ` [PATCH v2 1/4] LongArch: KVM: Add some maccros for AVEC Song Gao
2025-11-28 12:41   ` Huacai Chen
2025-12-15 15:34   ` Thomas Gleixner
2025-11-28  9:11 ` [PATCH v2 2/4] LongArch: KVM: Add DINTC device support Song Gao
2025-12-01 12:18   ` kernel test robot
2025-11-28  9:11 ` [PATCH v2 3/4] LongArch: KVM: Add irqfd set dintc msi Song Gao
2025-11-28  9:11 ` [PATCH v2 4/4] LongArch: KVM: Add dintc inject msi to the dest vcpu Song Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox