]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries/pci: Introduce rtas_prepare_msi_irqs()
authorCédric Le Goater <clg@kaod.org>
Thu, 1 Jul 2021 13:27:20 +0000 (15:27 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 10 Aug 2021 13:14:57 +0000 (23:14 +1000)
commitb893e87dcc526d6d94cdd20deb9e805dd9ff952e
tree4e38d6c097d81bb809ba49562ae6fea2b9a3052d
parent40519833db0ab0bcf3bd9ada48d248544788b8b2
powerpc/pseries/pci: Introduce rtas_prepare_msi_irqs()

This splits the routine setting the MSIs in two parts: allocation of
MSIs for the PCI device at the FW level (RTAS) and the actual mapping
and activation of the IRQs.

rtas_prepare_msi_irqs() will serve as a handler for the PCI MSI domain.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210701132750.1475580-3-clg@kaod.org
arch/powerpc/platforms/pseries/msi.c