powerpc/eeh: Don't collect logs on PE with blocked config space
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 1 Oct 2014 07:07:54 +0000 (17:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Oct 2014 00:27:21 +0000 (11:27 +1100)
commitc59004cc83c3f8b182c32ca9d366d222a59ab63f
treef376cfefd5d1eb0324ebdc4f95b62b2c8846a68f
parentb6541db1395298b326ae1bf59fae6fbb2c6e8f77
powerpc/eeh: Don't collect logs on PE with blocked config space

When the PE's config space is marked as blocked, PCI config read
requests always return 0xFF's. It's pointless to collect logs in
this case.

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