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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Sat Nov 27 04:11:47 PST 2021


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



More information about the linux-arm-kernel mailing list