devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] KVM RISC-V Conditional Operations
@ 2023-09-19  3:53 Anup Patel
  2023-09-19  3:53 ` [PATCH 1/7] RISC-V: Detect XVentanaCondOps from ISA string Anup Patel
                   ` (6 more replies)
  0 siblings, 7 replies; 24+ messages in thread
From: Anup Patel @ 2023-09-19  3:53 UTC (permalink / raw)
  To: Paolo Bonzini, Atish Patra, Palmer Dabbelt, Paul Walmsley,
	Conor Dooley, Rob Herring, Krzysztof Kozlowski, Shuah Khan
  Cc: Andrew Jones, Mayuresh Chitale, devicetree, kvm, kvm-riscv,
	linux-riscv, linux-kernel, linux-kselftest, Anup Patel

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_v1 branch at:
https://github.com/avpatel/linux.git

Anup Patel (7):
  RISC-V: Detect XVentanaCondOps from ISA string
  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        | 41 +++++++++++++++++++
 6 files changed, 64 insertions(+)

-- 
2.34.1


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

end of thread, other threads:[~2023-10-05  6:50 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19  3:53 [PATCH 0/7] KVM RISC-V Conditional Operations Anup Patel
2023-09-19  3:53 ` [PATCH 1/7] RISC-V: Detect XVentanaCondOps from ISA string Anup Patel
2023-09-19  7:26   ` Conor Dooley
2023-09-25 13:30     ` Anup Patel
2023-09-20  7:38   ` Andrew Jones
2023-10-02  6:27   ` Christoph Hellwig
2023-10-02 15:36     ` Anup Patel
2023-10-05  6:49       ` Christoph Hellwig
2023-09-19  3:53 ` [PATCH 2/7] RISC-V: Detect Zicond " Anup Patel
2023-09-19  7:27   ` Conor Dooley
2023-09-25 13:31     ` Anup Patel
2023-09-20  7:44   ` Andrew Jones
2023-09-25 13:31     ` Anup Patel
2023-09-19  3:53 ` [PATCH 3/7] RISC-V: KVM: Allow XVentanaCondOps extension for Guest/VM Anup Patel
2023-09-20  7:46   ` Andrew Jones
2023-09-19  3:53 ` [PATCH 4/7] RISC-V: KVM: Allow Zicond " Anup Patel
2023-09-20  7:46   ` Andrew Jones
2023-09-19  3:53 ` [PATCH 5/7] KVM: riscv: selftests: Add senvcfg register to get-reg-list test Anup Patel
2023-09-20  7:50   ` Andrew Jones
2023-09-19  3:53 ` [PATCH 6/7] KVM: riscv: selftests: Add smstateen registers " Anup Patel
2023-09-20  8:13   ` Andrew Jones
2023-09-19  3:53 ` [PATCH 7/7] KVM: riscv: selftests: Add condops extensions " Anup Patel
2023-09-20  8:18   ` Andrew Jones
2023-09-25 13:32     ` Anup Patel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).