Re: [PATCH] Fix pci-e port driver slot_reset bad default returnvalue

From: Jesse Barnes
Date: Mon May 11 2009 - 20:01:26 EST


On Thu, 30 Apr 2009 14:48:29 +0800
"Zhang, Yanmin" <yanmin_zhang@xxxxxxxxxxxxxxx> wrote:

> When an upstream port reports an AER error to root port, kernel
> starts error recovery procedures. The default return value of
> function pcie_portdrv_slot_reset is PCI_ERS_RESULT_NONE. If all
> port service drivers of the downstream port under the upstream
> port have no slot_reset method in pci_error_handlers, aer recovery
> would stop without resume. Below patch against 2.6.30-rc3 fixes it.
>
> ïSigned-off-by: ïZhang Yanmin <yanmin.zhang@xxxxxxxxxxxxxxx>

This one is in my for-linus branch now. Thanks.

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/