]> git.baikalelectronics.ru Git - kernel.git/commit
device: Move MSI related data into a struct
authorThomas Gleixner <tglx@linutronix.de>
Fri, 10 Dec 2021 22:18:54 +0000 (23:18 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:16:38 +0000 (22:16 +0100)
commit3f06f0f5016be2726e07076ca0e4d3716276783b
tree52a9518cfc4df6a48be086ada1e175bb3ec4b83d
parent669311df7daf964ec8cf09060a8f42c64862880c
device: Move MSI related data into a struct

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>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20211210221813.617178827@linutronix.de
drivers/base/platform-msi.c
drivers/dma/ti/k3-udma.c
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
drivers/irqchip/irq-mvebu-icu.c
drivers/soc/ti/k3-ringacc.c
drivers/soc/ti/ti_sci_inta_msi.c
include/linux/device.h