Jason, On Mon, Dec 06 2021 at 10:19, Jason Gunthorpe wrote: > On Sat, Dec 04, 2021 at 03:20:36PM +0100, Thomas Gleixner wrote: >> even try to make the irqchip/domain code mangled into the other device >> code. It should create the irqdomain with the associated chip and that >> creation process returns a cookie which is passed to the actual device >> specific code. Allocation then can use that cookie and not the irqdomain >> pointer itself. > > Sounds like your cookie == my msi_table? Maybe we are all agreeing at > this point then? I think so. It's going to be something the driver can use as a reference. Same for the actual interrupt allocated through this domain reference. >> So thanks for being patient in educating me here. > > I'm happy you got something out of all these words! Definitely so. That's why we are having these discussions, right? The shiny irq subsystem is not so shiny when the drivers cannot use it. OTOH, it's often enough the case that driver folks want to use it the wrong way just because. > Yes, it is amazing how many patches this is at already. Don't worry. You'll get a few more patch bombs in your inbox until IMS is supported, unless you want to be "unsubscribed". Thanks, tglx