[PATCH] Set error_state to pci_channel_io_normal in eeh_report_reset()

Paul Mackerras paulus at samba.org
Wed Apr 15 16:08:37 EST 2009


Mike Mason writes:

> diff --git a/arch/powerpc/platforms/pseries/eeh_driver.c 
> b/arch/powerpc/platforms/pseries/eeh_driver.c
> index 380420f..9a2a6e3 100644
> --- a/arch/powerpc/platforms/pseries/eeh_driver.c
> +++ b/arch/powerpc/platforms/pseries/eeh_driver.c
> @@ -182,6 +182,8 @@ static void eeh_report_reset(struct pci_dev *dev, 
> void *userdata)
> if (!driver)
> return;
> 
> + dev->error_state = pci_channel_io_normal;
> +
> eeh_enable_irq(dev);
> 
> if (!driver->err_handler ||

Your mail client totally mangled the whitespace.  I fixed it up and
applied it, since the patch was small, but in future please fix your
mail client so it doesn't do that.

It sounds like this patch needs to be applied to earlier kernel
versions -- do you agree?

Paul.



More information about the Linuxppc-dev mailing list