PCI Error Recovery API Proposal. (WAS:: [PATCH/RFC]PCIErrorRecovery)
Nguyen, Tom L
tom.l.nguyen at intel.com
Sat Mar 19 04:17:49 EST 2005
On Thursday, March 17, 2005 6:44 PM Benjamin Herrenschmidt wrote:
>I have difficulties following all of your previous explanations, I must
>admit. My point here is I'd like you to find out if the API can fit on
>the driver side, and if not, what would need to be changed.
In summary, we agreed that the API you propose should be:
int (*error_handler)(struct pci_dev *dev, union error_src *);
I believe this API works for most of PCI Express needs. The only
addition PCI Express needs is a mechanism for the AER code to request a
port bus driver to perform a downstream link reset when an error occurs
on that downstream link. For example, you can add the
PCIERR_ERROR_PORT_RESET message with the return is either
PCIERR_RESULT_RECOVERED or PCIERR_RESULT_DISCONNECT to fit PCI Express
needs.
Thanks,
Long
More information about the Linuxppc64-dev
mailing list