On Wed, Dec 01 2021 at 14:47, Jason Gunthorpe wrote: > On Wed, Dec 01, 2021 at 07:37:32PM +0100, Thomas Gleixner wrote: >> I picked that because it _is_ already used to establish the connection >> to the switchtec_class NTB driver which is beyond the usual cdev muck. > > IMHO that is also a misuse. These days two drivers should be hooked > together using an aux device, not a cdev and the obscure > class_interface stuff. Aux device supports auto probing and module > auto loading for instance. > > An interrupt on an aux device is at least somewhat conceptually > parallel to an interrupt on a mdev as both are usually representing > some slice of a device. No argument about that.