]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Drop config requests in EEH accessors
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 1 Oct 2014 07:07:51 +0000 (17:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Oct 2014 00:27:19 +0000 (11:27 +1100)
commitf22a6b008626ce236346b0a2012449ea5b832d47
tree3443a50744df70b7d15a79d0cf1048b75d290682
parent3033a20202738898c9ebbf31fd25f826f3c5a284
powerpc/powernv: Drop config requests in EEH accessors

It's bad idea to access the PCI config registers of the adapters,
which is experiencing reset. It leads to recursive EEH error without
exception. The patch drops PCI config requests in EEH accessors if
the PE has been marked to accept PCI config requests, for example
during PE reseet time.

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