Re: [patch 19/33] genirq/msi: Provide msi_desc::msi_data

From: Jason Gunthorpe
Date: Thu Nov 17 2022 - 08:33:46 EST


On Thu, Nov 17, 2022 at 09:48:45AM +0100, Thomas Gleixner wrote:

> > We've used 128 bits for the PCI descriptor, we might as well like
> > everyone have all 128 bits for whatever they want to do
>
> Not sure because we end up with nasty type casts for

Something like:

void *msi_desc_device_priv() {return dec->device_data;}

As netdev does it?

Jason