Re: [PATCH v4 28/28] vfio/xe: Add device specific vfio_pci driver variant for Intel graphics
From: Jason Gunthorpe
Date: Fri Nov 07 2025 - 19:47:56 EST
On Fri, Nov 07, 2025 at 03:10:33AM +0000, Tian, Kevin wrote:
> > To me, it looks like something generic, that will have impact on any
> > device specific driver variant.
> > What am I missing?
> >
> > I wonder if drivers that don't implement the deferred reset trick were
> > ever executed with lockdep enabled.
> >
>
> @Jason, @Yishai, @Shameer, @Giovanni, @Brett:
>
> Sounds it's a right thing to pull back the deferred reset trick into
> every driver. anything overlooked?
It does seem like we should probably do something in the core code to
help this and remove the duplication.
I guess it makes sense the read/write lock would become entangled too.
Jason