All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] KVM RISC-V Conditional Operations
@ 2023-09-25 13:38 ` Anup Patel
  0 siblings, 0 replies; 75+ messages in thread
From: Anup Patel @ 2023-09-25 13:38 UTC (permalink / raw)
  To: kvm-riscv

This series extends KVM RISC-V to allow Guest/VM discover and use
conditional operations related ISA extensions (namely XVentanaCondOps
and Zicond).

To try these patches, use KVMTOOL from riscv_zbx_zicntr_smstateen_condops_v1
branch at: https://github.com/avpatel/kvmtool.git

These patches are based upon the latest riscv_kvm_queue and can also be
found in the riscv_kvm_condops_v2 branch at:
https://github.com/avpatel/linux.git

Changes since v1:
 - Rebased the series on riscv_kvm_queue
 - Split PATCH1 and PATCH2 of v1 series into two patches
 - Added separate test configs for XVentanaCondOps and Zicond in PATCH7
   of v1 series.

Anup Patel (9):
  dt-bindings: riscv: Add XVentanaCondOps extension entry
  RISC-V: Detect XVentanaCondOps from ISA string
  dt-bindings: riscv: Add Zicond extension entry
  RISC-V: Detect Zicond from ISA string
  RISC-V: KVM: Allow XVentanaCondOps extension for Guest/VM
  RISC-V: KVM: Allow Zicond extension for Guest/VM
  KVM: riscv: selftests: Add senvcfg register to get-reg-list test
  KVM: riscv: selftests: Add smstateen registers to get-reg-list test
  KVM: riscv: selftests: Add condops extensions to get-reg-list test

 .../devicetree/bindings/riscv/extensions.yaml | 13 ++++
 arch/riscv/include/asm/hwcap.h                |  2 +
 arch/riscv/include/uapi/asm/kvm.h             |  2 +
 arch/riscv/kernel/cpufeature.c                |  2 +
 arch/riscv/kvm/vcpu_onereg.c                  |  4 ++
 .../selftests/kvm/riscv/get-reg-list.c        | 71 +++++++++++++++++++
 6 files changed, 94 insertions(+)

-- 
2.34.1



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

end of thread, other threads:[~2023-09-27 15:27 UTC | newest]

Thread overview: 75+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-25 13:38 [PATCH v2 0/9] KVM RISC-V Conditional Operations Anup Patel
2023-09-25 13:38 ` Anup Patel
2023-09-25 13:38 ` Anup Patel
2023-09-25 13:38 ` [PATCH v2 1/9] dt-bindings: riscv: Add XVentanaCondOps extension entry Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 14:11   ` Andrew Jones
2023-09-25 14:11     ` Andrew Jones
2023-09-25 14:11     ` Andrew Jones
2023-09-25 13:38 ` [PATCH v2 2/9] RISC-V: Detect XVentanaCondOps from ISA string Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 17:48   ` Charlie Jenkins
2023-09-25 17:48     ` Charlie Jenkins
2023-09-25 17:48     ` Charlie Jenkins
2023-09-25 18:12     ` Charlie Jenkins
2023-09-25 18:12       ` Charlie Jenkins
2023-09-25 18:12       ` Charlie Jenkins
2023-09-26  4:08     ` Anup Patel
2023-09-26  4:08       ` Anup Patel
2023-09-26  4:08       ` Anup Patel
2023-09-26  4:14       ` Anup Patel
2023-09-26  4:14         ` Anup Patel
2023-09-26  4:14         ` Anup Patel
2023-09-27  2:13         ` Charlie Jenkins
2023-09-27  2:13           ` Charlie Jenkins
2023-09-27  2:13           ` Charlie Jenkins
2023-09-25 13:38 ` [PATCH v2 3/9] dt-bindings: riscv: Add Zicond extension entry Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 14:12   ` Andrew Jones
2023-09-25 14:12     ` Andrew Jones
2023-09-25 14:12     ` Andrew Jones
2023-09-25 13:38 ` [PATCH v2 4/9] RISC-V: Detect Zicond from ISA string Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 14:13   ` Andrew Jones
2023-09-25 14:13     ` Andrew Jones
2023-09-25 14:13     ` Andrew Jones
2023-09-25 13:38 ` [PATCH v2 5/9] RISC-V: KVM: Allow XVentanaCondOps extension for Guest/VM Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38 ` [PATCH v2 6/9] RISC-V: KVM: Allow Zicond " Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38 ` [PATCH v2 7/9] KVM: riscv: selftests: Add senvcfg register to get-reg-list test Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38 ` [PATCH v2 8/9] KVM: riscv: selftests: Add smstateen registers " Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38 ` [PATCH v2 9/9] KVM: riscv: selftests: Add condops extensions " Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 13:38   ` Anup Patel
2023-09-25 14:16   ` Andrew Jones
2023-09-25 14:16     ` Andrew Jones
2023-09-25 14:16     ` Andrew Jones
2023-09-25 15:33 ` [PATCH v2 0/9] KVM RISC-V Conditional Operations Conor Dooley
2023-09-25 15:33   ` Conor Dooley
2023-09-25 15:33   ` Conor Dooley
2023-09-25 15:36   ` Conor Dooley
2023-09-25 15:36     ` Conor Dooley
2023-09-25 15:36     ` Conor Dooley
2023-09-27 14:24     ` Anup Patel
2023-09-27 14:24       ` Anup Patel
2023-09-27 14:24       ` Anup Patel
2023-09-27 14:45       ` Conor Dooley
2023-09-27 14:45         ` Conor Dooley
2023-09-27 14:45         ` Conor Dooley
2023-09-27 15:01         ` Palmer Dabbelt
2023-09-27 15:01           ` Palmer Dabbelt
2023-09-27 15:01           ` Palmer Dabbelt
2023-09-27 15:26           ` Anup Patel
2023-09-27 15:26             ` Anup Patel
2023-09-27 15:26             ` Anup Patel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.