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

Greg Kroah-Hartman
2021-11-27T12:14:41Z

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@linutronix.de>
> ---
> 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@linuxfoundation.org>