powerpc/pci: Fix regression in powerpc MSI-X
commit01ab8be189e37f37ede8bd9532bd22198062d631
authorAndre Detsch <adetsch@br.ibm.com>
Wed, 4 Nov 2009 15:03:19 +0000 (4 13:03 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:23:14 +0000 (9 16:23 -0800)
tree010ae51091794ac5605406dfd4740ff7f8cee0f6
parent6b05a888adf307827a8cc960a6f660555bf9a683
powerpc/pci: Fix regression in powerpc MSI-X

commit 8435b027b87a78145992c37b0b8ed0f1b7761bf0 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/platforms/pseries/msi.c
arch/powerpc/platforms/pseries/xics.c