OSDN Git Service

PCI: Add 32 GT/s decoding in some macros
authorYicong Yang <yangyicong@hisilicon.com>
Mon, 17 Feb 2020 11:12:55 +0000 (19:12 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Feb 2020 23:38:30 +0000 (17:38 -0600)
commit9cb3985af63555810bb07de50acdf4170771451d
tree17267189c9e951f0948ffcfeb3729d204df7e6a2
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
PCI: Add 32 GT/s decoding in some macros

Link speed 32.0 GT/s is supported in PCIe r5.0. Add this speed to
PCIE_SPEED2STR() and PCIE_SPEED2MBS_ENC() to correctly decode it.

This is complementary to de76cda215d5 ("PCI: Decode PCIe 32 GT/s link
speed").

Link: https://lore.kernel.org/r/1581937984-40353-2-git-send-email-yangyicong@hisilicon.com
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.h