powerpc/pseries: Drop config requests in EEH accessors
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 1 Oct 2014 07:07:52 +0000 (17:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Oct 2014 00:27:19 +0000 (11:27 +1100)
commit3409eb4e69e1150202bc4ec61801115da32aa380
tree4721a02db82eb974166a5d2345d919d6b3983c9d
parentd2cfbcd7c8136bc4d944eb64f7f0479dd2b129b8
powerpc/pseries: Drop config requests in EEH accessors

The pSeires EEH config accessors rely on rtas_{read, write}_config()
and the condition to check if the PE's config space is blocked
should be moved to those 2 functions so that config requests from
kernel, userland, EEH core can be dropped to avoid recursive EEH error
if necessary.

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