]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7cea90307cca37e1432954168096a8590f37d6da
treebc913203917845a6e381d22598c313899f184c23
parentc016ca6b85aee47da7b73ae1941e85baac285913
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