]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Ignore handlers in eeh_pe_reset_and_recover()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 27 Apr 2016 01:14:52 +0000 (11:14 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 12 May 2016 09:52:20 +0000 (19:52 +1000)
commite3b0be6e3df64f19db1c3b4c31c405c678f205ab
tree9adca30cd3678569f84de50a81eb61856ea82d7c
parentbe2392613b02c487fa4cc077576d3dbca40946c1
powerpc/eeh: Ignore handlers in eeh_pe_reset_and_recover()

The function eeh_pe_reset_and_recover() is used to recover EEH
error when the passthrough device are transferred to guest and
backwards, meaning the device's driver is vfio-pci or none. In
both cases, the handlers triggered by eeh_report_reset() and
eeh_report_resume() shouldn't be called.

This ignores the error handlers from eeh_report_reset() and
eeh_report_resume().

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh_driver.c