]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/eeh: Fix recursive fenced PHB on Broadcom shiner adapter
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 15 Oct 2015 04:22:35 +0000 (15:22 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Oct 2015 09:42:16 +0000 (20:42 +1100)
commit353169acf1858bb2dc3f91475dafabce547de14c
tree67c051037992e6ef1543c2ab5686cb7640cb3275
parentf9433718d6aaecb162639e88150f18367e3ca8f5
powerpc/eeh: Fix recursive fenced PHB on Broadcom shiner adapter

Similar to commit b6541db ("powerpc/eeh: Block PCI config access
upon frozen PE"), this blocks the PCI config space of Broadcom
Shiner adapter until PE reset is completed, to avoid recursive
fenced PHB when dumping PCI config registers during the period
of error recovery.

   ~# lspci -ns 0003:03:00.0
   0003:03:00.0 0200: 14e4:168a (rev 10)
   ~# lspci -s 0003:03:00.0
   0003:03:00.0 Ethernet controller: Broadcom Corporation \
                NetXtreme II BCM57800 1/10 Gigabit Ethernet (rev 10)

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/eeh-powernv.c