[PATCH 1/3] powerpc/eeh: Ignore error handlers in eeh_pe_reset_and_recover()

Russell Currey ruscur at russell.cc
Fri Apr 22 16:35:59 AEST 2016


On Thu, 2016-04-21 at 21:53 +1000, Gavin Shan wrote:
> The function eeh_pe_reset_and_recover() is used to recover EEH
> error when the passthrou device are transferred to guest and

"passthrou" should be "passthrough"

> backwords, meaning the device's driver is vfio-pci or none.

"backwords" should be "backwards"

> When the driver is vfio-pci that provides error_detected() error
> handler only, the handler simply stops the guest and it's not
> expected behaviour. On the other hand, no error handlers will
> be called if we don't have a bound driver.
> 
> This ignores all error handlers provided by device driver in
> eeh_pe_reset_and_recover() to avoid the exceptional behaviour.
> 
> Fixes: 5cfb20b9 ("powerpc/eeh: Emulate EEH recovery for VFIO devices")
> Cc: stable at vger.kernel.org #v3.18+
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
> ---

Reviewed-by: Russell Currey <ruscur at russell.cc>


More information about the Linuxppc-dev mailing list