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

From: Jason Gunthorpe

Date: Tue Apr 28 2026 - 09:48:16 EST


On Tue, Apr 28, 2026 at 09:13:59PM +0800, fangyu.yu@xxxxxxxxxxxxxxxxx wrote:
> From: Zong Li <zong.li@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Signed-off-by: Fangyu Yu <fangyu.yu@xxxxxxxxxxxxxxxxx>
> ---
> 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