Re: [patch 01/37] device: Move MSI related data into a struct
From: Greg Kroah-Hartman
Date: Sat Nov 27 2021 - 07:14:01 EST
On Sat, Nov 27, 2021 at 02:20:08AM +0100, Thomas Gleixner wrote:
> The only unconditional part of MSI data in struct device is the irqdomain
> pointer. Everything else can be allocated on demand. Create a data
> structure and move the irqdomain pointer into it. The other MSI specific
> parts are going to be removed from struct device in later steps.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: Will Deacon <will@xxxxxxxxxx>
> Cc: Santosh Shilimkar <ssantosh@xxxxxxxxxx>
> Cc: iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx
> Cc: dmaengine@xxxxxxxxxxxxxxx
> ---
> drivers/base/platform-msi.c | 12 ++++++------
> drivers/dma/ti/k3-udma.c | 4 ++--
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +-
> drivers/irqchip/irq-mvebu-icu.c | 6 +++---
> drivers/soc/ti/k3-ringacc.c | 4 ++--
> drivers/soc/ti/ti_sci_inta_msi.c | 2 +-
> include/linux/device.h | 19 +++++++++++++------
> 7 files changed, 28 insertions(+), 21 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>