Re: [PATCH v4 11/12] iommu/vt-d: Implement hw_info for iommu capability query

From: Jason Gunthorpe
Date: Tue Aug 15 2023 - 12:32:32 EST


On Mon, Jul 24, 2023 at 04:13:33AM -0700, Yi Liu wrote:
> Add intel_iommu_hw_info() to report cap_reg and ecap_reg information.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx>
> ---
> drivers/iommu/intel/iommu.c | 19 +++++++++++++++++++
> include/uapi/linux/iommufd.h | 23 +++++++++++++++++++++++
> 2 files changed, 42 insertions(+)

I would like to pick this patch out of this series to go with the main
get_info stuff so that we have drivers implementing what is merged. I
made the trivial fixup.

Lu are you OK?

Thanks,
Jason