RFC PCI: Add PCIe Gen 7 (128 GT/s) speed support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | PCI: Add PCIe Gen 7 (128 GT/s) register and speed definitionsinclude/ include/ | +5 | 1 reply | |
| 2/3 | PCI: Add PCIe Gen 7 (128 GT/s) speed detection and reportingdrivers/ drivers/ drivers/ | +29 | 1 reply | |
| 3/3 | PCI: Update bandwidth control and thermal cooling for Gen 7 (128 GT/s)drivers/ drivers/ drivers/ | +6 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] PCI: Add PCIe Gen 7 (128 GT/s) speed support
From: Ionut Nechita <[email protected]>
This RFC series adds initial kernel support for PCIe Gen 7 128 GT/s link speed, following the same pattern used for Gen 6 (64 GT/s).
PCIe Gen 7 doubles the per-lane data rate to 128 GT/s using PAM4 signaling with mandatory Flit mode encoding (1:1, no overhead), providing up to 256 GB/s unidirectional (512 GB/s bi-directional) bandwidth on an x16 link. The specification was announced by PCI-SIG in 2022 and targeted for member release in 2025.
The series covers:
Patch 1: UAPI register definitions (LNKCAP, LNKCAP2, LNKCTL2) and
pci_bus_speed enum. Widens supported_speeds from u8 to u16 to accommodate the expanded Supported Link Speeds Vector.
Patch 2: Core PCI infrastructure - speed detection macros, bandwidth
calculation with 1:1 Flit mode encoding, link speed table, display string, and a pcie_speed_requires_flit() helper with Flit mode diagnostic warning for Gen 6+ speeds.
Patch 3: Subsystem updates for bandwidth control (bwctrl), port
driver, and PCIe thermal cooling.
Not included in this series (not yet defined in the specification):
- Equalization presets for 128 GT/s (PCI_EXT_CAP_ID_PL_128GT)
- DesignWare controller preset programming for Gen 7
This is marked as RFC since no PCIe Gen 7 hardware exists yet to validate the implementation. The register encoding values (LNKCAP SLS=0x7, LNKCAP2 SLS bit 6, LNKCTL2 TLS=0x7) follow the sequential pattern established by prior generations and are subject to change when the final specification is published.
Tested: compile-tested only (no hardware available).
Ionut Nechita (3):
PCI: Add PCIe Gen 7 (128 GT/s) register and speed definitions
PCI: Add PCIe Gen 7 (128 GT/s) speed detection and reporting
PCI: Update bandwidth control and thermal cooling for Gen 7 (128 GT/s)
drivers/pci/pci.c | 7 +++++-- drivers/pci/pci.h | 28 ++++++++++++++++++++++------ drivers/pci/pcie/bwctrl.c | 7 ++++--- drivers/pci/pcie/portdrv.c | 2 +- drivers/pci/probe.c | 3 ++- drivers/thermal/pcie_cooling.c | 1 + include/linux/pci.h | 3 ++- include/uapi/linux/pci_regs.h | 3 +++ 8 files changed, 40 insertions(+), 14 deletions(-)
Signature · 1 line
2.53.0