Re: [PATCH v8 00/29] iommufd: Add vIOMMU infrastructure (Part-4 HW QUEUE)

Jason Gunthorpe
2025-07-09T17:33:24Z

On Fri, Jul 04, 2025 at 06:13:16PM -0700, Nicolin Chen wrote:
> Nicolin Chen (29):
> iommufd: Report unmapped bytes in the error path of
> iopt_unmap_iova_range
> iommufd: Correct virt_id kdoc at struct iommu_vdevice_alloc
> iommufd/viommu: Explicitly define vdev->virt_id
> iommu: Use enum iommu_hw_info_type for type in hw_info op
> iommu: Add iommu_copy_struct_to_user helper
> iommu: Pass in a driver-level user data structure to viommu_init op
> iommufd/viommu: Allow driver-specific user data for a vIOMMU object
> iommufd/selftest: Support user_data in mock_viommu_alloc
> iommufd/selftest: Add coverage for viommu data
> iommufd/access: Add internal APIs for HW queue to use
> iommufd/access: Bypass access->ops->unmap for internal use
> iommufd/viommu: Add driver-defined vDEVICE support
> iommufd/viommu: Introduce IOMMUFD_OBJ_HW_QUEUE and its related struct
> iommufd/viommu: Add IOMMUFD_CMD_HW_QUEUE_ALLOC ioctl
> iommufd/driver: Add iommufd_hw_queue_depend/undepend() helpers
> iommufd/selftest: Add coverage for IOMMUFD_CMD_HW_QUEUE_ALLOC
> iommufd: Add mmap interface
> iommufd/selftest: Add coverage for the new mmap interface
> Documentation: userspace-api: iommufd: Update HW QUEUE
> iommu: Allow an input type in hw_info op
> iommufd: Allow an input data_type via iommu_hw_info
> iommufd/selftest: Update hw_info coverage for an input data_type
> iommu/arm-smmu-v3-iommufd: Add vsmmu_size/type and vsmmu_init impl ops
> iommu/arm-smmu-v3-iommufd: Add hw_info to impl_ops
> iommu/tegra241-cmdqv: Use request_threaded_irq
> iommu/tegra241-cmdqv: Simplify deinit flow in
> tegra241_cmdqv_remove_vintf()
> iommu/tegra241-cmdqv: Do not statically map LVCMDQs
> iommu/tegra241-cmdqv: Add user-space use support
> iommu/tegra241-cmdqv: Add IOMMU_VEVENTQ_TYPE_TEGRA241_CMDQV support

I've dropped this in linux-next with the little fix I mentioned.

If there are further remarks before the merge window please send a v9

Thanks,
Jason