From: Paul Mackerras <paulus@samba.org>
To: "Nguyen, Tom L" <tom.l.nguyen@intel.com>
Cc: "Benjamin Herrenschmidt" <benh@kernel.crashing.org>,
Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>,
Greg KH <greg@kroah.com>,
linux-kernel@vger.kernel.org, ak@muc.de,
linuxppc64-dev <linuxppc64-dev@ozlabs.org>,
linux-pci@atrey.karlin.mff.cuni.cz
Subject: RE: PCI Error Recovery API Proposal. (WAS:: [PATCH/RFC] PCIErrorRecovery)
Date: Fri, 18 Mar 2005 15:01:11 +1100 [thread overview]
Message-ID: <16954.21127.536184.940537@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <C7AB9DA4D0B1F344BF2489FA165E5024080FDC40@orsmsx404.amr.corp.intel.com>
Nguyen, Tom L writes:
> We decided to implement PCI Express error handling based on the PCI
> Express specification in a platform independent manner. This allows any
> platform that implements PCI Express AER per the PCI SIG specification
> can take advantage of the advanced features, much like SHPC hot-plug or
> PCI Express hot-plug implementations.
Does the PCI Express AER specification define an API for drivers?
> For PCI Express the endpoint device driver can take recovery action on
> its own, depending on the nature of the error so long as it does not
> affect the upstream device. This can include endpoint device resets.
Likewise, with EEH the device driver could take recovery action on its
own. But we don't want to end up with multiple sets of recovery code
in drivers, if possible. Also we want the recovery code to be as
simple as possible, otherwise driver authors will get it wrong.
> To support the AER driver calling an upstream device to initiate a reset
> of the link we need a specific callback since the driver doing the reset
> is not the driver who got the error. In the case of general PCI this
I would see the AER driver as being included in the "platform" code.
The AER driver would be be closely involved in the recovery process.
What is the state of a link during the time between when an error is
detected and when a link reset is done? Is the link usable? What
happens if you try to do a MMIO read from a device downstream of the
link?
Regards,
Paul.
next prev parent reply other threads:[~2005-03-18 4:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-17 18:53 Nguyen, Tom L
2005-03-18 2:43 ` Benjamin Herrenschmidt
2005-03-18 4:01 ` Paul Mackerras [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-03-18 19:29 PCI Error Recovery API Proposal. (WAS:: [PATCH/RFC]PCIErrorRecovery) Nguyen, Tom L
2005-03-18 18:33 Nguyen, Tom L
2005-03-18 17:24 Nguyen, Tom L
2005-03-18 18:10 ` Grant Grundler
2005-03-18 23:13 ` Benjamin Herrenschmidt
2005-03-18 17:17 Nguyen, Tom L
2005-03-17 18:33 PCI Error Recovery API Proposal. (WAS:: [PATCH/RFC] PCIErrorRecovery) Nguyen, Tom L
2005-03-17 22:57 ` Benjamin Herrenschmidt
2005-03-18 3:22 ` Paul Mackerras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16954.21127.536184.940537@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=ak@muc.de \
--cc=benh@kernel.crashing.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
--cc=linuxppc64-dev@ozlabs.org \
--cc=seto.hidetoshi@jp.fujitsu.com \
--cc=tom.l.nguyen@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®