[PATCH 0/5] RISC-V: KVM: Allow zicop/bfloat16 exts for guest

zhouquan at iscas.ac.cn zhouquan at iscas.ac.cn
Tue Jun 17 06:10:10 PDT 2025


From: Quan Zhou <zhouquan at iscas.ac.cn>

Advertise zicop/bfloat16 extensions to KVM guest when underlying
host supports it, and add them to get-reg-list test.

Quan Zhou (5):
  RISC-V: KVM: Provide UAPI for Zicbop block size
  RISC-V: KVM: Allow Zicbop extension for Guest/VM
  RISC-V: KVM: Allow bfloat16 extension for Guest/VM
  KVM: riscv: selftests: Add Zicbop extension to get-reg-list test
  KVM: riscv: selftests: Add bfloat16 extension to get-reg-list test

 arch/riscv/include/uapi/asm/kvm.h             |  5 ++++
 arch/riscv/kvm/vcpu_onereg.c                  | 19 ++++++++++++++
 .../selftests/kvm/riscv/get-reg-list.c        | 25 +++++++++++++++++++
 3 files changed, 49 insertions(+)

-- 
2.34.1




More information about the kvm-riscv mailing list