powerpc/eeh: Enable PCI_COMMAND_MASTER for PCI bridges
authorGavin Shan <shangw@linux.vnet.ibm.com>
Tue, 12 Nov 2013 06:49:21 +0000 (14:49 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Nov 2013 23:33:35 +0000 (10:33 +1100)
commitbf898ec5cbd33be11147743bee27b66b10cb2f85
treebc913203917845a6e381d22598c313899f184c23
parentb4789b8e6be3151a955ade74872822f30e8cd914
powerpc/eeh: Enable PCI_COMMAND_MASTER for PCI bridges

On PHB3, we will fail to fetch IODA tables without PCI_COMMAND_MASTER
on PCI bridges. According to one experiment I had, the MSIx interrupts
didn't raise from the adapter without the bit applied to all upstream
PCI bridges including root port of the adapter. The patch forces to
have that bit enabled accordingly.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
CC: <stable@vger.kernel.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/eeh.c