Query current PCIe mode/speed for a given device
by obobskivich from LinuxQuestions.org on (#5C672)
Hopefully a simple question: is there a way to query what PCIe 'version' or 'mode' a device is actually using? I know lspci -vv can query what the PCIe root supports (e.g. to tell you your motherboard is 1.0 or 2.0 or what have you), but I want to query 'the other way' and see what a device (like an add-in card) is actually negotiating or using. I know the nVidia proprietary driver's 'X Server Settings' application can get this information for supported nVidia GPUs (on the 'GPU' page under 'Graphics Card Information'), but what about for other devices? (and not just GPUs)

