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)
commitd86a6d47bcc6b41fe2a4e13313d66a772d00382f
tree8b6ac70688868b6c5eade29b4f708ae5a4aa6554
parentd722e9a51178d42b07555a9420d286dad3341d61
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