diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-12-08 12:13:07 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2023-12-08 16:08:07 +0100 |
commit | 90d270fa720862ee357735b494a0b58643a27061 (patch) | |
tree | 1cdb236123b4de14a5cf5715d6f710c98f9a91a7 | |
parent | 548a6e3b9a3c5814db20acf5bcd3d894ce41b019 (diff) | |
download | pciutils-90d270fa720862ee357735b494a0b58643a27061.tar.gz |
lspci: Add PCIe 6.0 data rate (64 GT/s) also to LnkCap2
While commit 5bdf63b6b1bc ("lspci: Add PCIe 6.0 data rate (64 GT/s)
support") added 64 GT/s support to some registers, LnkCap2 Supported
Link Speeds Vector was not included.
Add PCIe 6.0 data rate bit check also into
cap_express_link2_speed_cap().
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
-rw-r--r-- | ls-caps.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1191,8 +1191,10 @@ static const char *cap_express_link2_speed_cap(int vector) * permitted to skip support for any data rates between 2.5GT/s and the * highest supported rate. */ - if (vector & 0x60) + if (vector & 0x40) return "RsvdP"; + if (vector & 0x20) + return "2.5-64GT/s"; if (vector & 0x10) return "2.5-32GT/s"; if (vector & 0x08) |