Not able to do FLR on avalon streaming PCIe core
Hi,
I am trying to do initiate Function Level Reset, on Avlaon streaming pcie hard IP (2PF and 6VFs), 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:<nu>
3b:00.0 Co-processor: Intel Corporation Device <nu> (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
The flr_pf_active signal - output from Avalon-Streaming PCIe is also zero after doing FLR.
Please suggest is this correct behavior.
Also help us understand what all factors can contribute to this observation.
Regards,
Piyush