[PATCH v2 07/14] vfio/platform: Use open_device() instead of open coding a refcnt scheme

Jason Gunthorpe jgg at nvidia.com
Fri Jul 23 12:23:12 UTC 2021


On Fri, Jul 23, 2021 at 09:45:21AM +0200, Christoph Hellwig wrote:
> Looks good,
> 
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> 
> On Tue, Jul 20, 2021 at 02:42:53PM -0300, Jason Gunthorpe wrote:
> > Platform simply wants to run some code when the device is first
> > opened/last closed. Use the core framework and locking for this.  Aside
> > from removing a bit of code this narrows the locking scope from a global
> > lock.
> > 
> > Signed-off-by: Yishai Hadas <yishaih at nvidia.com>
> 
> Btw, this seems to miss the second from line for Yishai, which should
> match the first signoff.

Hum, I think we ended up co-developing this on, I can reorder the signed
off's

Jason


More information about the dri-devel mailing list