All of lore.kernel.org
 help / color / mirror / Atom feed
* [Query]: PCIe Root Port Error Recovery
@ 2019-11-11  3:31 Yicong Yang
  2019-11-11 15:26 ` Keith Busch
  0 siblings, 1 reply; 2+ messages in thread
From: Yicong Yang @ 2019-11-11  3:31 UTC (permalink / raw)
  To: linux-pci, helgaas, keith.busch

hello,

I found that the root port itself is not handled in pcie_do_recovery() function
and I noticed the commit(bfcb79f) in reset_link(), err.c writes:
"If a Downstream Port (including a Root Port) reports an error, we assume the Port itself is reliable and we need to
reset its downstream link"

Is it real that the root port is always reliable and
How to recover the root ports if it do meet some errors?

Many thanks,
Yang



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Query]: PCIe Root Port Error Recovery
  2019-11-11  3:31 [Query]: PCIe Root Port Error Recovery Yicong Yang
@ 2019-11-11 15:26 ` Keith Busch
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Busch @ 2019-11-11 15:26 UTC (permalink / raw)
  To: Yicong Yang; +Cc: linux-pci, helgaas, keith.busch

On Mon, Nov 11, 2019 at 11:31:59AM +0800, Yicong Yang wrote:
> hello,
> 
> I found that the root port itself is not handled in pcie_do_recovery() function
> and I noticed the commit(bfcb79f) in reset_link(), err.c writes:
> "If a Downstream Port (including a Root Port) reports an error, we assume the Port itself is reliable and we need to
> reset its downstream link"
> 
> Is it real that the root port is always reliable and
> How to recover the root ports if it do meet some errors?

It's only that the path to the port is considered accessible, nothing
more. The port managed to send a notification that the CPU received,
so we assume communication goes both ways.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-11 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11  3:31 [Query]: PCIe Root Port Error Recovery Yicong Yang
2019-11-11 15:26 ` Keith Busch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.