[RFC PATCH 0/2] RISC-V: KVM: Pointer Masking Support
From: Samuel Holland
Date: Fri Jan 10 2025 - 19:47:20 EST
This series adds support for pointer masking in VS-mode inside KVM
guests using the SBI FWFT extension. This series applies on top of
Clément's "riscv: add SBI FWFT misaligned exception delegation support"
series[1], which adds the necessary infrastructure.
[1]: https://lore.kernel.org/linux-riscv/20250106154847.1100344-1-cleger@xxxxxxxxxxxx/
Samuel Holland (2):
RISC-V: KVM: Fix inclusion of Smnpm in the guest ISA bitmap
RISC-V: KVM: Add support for SBI_FWFT_POINTER_MASKING_PMLEN
arch/riscv/include/asm/kvm_vcpu_sbi_fwft.h | 2 +
arch/riscv/kvm/vcpu_onereg.c | 84 ++++++++++++++--------
arch/riscv/kvm/vcpu_sbi_fwft.c | 70 +++++++++++++++++-
3 files changed, 124 insertions(+), 32 deletions(-)
--
2.47.0