Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link status has only Gen1*16 #58

Open
libero-x opened this issue Oct 7, 2024 · 7 comments
Open

Link status has only Gen1*16 #58

libero-x opened this issue Oct 7, 2024 · 7 comments

Comments

@libero-x
Copy link

libero-x commented Oct 7, 2024

hello,Alex,when I used the VCU118,it's Link status just has only Gen1*16,I don not know how to solve it.

Screenshot from 2024-10-07 19-37-47

@alexforencich
Copy link
Owner

what are the capabilities of the upstream port? (see lspci -vvv -s 0000:00:01.0)

@libero-x
Copy link
Author

libero-x commented Oct 8, 2024

I think it is Gen3*16,this is the output of command "ls pci"
lspci_vvv

@alexforencich
Copy link
Owner

Have to run lspci -vvv as root to see all of the capability info, specifically the link cap and link status registers

@libero-x
Copy link
Author

libero-x commented Oct 9, 2024

Thank you for reply!This is the detail of "sudo lspci -vvv".Maybe the reason is ASPM disabled?
sudo_lspci

@alexforencich
Copy link
Owner

Probably not power management, dynamically changing the link speed I think is sort of a custom power saving technique that has to be implemented on the device. I suspect either signal integrity or equalization. Are you plugging the card straight into the slot, or are you using an extender? First thing to do is try it without an extender, second thing to do is to force BIOS to fully reinitialize the link by removing the card, booting the system with the slot completely empty, shutting it down, reinstalling the card, and trying again.

@libero-x
Copy link
Author

hello,Alex,I plugg the card straight into the slot before.I have attemped the methed that you give me,but not useful.So I am trying the XDMA ip to accomplish the PCIe,but it's "lspci -vvv"give me 5 lane Err as the following. And I can write or read data from the VCU118 card.The speed only have 8GBps,but the Gen3*16 should >14Gbps. Could you give me some help?
xdma_lspci

@alexforencich
Copy link
Owner

Sorry, I'm not familiar with XDMA. But it uses the same transceivers and hard core, so if that enumerates at gen 3 x16, then the example design should also work at that speed. I'm not sure why you're seeing lane errors, possibly this indicates some sort of signal integrity issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants