Skip to content

RISC-V AIA irqchip and Svnapot support

Anup Patel kvm kvm-riscv 3 versions – Applied

Status from this message: Applied to kvmtool (master), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 1 replyApplied
  2. v26 patches 11 repliesSuperseded
  3. v16 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Updated PATCH1 to sync header with released Linux-6.6
- Addressed Drew's comments in PATCH3, PATCH4, and PATCH5

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6Sync-up header with Linux-6.6 for KVM RISC-Vinclude/linux/kvm.h include/linux/virtio_net.h riscv/include/asm/kvm.h+126 -40 replies
2/6riscv: Add Svnapot extension supportriscv/fdt.c riscv/include/kvm/kvm-config-arch.h+4 -00 replies
3/6riscv: Make irqchip support pluggableriscv/fdt.c riscv/include/kvm/kvm-arch.h riscv/irq.c +3 more+147 -490 replies
4/6riscv: Add IRQFD support for in-kernel AIA irqchipriscv/include/kvm/kvm-arch.h riscv/irq.c+84 -00 replies
5/6riscv: Use AIA in-kernel irqchip whenever KVM RISC-V supportsMakefile riscv/aia.c riscv/include/kvm/fdt-arch.h +2 more+251 -60 replies
6/6riscv: Fix guest/init linkage for multilib toolchainMakefile+2 -00 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchAndrew Jones
1/6
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [kvmtool PATCH v3 0/6] RISC-V AIA irqchip and Svnapot support

The latest KVM in Linux-6.5 has support for:
1) Svnapot ISA extension support
2) AIA in-kernel irqchip support

This series adds corresponding changes in KVMTOOL to use the above mentioned features for Guest/VM.

These patches can also be found in the riscv_aia_v3 branch at:
https://github.com/avpatel/kvmtool.git

Changes since v2:
- Updated PATCH1 to sync header with released Linux-6.6
- Addressed Drew's comments in PATCH3, PATCH4, and PATCH5

Changes since v1:
- Rebased on commit 9cb1b46cb765972326a46bdba867d441a842af56
- Updated PATCH1 to sync header with released Linux-6.5

Anup Patel (6):
Sync-up header with Linux-6.6 for KVM RISC-V
riscv: Add Svnapot extension support
riscv: Make irqchip support pluggable
riscv: Add IRQFD support for in-kernel AIA irqchip
riscv: Use AIA in-kernel irqchip whenever KVM RISC-V supports
riscv: Fix guest/init linkage for multilib toolchain

 Makefile                            |   3 +
 include/linux/kvm.h                 |  19 ++-
 include/linux/virtio_net.h          |  14 ++
 riscv/aia.c                         | 227 ++++++++++++++++++++++++++++
 riscv/fdt.c                         |  15 +-
 riscv/include/asm/kvm.h             |  97 ++++++++++++
 riscv/include/kvm/fdt-arch.h        |   8 +-
 riscv/include/kvm/kvm-arch.h        |  37 ++++-
 riscv/include/kvm/kvm-config-arch.h |   3 +
 riscv/irq.c                         | 145 +++++++++++++++++-
 riscv/kvm.c                         |   2 +
 riscv/pci.c                         |  32 ++--
 riscv/plic.c                        |  61 ++++----
 13 files changed, 609 insertions(+), 54 deletions(-)
 create mode 100644 riscv/aia.c
Signature · 1 line
2.34.1