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

Christoph Hellwig hch at lst.de
Fri Jul 23 07:45:21 UTC 2021


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.


More information about the Intel-gfx mailing list