Does a reset of a P1011 bring down a PCIe link?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Does a reset of a P1011 bring down a PCIe link?

763 次查看
stevebelvin
Contributor I

If the P1011 is forced to undergo a reset, does this bring down an active PCIe link?  If so, does the link need to be re-established as if it were starting over from a power-on condition?  Does this hold true for RC and EP operations?

0 项奖励
4 回复数

622 次查看
stevebelvin
Contributor I

What if the unit on the other end of the PCIe from the P1011 goes through a reset and the link comes down.  How does the P1011 know when to re-establish the link (assuming it is the RC)?

0 项奖励

622 次查看
ufedor
NXP Employee
NXP Employee

At the physical level the link is re-trained automatically and no software involvment is needed.

At the system level attempt to access previously enumerated resource will generate an exception wich has to be processed by an OS and the PCI bus has to be re-enumerated.

0 项奖励

622 次查看
stevebelvin
Contributor I

Thank you for this insight.  I am curious how long the link hardware will try to re-train the PCIe before it gives up.  Some worst case reset/loss and reboot processes can take a while (minutes not seconds), especially if power-up self tests are executed prior to enabling the application.  This may be an area worth exploring via testing.

0 项奖励

622 次查看
ufedor
NXP Employee
NXP Employee

Please consider that all the SOC registers (including ATMU) are reset in the described case.

0 项奖励