[PATCH 0/4] RISC-V: KVM: Add Zicfiss/Zicfilp support

zhouquan@iscas.ac.cn posted 4 patches 20 hours ago
arch/riscv/include/asm/csr.h                  |   1 +
arch/riscv/include/asm/kvm_host.h             |   3 +-
arch/riscv/include/uapi/asm/kvm.h             |   5 +
arch/riscv/kvm/vcpu.c                         |   6 +
arch/riscv/kvm/vcpu_exit.c                    |   3 +
arch/riscv/kvm/vcpu_onereg.c                  |   2 +
arch/riscv/kvm/vcpu_sbi_fwft.c                | 129 ++++++++++++++++++
.../selftests/kvm/riscv/get-reg-list.c        |  26 ++++
8 files changed, 174 insertions(+), 1 deletion(-)
[PATCH 0/4] RISC-V: KVM: Add Zicfiss/Zicfilp support
Posted by zhouquan@iscas.ac.cn 20 hours ago
From: Quan Zhou <zhouquan@iscas.ac.cn>

This patchset is based on `riscv control-flow integrity for usermode` [1].
Add Zicfiss/Zicfilp [2] and sbi fwft [3] support for riscv kvm.

[1] - https://lore.kernel.org/all/20251112-v5_user_cfi_series-v23-0-b55691eacf4f@rivosinc.com/
[2] - https://github.com/riscv/riscv-cfi
[3] - https://github.com/riscv-non-isa/riscv-sbi-doc/blob/master/src/ext-firmware-features.adoc

Quan Zhou (4):
  RISC-V: KVM: Allow zicfiss/zicfilp exts for Guest/VM
  RISC-V: KVM: Add support for software check exception
  RISC-V: KVM: Add suuport for zicfiss/zicfilp/svadu FWFT features
  KVM: riscv: selftests: Add zicfiss/zicfilp/svadu and SBI FWFT to
    get-reg-list test

 arch/riscv/include/asm/csr.h                  |   1 +
 arch/riscv/include/asm/kvm_host.h             |   3 +-
 arch/riscv/include/uapi/asm/kvm.h             |   5 +
 arch/riscv/kvm/vcpu.c                         |   6 +
 arch/riscv/kvm/vcpu_exit.c                    |   3 +
 arch/riscv/kvm/vcpu_onereg.c                  |   2 +
 arch/riscv/kvm/vcpu_sbi_fwft.c                | 129 ++++++++++++++++++
 .../selftests/kvm/riscv/get-reg-list.c        |  26 ++++
 8 files changed, 174 insertions(+), 1 deletion(-)

-- 
2.34.1