]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv/pci: Customize the MSI EOI handler to support PHB3
authorCédric Le Goater <clg@kaod.org>
Thu, 1 Jul 2021 13:27:39 +0000 (15:27 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 10 Aug 2021 13:15:00 +0000 (23:15 +1000)
commit243cbb1a19b1c3bce7c445613ec8b33062b0a611
tree56d2fba567b5929a669c745989030cbcc23d0893
parent63b25186ba86625f36b0a1fc486350827eb2442d
powerpc/powernv/pci: Customize the MSI EOI handler to support PHB3

PHB3s need an extra OPAL call to EOI the interrupt. The call takes an
OPAL HW IRQ number but it is translated into a vector number in OPAL.
Here, we directly use the vector number of the in-the-middle "PNV-MSI"
domain instead of grabbing the OPAL HW IRQ number in the XICS parent
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-22-clg@kaod.org
arch/powerpc/platforms/powernv/pci-ioda.c