From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from galois.linutronix.de (Galois.linutronix.de. [2a0a:51c0:0:12e:550::1]) by gmr-mx.google.com with ESMTPS id e15si98951ljg.0.2021.12.01.12.26.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 12:26:48 -0800 (PST) From: Thomas Gleixner Subject: Re: [patch 21/32] NTB/msi: Convert to msi_on_each_desc() In-Reply-To: <20211201184726.GN4670@nvidia.com> References: <874k7ueldt.ffs@tglx> <6ba084d6-2b26-7c86-4526-8fcd3d921dfd@deltatee.com> <87ilwacwp8.ffs@tglx> <87v909bf2k.ffs@tglx> <20211130202800.GE4670@nvidia.com> <87o861banv.ffs@tglx> <871r2w9y3x.ffs@tglx> <20211201151121.GL4670@nvidia.com> <87sfvc893n.ffs@tglx> <20211201184726.GN4670@nvidia.com> Date: Wed, 01 Dec 2021 21:26:47 +0100 Message-ID: <87h7bs841k.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain To: Jason Gunthorpe Cc: Logan Gunthorpe , LKML , Bjorn Helgaas , Marc Zygnier , Alex Williamson , Kevin Tian , Megha Dey , Ashok Raj , linux-pci@vger.kernel.org, Greg Kroah-Hartman , Jon Mason , Dave Jiang , Allen Hubbe , linux-ntb@googlegroups.com, linux-s390@vger.kernel.org, Heiko Carstens , Christian Borntraeger , x86@kernel.org List-ID: 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.