Re: [PATCH 11/12] iommufd: Remove unnecessary IOMMU_DEV_FEAT_IOPF
From: Jason Gunthorpe
Date: Tue Feb 18 2025 - 08:16:07 EST
On Sat, Feb 15, 2025 at 02:32:32PM +0800, Baolu Lu wrote:
> On 2/14/25 15:06, Nicolin Chen wrote:
> > On Fri, Feb 14, 2025 at 02:11:03PM +0800, Lu Baolu wrote:
> > > The iopf enablement has been moved to the iommu drivers. It is unnecessary
> > > for iommufd to handle iopf enablement. Remove the iopf enablement logic to
> > > avoid duplication.
> > >
> > > Signed-off-by: Lu Baolu<baolu.lu@xxxxxxxxxxxxxxx>
> > > ---
> > > drivers/iommu/iommufd/device.c | 1 -
> > > drivers/iommu/iommufd/fault.c | 111 ++++++------------------
> > > drivers/iommu/iommufd/iommufd_private.h | 3 -
> > > 3 files changed, 28 insertions(+), 87 deletions(-)
> > This is in conflict with my fault patches that Jason just took
> > a couple days ago:
> > https://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git/log/?
> > h=for-next
> >
> > I think it needs a rebase, perhaps on the branch mentioned here:
> > https://lore.kernel.org/linux-iommu/20250213150836.GC3754072@xxxxxxxxxx/
>
> Yes, sure. I will rebase it in the next version to avoid the conflict.
That's troublesome, I think just leave it so Joerg can pick it up. We
can figure out what to do with the conflict later.
Jason