powerpc/pci: Fix regression in powerpc MSI-X
authorAndre Detsch <adetsch@br.ibm.com>
Wed, 4 Nov 2009 15:03:19 +0000 (13:03 -0200)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Nov 2009 06:06:27 +0000 (17:06 +1100)
commit8435b027b87a78145992c37b0b8ed0f1b7761bf0
treef0972989a6b199079503294b20c25f81713c062c
parent978d7eb31d44de34a7f71e04ed4158f3f854688d
powerpc/pci: Fix regression in powerpc MSI-X

Patch f598282f5145036312d90875d0ed5c14b49fd8a7 exposed a problem in
powerpc MSI-X functionality, making network interfaces such as ixgbe
and cxgb3 stop to work when MSI-X is enabled. RX interrupts were not
being generated.

The problem was caused because MSI irq was not being effectively
unmasked after device initialization.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/msi.c
arch/powerpc/platforms/pseries/xics.c