Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> 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@xxxxxxxxxx> Btw, this seems to miss the second from line for Yishai, which should match the first signoff.