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

From: zhouquan
Date: Sun Dec 01 2024 - 22:24:12 EST


From: Quan Zhou <zhouquan@xxxxxxxxxxx>

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@xxxxxxxxxxx/

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(+)

--
2.34.1