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