Re: [patch 01/37] device: Move MSI related data into a struct

Greg Kroah-Hartman
2021-11-27T12:13:54Z

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@linutronix.de>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Will Deacon <will@kernel.org>
> Cc: Santosh Shilimkar <ssantosh@kernel.org>
> Cc: iommu@lists.linux-foundation.org
> Cc: dmaengine@vger.kernel.org
> ---
> 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@linuxfoundation.org>