[PATCH v6 14/16] RISC-V: KVM: Enable KVM_VFIO interfaces on RISC-V arch
Anup Patel
anup at brainfault.org
Fri Sep 25 08:51:09 PDT 2026
On Fri, Sep 25, 2026 at 8:47 PM Andrew Jones
<andrew.jones at oss.qualcomm.com> wrote:
>
> From: Tomasz Jeznach <tjeznach at rivosinc.com>
>
> Enable KVM/VFIO support on RISC-V architecture, now that VFIO device
> assignment is available on RISC-V through VFIO_IOMMU_TYPE1, so a
> RISC-V KVM guest can be notified about VFIO-assigned devices.
>
> Signed-off-by: Tomasz Jeznach <tjeznach at rivosinc.com>
> Signed-off-by: Andrew Jones <andrew.jones at oss.qualcomm.com>
> Reviewed-by: Nutty Liu <nutty.liu at hotmail.com>
> Tested-by: Fangyu Yu <fangyu.yu at linux.alibaba.com>
LGMT.
Reviewed-by: Anup Patel <anup at brainfault.org>
Acked-by: Anup Patel <anup at brainfault.org>
Thanks,
Anup
> ---
> arch/riscv/kvm/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/riscv/kvm/Kconfig b/arch/riscv/kvm/Kconfig
> index ec2cee0a39e0..49179aae9504 100644
> --- a/arch/riscv/kvm/Kconfig
> +++ b/arch/riscv/kvm/Kconfig
> @@ -29,6 +29,7 @@ config KVM
> select KVM_GENERIC_DIRTYLOG_READ_PROTECT
> select KVM_GENERIC_HARDWARE_ENABLING
> select KVM_MMIO
> + select KVM_VFIO
> select VIRT_XFER_TO_GUEST_WORK
> select SCHED_INFO
> select GUEST_PERF_EVENTS if PERF_EVENTS
> --
> 2.43.0
>
More information about the linux-riscv
mailing list