]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Patch MSI EOI handler on P8
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 25 Apr 2013 19:20:59 +0000 (19:20 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Apr 2013 06:09:59 +0000 (16:09 +1000)
commitb160669e67d87e2fc75bbdfea2f079b4d2116bf7
tree251fb4b23142e8dc05a5824359ba73e383b0434d
parent4b7044de5ef12faea85a16464b4f3d0330834e27
powerpc/powernv: Patch MSI EOI handler on P8

The EOI handler of MSI/MSI-X interrupts for P8 (PHB3) need additional
steps to handle the P/Q bits in IVE before EOIing the corresponding
interrupt. The patch changes the EOI handler to cover that. we have
individual IRQ chip in each PHB instance. During the MSI IRQ setup
time, the IRQ chip is copied over from the original one for that IRQ,
and the EOI handler is patched with the one that will handle the P/Q
bits (As Ben suggested).

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/include/asm/xics.h
arch/powerpc/platforms/powernv/opal-wrappers.S
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/powernv/pci-p5ioc2.c
arch/powerpc/platforms/powernv/pci.c
arch/powerpc/platforms/powernv/pci.h
arch/powerpc/sysdev/xics/icp-native.c