* [PATCH] lspci: Add PCIe 6.0 data rate (64 GT/s) support
@ 2020-11-18 22:56 Gustavo Pimentel
2020-11-19 9:10 ` Krzysztof Wilczyński
2020-12-06 18:45 ` Martin Mareš
0 siblings, 2 replies; 3+ messages in thread
From: Gustavo Pimentel @ 2020-11-18 22:56 UTC (permalink / raw)
To: Martin Mares, Bjorn Helgaas, linux-pci; +Cc: Joao Pinto, Gustavo Pimentel
This enables "lspci" to show PCIe 6.0 data rate (64 GT/s) properly
according to the contents in register PCI_EXP_LNKCAP, PCI_EXP_LNKSTA
and PCI_EXP_LNKCTL2.
Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
---
ls-caps.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ls-caps.c b/ls-caps.c
index a09b0cf..c4d27d5 100644
--- a/ls-caps.c
+++ b/ls-caps.c
@@ -751,6 +751,8 @@ static char *link_speed(int speed)
return "16GT/s";
case 5:
return "32GT/s";
+ case 6:
+ return "64GT/s";
default:
return "unknown";
}
@@ -1196,6 +1198,8 @@ static const char *cap_express_link2_speed(int type)
return "16GT/s";
case 5:
return "32GT/s";
+ case 6:
+ return "64GT/s";
default:
return "Unknown";
}
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] lspci: Add PCIe 6.0 data rate (64 GT/s) support
2020-11-18 22:56 [PATCH] lspci: Add PCIe 6.0 data rate (64 GT/s) support Gustavo Pimentel
@ 2020-11-19 9:10 ` Krzysztof Wilczyński
2020-12-06 18:45 ` Martin Mareš
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Wilczyński @ 2020-11-19 9:10 UTC (permalink / raw)
To: Gustavo Pimentel; +Cc: Martin Mares, Bjorn Helgaas, linux-pci, Joao Pinto
Hi Gustavo,
> This enables "lspci" to show PCIe 6.0 data rate (64 GT/s) properly
> according to the contents in register PCI_EXP_LNKCAP, PCI_EXP_LNKSTA
> and PCI_EXP_LNKCTL2.
[...]
Looks good! Thank you for adding this.
Reviewed-by: Krzysztof Wilczyński <kw@linux.com>
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] lspci: Add PCIe 6.0 data rate (64 GT/s) support
2020-11-18 22:56 [PATCH] lspci: Add PCIe 6.0 data rate (64 GT/s) support Gustavo Pimentel
2020-11-19 9:10 ` Krzysztof Wilczyński
@ 2020-12-06 18:45 ` Martin Mareš
1 sibling, 0 replies; 3+ messages in thread
From: Martin Mareš @ 2020-12-06 18:45 UTC (permalink / raw)
To: Gustavo Pimentel; +Cc: Bjorn Helgaas, linux-pci, Joao Pinto
Hello!
> This enables "lspci" to show PCIe 6.0 data rate (64 GT/s) properly
> according to the contents in register PCI_EXP_LNKCAP, PCI_EXP_LNKSTA
> and PCI_EXP_LNKCTL2.
Thanks, applied.
Martin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-06 18:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 22:56 [PATCH] lspci: Add PCIe 6.0 data rate (64 GT/s) support Gustavo Pimentel
2020-11-19 9:10 ` Krzysztof Wilczyński
2020-12-06 18:45 ` Martin Mareš
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.