On Thu, May 27, 2021 at 01:44:52PM +0200, Christoph Hellwig wrote: > On Tue, May 25, 2021 at 09:42:30PM -0300, Jason Gunthorpe wrote: > > On Wed, Apr 28, 2021 at 12:58:29PM -0700, Dan Williams wrote: > > > > > I have an ulterior motive / additional use case in mind here which is > > > the work-in-progress cleanup of the DSA driver. > > > > Well, I worked on it for a while, please take a look at this: > > > > https://github.com/jgunthorpe/linux/commits/device_driver_attach > > > > It makes device_driver_attach() into what this mdev stuff needs, and I > > think improves the sysfs bind file as a side effect. > > This looks great. Please get it out to Greg ASAP! Thanks, I need to test it all carefully it is pretty tricky. You are OK with the funky in/out flag? That was the most ick part Jason