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.