]> git.baikalelectronics.ru Git - kernel.git/commit
bus: fsl-mc: fsl-mc-allocator: Rework MSI handling
authorThomas Gleixner <tglx@linutronix.de>
Fri, 10 Dec 2021 22:19:34 +0000 (23:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:16:41 +0000 (22:16 +0100)
commit395d6eeb721e5eee569b640de5aef5c14b545dc5
tree8b6ac70688868b6c5eade29b4f708ae5a4aa6554
parent50308cc54d00c89cc0548af5f2233ed3e6d0b230
bus: fsl-mc: fsl-mc-allocator: Rework MSI handling

Storing a pointer to the MSI descriptor just to track the Linux interrupt
number is daft. Just store the interrupt number and be done with it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211210221815.207838579@linutronix.de
drivers/bus/fsl-mc/dprc-driver.c
drivers/bus/fsl-mc/fsl-mc-allocator.c
drivers/bus/fsl-mc/fsl-mc-msi.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
drivers/soc/fsl/dpio/dpio-driver.c
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c
include/linux/fsl/mc.h