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

Comments

Anup Patel Dec. 5, 2024, 6:09 a.m. UTC | #1
On Mon, Dec 2, 2024 at 8:53 AM <zhouquan@iscas.ac.cn> wrote:
>
> 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

Queued this series for 6.14

Thanks,
Anup

>
>  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
>