mbox series

[v2,0/4] RISC-V: KVM: Allow Svvptc/Zabha/Ziccrse exts for guests

Message ID cover.1732854096.git.zhouquan@iscas.ac.cn (mailing list archive)
Headers show
Series RISC-V: KVM: Allow Svvptc/Zabha/Ziccrse exts for guests | expand

Message

Quan Zhou Dec. 2, 2024, 3:21 a.m. UTC
From: Quan Zhou <zhouquan@iscas.ac.cn>

Advertise Svvptc/Zabha/Ziccrse extensions to KVM guest
when underlying host supports it.

---
Change since v1:
- Arrange Svvptc in alphabetical order (Andrew)
- Add Reviewed-by tags

---
v1 link:
https://lore.kernel.org/all/cover.1732762121.git.zhouquan@iscas.ac.cn/

Quan Zhou (4):
  RISC-V: KVM: Allow Svvptc extension for Guest/VM
  RISC-V: KVM: Allow Zabha extension for Guest/VM
  RISC-V: KVM: Allow Ziccrse extension for Guest/VM
  KVM: riscv: selftests: Add Svvptc/Zabha/Ziccrse exts to get-reg-list
    test

 arch/riscv/include/uapi/asm/kvm.h                |  3 +++
 arch/riscv/kvm/vcpu_onereg.c                     |  6 ++++++
 tools/testing/selftests/kvm/riscv/get-reg-list.c | 12 ++++++++++++
 3 files changed, 21 insertions(+)