Skip to content

target/riscv: add RVV CSRs

Daniel Henrique Barboza qemu-devel qemu-riscv 2 versions – Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied
  2. v14 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- rebased to Alistair's riscv-to-apply.next
- patch 1:
- updated headers to v6.7-rc5
- patch 4:
- use kvm_riscv_reg_id_ulong() instead of kvm_riscv_reg_id()
- v1 link: https://lore.kernel.org/qemu-riscv/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4linux-headers: Update to Linux v6.7-rc5include/standard-headers/drm/drm_fourcc.h include/standard-headers/linux/pci_regs.h include/standard-headers/linux/vhost_types.h +26 more+498 -270 replies
2/4linux-headers: riscv: add ptrace.hlinux-headers/asm-riscv/ptrace.h scripts/update-linux-headers.sh+135 -00 replies
3/4target/riscv/kvm: do PR_RISCV_V_SET_CONTROL during realize()target/riscv/kvm/kvm-cpu.c+29 -00 replies
4/4target/riscv/kvm: add RVV and Vector CSR regstarget/riscv/kvm/kvm-cpu.c+74 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAlistair Francis
1/4A-b
2/4A-b
3/4R-b
4/4R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] target/riscv: add RVV CSRs

Hi,

This version was rebased on top of Alistair's riscv-to-apply.next. A small tweak was needed in patch 4 due to changes in the branch.

I took the chance to update linux-headers to 6.7-rc5, although the differences from the rc3 headers from v1 were minimal.

All patches acked.

Changes from v1:
- rebased to Alistair's riscv-to-apply.next
- patch 1:
- updated headers to v6.7-rc5
- patch 4:
- use kvm_riscv_reg_id_ulong() instead of kvm_riscv_reg_id()
- v1 link: https://lore.kernel.org/qemu-riscv/[email protected]/

Daniel Henrique Barboza (4):
linux-headers: Update to Linux v6.7-rc5
linux-headers: riscv: add ptrace.h target/riscv/kvm: do PR_RISCV_V_SET_CONTROL during realize() target/riscv/kvm: add RVV and Vector CSR regs

 include/standard-headers/drm/drm_fourcc.h     |   2 +
 include/standard-headers/linux/pci_regs.h     |  24 ++-
 include/standard-headers/linux/vhost_types.h  |   7 +
 .../standard-headers/linux/virtio_config.h    |   5 +
 include/standard-headers/linux/virtio_pci.h   |  11 ++
 linux-headers/asm-arm64/kvm.h                 |  32 ++++
 linux-headers/asm-generic/unistd.h            |  14 +-
 linux-headers/asm-loongarch/bitsperlong.h     |   1 +
 linux-headers/asm-loongarch/kvm.h             | 108 +++++++++++
 linux-headers/asm-loongarch/mman.h            |   1 +
 linux-headers/asm-loongarch/unistd.h          |   5 +
 linux-headers/asm-mips/unistd_n32.h           |   4 +
 linux-headers/asm-mips/unistd_n64.h           |   4 +
 linux-headers/asm-mips/unistd_o32.h           |   4 +
 linux-headers/asm-powerpc/unistd_32.h         |   4 +
 linux-headers/asm-powerpc/unistd_64.h         |   4 +
 linux-headers/asm-riscv/kvm.h                 |  12 ++
 linux-headers/asm-riscv/ptrace.h              | 132 +++++++++++++
 linux-headers/asm-s390/unistd_32.h            |   4 +
 linux-headers/asm-s390/unistd_64.h            |   4 +
 linux-headers/asm-x86/unistd_32.h             |   4 +
 linux-headers/asm-x86/unistd_64.h             |   3 +
 linux-headers/asm-x86/unistd_x32.h            |   3 +
 linux-headers/linux/iommufd.h                 | 180 +++++++++++++++++-
 linux-headers/linux/kvm.h                     |  11 ++
 linux-headers/linux/psp-sev.h                 |   1 +
 linux-headers/linux/stddef.h                  |   9 +-
 linux-headers/linux/userfaultfd.h             |   9 +-
 linux-headers/linux/vfio.h                    |  47 +++--
 linux-headers/linux/vhost.h                   |   8 +
 scripts/update-linux-headers.sh               |   3 +
 target/riscv/kvm/kvm-cpu.c                    | 103 ++++++++++
 32 files changed, 736 insertions(+), 27 deletions(-)
 create mode 100644 linux-headers/asm-loongarch/bitsperlong.h
 create mode 100644 linux-headers/asm-loongarch/kvm.h
 create mode 100644 linux-headers/asm-loongarch/mman.h
 create mode 100644 linux-headers/asm-loongarch/unistd.h
 create mode 100644 linux-headers/asm-riscv/ptrace.h
Signature · 1 line
2.43.0