From: Prabu Thangamuthu Date: Tue, 1 Jul 2025 00:05:09 +0000 (+0000) Subject: ls-caps: Add support to decode Gen7 speed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=HEAD;p=thirdparty%2Fpciutils.git ls-caps: Add support to decode Gen7 speed Updated Link capabilities, Link status and Link capabilities 2 registers decode logic to support PCIe Gen7 speed. Signed-off-by: Prabu Thangamuthu --- diff --git a/ls-caps.c b/ls-caps.c index d0b0c1f..f9d3567 100644 --- a/ls-caps.c +++ b/ls-caps.c @@ -768,6 +768,8 @@ static char *link_speed(int speed) return "32GT/s"; case 6: return "64GT/s"; + case 8: + return "128GT/s"; default: return "unknown"; } @@ -1195,7 +1197,7 @@ static const char *cap_express_link2_speed_cap(int vector) * highest supported rate. */ if (vector & 0x40) - return "RsvdP"; + return "2.5-128GT/s"; if (vector & 0x20) return "2.5-64GT/s"; if (vector & 0x10) @@ -1229,6 +1231,8 @@ static const char *cap_express_link2_speed(int type) return "32GT/s"; case 6: return "64GT/s"; + case 8: + return "128GT/s"; default: return "Unknown"; }