soc: ti: ti_sci_inta_msi: Rework MSI descriptor allocation
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:51:36 +0000 (23:51 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:22:19 +0000 (22:22 +0100)
commit49fbfdc222504b7f0d83a58c13869d599cf8e184
treed3924973761f9a2ea15e61cc0e5106fce4349352
parent68e3183580bea59e764d33283875e5f0adc753f3
soc: ti: ti_sci_inta_msi: Rework MSI descriptor allocation

Protect the allocation properly and use the core allocation and free
mechanism.

No functional change intended.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211206210748.737904583@linutronix.de
drivers/soc/ti/ti_sci_inta_msi.c