Re: [PATCH v1 0/2] iommufd: Allocate attach_handle for any HWPT
From: Jason Gunthorpe
Date: Tue Feb 11 2025 - 13:21:59 EST
On Mon, Feb 03, 2025 at 09:00:53PM -0800, Nicolin Chen wrote:
> An attach_handle is a hwpt->fault specific thing, so the fault.c has been
> holding a set of attach/detach/replace helpers for attach_handle and iopf
> enabling/disabling.
>
> Now, both the iommufd_msi series [1] and the attach_pasid series [2] want
> to reuse the attach_handle for non-fault cases. Rework the attach_handle,
> to prepare for either of the series. It should be merged with either that
> gets merged first.
>
> [1] https://lore.kernel.org/linux-iommu/cover.1736550979.git.nicolinc@xxxxxxxxxx/
> [2] https://lore.kernel.org/linux-iommu/20241219132746.16193-1-yi.l.liu@xxxxxxxxx/
>
> Patches in this series are from [1] with some fixes addressing the review
> comments.
Applied, the other patches can rebase on top of this
Thanks,
Jason