lkml.org 
[lkml]   [2005]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: PCI Error Recovery API Proposal. (WAS:: [PATCH/RFC]PCIErrorRecovery)
Date
From
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:11    [W:0.512 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site