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

From: Tian, Kevin
Date: Wed Nov 23 2022 - 03:27:43 EST


> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Sent: Monday, November 21, 2022 10:38 PM
>
> The upcoming support for PCI/IMS requires to store some information
> related
> to the message handling in the MSI descriptor, e.g. PASID or a pointer to a
> queue.
>
> Provide a generic storage struct which maps over the existing PCI specific
> storage which means the size of struct msi_desc is not getting bigger.
>
> It contains a iomem pointer for device memory based IMS and a union of a
> u64 and a void pointer which allows the device specific IMS implementations
> to store the necessary information.

stale comment.

>
> The iomem pointer is set up by the domain allocation functions.
>
> The data union msi_dev_cookie is going to be handed in when allocating an

no msi_dev_cookie now.