How to read PCIe Flow Control Credits?

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

How to read PCIe Flow Control Credits?

2,316 次查看
coreykirschbaum
Contributor I

I have been getting Linux AER PCIe Bus Error related with Completion Timeout when I attempt fast PCIe transactions (read).  I have tried increasing the completion timeout value.  We were able to investigated the flow control credits by probing our FPGA and saw that the credits are going down to zero.  The bus error cases the system to halt. 

We are wondering if there was a way to read the flow control credits on QorIQ LS1088A SOC so we can use this to control when to perform the next PCIe transaction.

标签 (1)
0 项奖励
回复
1 回复

1,482 次查看
coreykirschbaum
Contributor I

I fixed this issue by updating the Xilinx AXI-to-PCIe IP bridge from the pre-production version to the production version.

Note: linux has the pci_wait_for_pending_transaction() function.

0 项奖励
回复