RE: [PATCH v4 15/15] vfio: Add struct device to vfio_device

From: Tian, Kevin
Date: Thu Sep 29 2022 - 22:04:02 EST


> From: Alex Williamson <alex.williamson@xxxxxxxxxx>
> Sent: Friday, September 30, 2022 2:24 AM
>
> On Thu, 29 Sep 2022 14:49:56 -0300
> Jason Gunthorpe <jgg@xxxxxxxx> wrote:
>
> > On Thu, Sep 29, 2022 at 10:55:19AM -0600, Alex Williamson wrote:
> > > Hi Kevin,
> > >
> > > This introduced the regression discovered here:
> > >
> > >
> https://lore.kernel.org/all/20220928125650.0a2ea297.alex.williamson@redh
> at.com/
> > >
> > > Seems we're not releasing the resources when removing an mdev. This is
> > > a regression, so it needs to be fixed or reverted before the merge
> > > window. Thanks,
> >
> > My guess at the fix for this:
> >
> > https://lore.kernel.org/r/0-v1-013609965fe8+9d-
> vfio_gvt_unregister_jgg@xxxxxxxxxx
>
> Indeed this seems to work I'll look for acks and further reviews from
> Intel folks. Thanks!
>

Thanks Jason for baking a quick fix! I've acked it.