History

PCI: Decode PCIe 32 GT/s link speed

PCIe r5.0, sec 7.5.3.18, defines a new 32.0 GT/s bit in the Supported Link Speeds Vector of Link Capabilities 2. Decode this new speed. This does not affect the speed of the link, which should be negotiated automatically by the hardware; it only adds decoding when showing the speed to the user. Previously, reading the speed of a link operating at this speed showed "Unknown speed" instead of "32.0 GT/s".

Gustavo Pimentel committed 7 years ago

Commit de76cda1 parent 2d2f4276 files · +13 −2Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/pci.h+1−0
@@ -258,6 +258,7 @@ enum pci_bus_speed { · 257 unmodified lines
258258 PCIE_SPEED_5_0GT = 0x15,
259259 PCIE_SPEED_8_0GT = 0x16,
260260 PCIE_SPEED_16_0GT = 0x17,
261+ PCIE_SPEED_32_0GT = 0x18,
261262 PCI_SPEED_UNKNOWN = 0xff,
262263 };
263264

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t