Re: [PATCH] iommufd/device: Fix hwpt at err_unresv in iommufd_device_do_replace()

From: Jason Gunthorpe
Date: Mon Jul 29 2024 - 08:35:53 EST


On Sun, Jul 28, 2024 at 04:36:00PM -0700, Nicolin Chen wrote:
> On Thu, Jul 18, 2024 at 05:13:38AM +0000, Tian, Kevin wrote:
>
> > > From: Nicolin Chen <nicolinc@xxxxxxxxxx>
> > > Sent: Thursday, July 18, 2024 1:02 PM
> > >
> > > The rewind routine should remove the reserved iovas added to the new
> > > hwpt.
> > >
> > > Fixes: 89db31635c87 ("iommufd: Derive iommufd_hwpt_paging from
> > > iommufd_hw_pagetable")
> > > Cc: stable@xxxxxxxxxxxxxxx
> > > Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> >
> > Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
>
> Jason, it seems that we haven't merged this patch, right?
>
> It still applies against v6.11-rc1. So no need of respin.

Yes, I will pick it for the rc1 cycle

Jason