Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17043 Discussions

Doing FLR makes the pcie device hang

pdewanga
Employee
2,118 Views

I am trying to do initiate Function Level Reset, on Avlaon streaming pcie hard IP,  using setpci command and if I try to read the device back using lspci command the device is hang with ff as shown below, 

lspci -v -d:11e1
3b:00.0 Co-processor: Intel Corporation Device 11e1 (rev ff) (prog-if ff)
!!! Unknown header type 7f

------------------------------------------------------------------------------------------------

I am doing the FLR using setpci as :

setpci -s 3b:00.0 0x78.W
2037
setpci -s 3b:00.0 0x78.W=0xa037
setpci -s 3b:00.0 0x78.W
ffff

 

Can anyone tell the reason why the device is hung up like this? 

Labels (2)
0 Kudos
7 Replies
Wincent_Altera
Employee
2,089 Views

Hi,


Can I know which device that you are using ?

also, which tile of AVST example that you are referring to ?




0 Kudos
pdewanga
Employee
2,077 Views

Hi,

 

The device is 1SG10MHN3F74C2LG

Using the Intel L-/H-Tile Avalon streaming for PCI Express

0 Kudos
Wincent_Altera
Employee
2,047 Views

Hi,


Do you check LTSSM signal and ensure the card is able to link up ?

Other than that, you may check the DIP switch and ensure that it is set to default setting.


If not, I would like to suggest you to regenerate a new design example in the IP catalog and see if the same.

Looking forward to hear back from you.


Regards,

Wincent_Intel


0 Kudos
Wincent_Altera
Employee
2,018 Views

Hi,

 

I wish to follow up with you about this case.

Do you have any further questions on this matter ?

​​​​​​​Else I would like to have your permission to close this forum ticket

 

Regards,

Wincent_Intel


0 Kudos
Wincent_Altera
Employee
1,964 Views

Hi

 

We have not hear from you and this Case is idling. It is not recommended to idle for too long.

Therefore following our support policy, I have to put this case in close status. My apologies if any inconvenience cause

Hence, This thread will be transitioned to community support.

If you have a new question, feel free to open a new thread to get support from Intel experts.

Otherwise, the community users will continue to help you on this thread. Thank you

If your support experience falls below a 9 out of 10, I kindly request the opportunity to rectify it before concluding our interaction. If the issue cannot be resolved, please inform me of the cause so that I can learn from it and strive to enhance the quality of future service experiences. 

 

Regards,

Wincent_Intel


0 Kudos
pdewanga
Employee
1,905 Views

Hi, 

 

Do you check LTSSM signal and ensure the card is able to link up ?

Response- I tried capturing the LTSSM and link up signal on FPGA board after I do FLR.

The link is up and LTSSM value is 11. 

 

Other than that, you may check the DIP switch and ensure that it is set to default setting.

Response - Can you please provide more details of the DIP switch?

 

If not, I would like to suggest you to regenerate a new design example in the IP catalog and see if the same.

Response- I will do it and confirm. 

 

Regards,

 

0 Kudos
pdewanga
Employee
1,881 Views

Hi Wincent_Intel,

I tried regenerating the Quartus IP and there also I am seeing same behavior. 

One more finding

The flr_pf_active signal - output from Avalon-Streaming PCIe is zero after doing FLR.  

 

pdewanga_0-1689669612627.png

 

Please suggest is this correct behavior ?

 

-Regards,

Piyush

0 Kudos
Reply