[RFC PATCH 11/11] iommu/riscv: support nested iommu for getting iommu hardware information

Jason Gunthorpe jgg at ziepe.ca
Tue Apr 28 06:39:42 PDT 2026


On Tue, Apr 28, 2026 at 09:13:59PM +0800, fangyu.yu at linux.alibaba.com wrote:
> From: Zong Li <zong.li at sifive.com>
> 
> This patch implements .hw_info operation and the related data
> structures for passing the IOMMU hardware capabilities for iommufd.
> 
> Signed-off-by: Zong Li <zong.li at sifive.com>
> Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
> Signed-off-by: Fangyu Yu <fangyu.yu at linux.alibaba.com>
> ---
>  drivers/iommu/riscv/iommu.c  | 19 +++++++++++++++++++
>  include/uapi/linux/iommufd.h | 18 ++++++++++++++++++
>  2 files changed, 37 insertions(+)

This has nothing to do with dirty tracking. It should go with a series
introducing viommu.

Jason



More information about the linux-riscv mailing list