Skip to content

Add SBI system suspend and cpu-type option

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 Latest10 patches 2 repliesApplied
  2. v210 patches 4 repliesSuperseded
  3. v110 patches 13 repliesSuperseded

Changes in v3 from the cover letter

- Addressed comments on PATCH10

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/10Sync-up headers with Linux-6.14 kernelarm64/include/asm/kvm.h include/linux/kvm.h include/linux/virtio_pci.h +2 more+23 -100 replies
2/10riscv: Add Svvptc extension supportriscv/fdt.c riscv/include/kvm/kvm-config-arch.h+4 -00 replies
3/10riscv: Add Zabha extension supportriscv/fdt.c riscv/include/kvm/kvm-config-arch.h+4 -00 replies
4/10riscv: Add Ziccrse extension supportriscv/fdt.c riscv/include/kvm/kvm-config-arch.h+4 -00 replies
5/10riscv: Add SBI system suspend supportriscv/include/kvm/kvm-config-arch.h riscv/include/kvm/sbi.h riscv/kvm-cpu.c+48 -00 replies
6/10riscv: Make system suspend time configurableriscv/include/kvm/kvm-config-arch.h riscv/kvm-cpu.c+5 -10 replies
7/10riscv: Fix no params with nodefault segfaultriscv/fdt.c+2 -10 replies
8/10riscv: Include single-letter extensions in isa_info_arr[]riscv/fdt.c+76 -720 replies
9/10riscv: Add cpu-type command-line optionriscv/aia.c riscv/fdt.c riscv/include/kvm/kvm-arch.h +1 more+73 -90 replies
10/10riscv: Allow including extensions in the min CPU type using command-lineriscv/fdt.c+39 -30 replies

Reviews trailers per patch

7 of 10 patches have a Reviewed-by or Acked-by.

PatchAndrew JonesAlexandru Elisei
1/10
2/10R-b
3/10R-b
4/10R-b
5/10
6/10
7/10R-b
8/10R-b
9/10R-b
10/10R-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 00/10] Add SBI system suspend and cpu-type option

This series does the following improvements:
1) Add Svvptc, Zabha, and Ziccrse extension support (PATCH2 to PATCH3)
2) Add SBI system suspend support (PATCH5 to PATCH6)
3) Add "--cpu-type" command-line option supporting "min" and "max" CPU types where "max" is the default (PATCH8 to PATCH10)

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

Changes since v2:
- Addressed comments on PATCH10

Changes since v1:
- Rebased on latest KVMTOOL commit d410d9a16f91458ae2b912cc088015396f22dfad
- Addressed comments on PATCH8, PATCH9, and PATCH10

Andrew Jones (3):
riscv: Add SBI system suspend support
riscv: Make system suspend time configurable
riscv: Fix no params with nodefault segfault

Anup Patel (7):
Sync-up headers with Linux-6.14 kernel
riscv: Add Svvptc extension support
riscv: Add Zabha extension support
riscv: Add Ziccrse extension support
riscv: Include single-letter extensions in isa_info_arr[]
riscv: Add cpu-type command-line option
riscv: Allow including extensions in the min CPU type using
command-line

 arm64/include/asm/kvm.h             |   3 -
 include/linux/kvm.h                 |   8 +-
 include/linux/virtio_pci.h          |  14 ++
 riscv/aia.c                         |   2 +-
 riscv/fdt.c                         | 240 +++++++++++++++++++---------
 riscv/include/asm/kvm.h             |   7 +-
 riscv/include/kvm/kvm-arch.h        |   2 +
 riscv/include/kvm/kvm-config-arch.h |  26 +++
 riscv/include/kvm/sbi.h             |   9 ++
 riscv/kvm-cpu.c                     |  36 +++++
 x86/include/asm/kvm.h               |   1 +
 11 files changed, 265 insertions(+), 83 deletions(-)
Signature · 1 line
2.43.0