Re: [patch 02/37] device: Add device::msi_data pointer and struct msi_device_data

From: Greg Kroah-Hartman
Date: Sat Nov 27 2021 - 07:14:45 EST


On Sat, Nov 27, 2021 at 02:20:09AM +0100, Thomas Gleixner wrote:
> Create struct msi_device_data and add a pointer of that type to struct
> dev_msi_info, which is part of struct device. Provide an allocator function
> which can be invoked from the MSI interrupt allocation code pathes.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ---
> include/linux/device.h | 5 +++++
> include/linux/msi.h | 12 +++++++++++-
> kernel/irq/msi.c | 33 +++++++++++++++++++++++++++++++++
> 3 files changed, 49 insertions(+), 1 deletion(-)

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>