powerpc/eeh: Avoid event on passed PE
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 10 Jun 2014 01:41:55 +0000 (11:41 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Aug 2014 05:28:47 +0000 (15:28 +1000)
commit05ec424e38fbba43829820b8f3634154f812e67e
tree3adea52ae78ec67819c5cde299436fa4c4fd37c7
parent9287b95ec9ded0a4458094ebd967502263d80112
powerpc/eeh: Avoid event on passed PE

We must not handle EEH error on devices which are passed to somebody
else. Instead, we expect that the frozen device owner detects an EEH
error and recovers from it.

This avoids EEH error handling on passed through devices so the device
owner gets a chance to handle them.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/eeh.c
arch/powerpc/platforms/powernv/eeh-ioda.c