[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1764509485.git.zhouquan@iscas.ac.cn>
Date: Mon, 1 Dec 2025 09:28:04 +0800
From: zhouquan@...as.ac.cn
To: anup@...infault.org,
ajones@...tanamicro.com,
atishp@...shpatra.org,
paul.walmsley@...ive.com,
palmer@...belt.com
Cc: linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org,
kvm@...r.kernel.org,
kvm-riscv@...ts.infradead.org,
Quan Zhou <zhouquan@...as.ac.cn>
Subject: [PATCH 0/4] RISC-V: KVM: Add Zicfiss/Zicfilp support
From: Quan Zhou <zhouquan@...as.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
Powered by blists - more mailing lists