Skip to contentSkip to conversation

pci: add PCI_EXT_CAP_ID_PL_32GT define

PATCH Superseded Ben Dooks 1 participant 2 messages May 31, 2023 PCI

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 pci: add PCI_EXT_CAP_ID_PL_32GT define

From: Ben Dooks <[email protected]>

Add the define for PCI_EXT_CAP_ID_PL_32GT for drivers that will want this whilst doing Gen5/Gen6 accesses.

---
 include/uapi/linux/pci_regs.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/pci_regs.h +1 -0
index dc2000e0fe3a..e5f558d96493 100644
@@ -738,6 +738,7 @@
 #define PCI_EXT_CAP_ID_DVSEC	0x23	/* Designated Vendor-Specific */
 #define PCI_EXT_CAP_ID_DLF	0x25	/* Data Link Feature */
 #define PCI_EXT_CAP_ID_PL_16GT	0x26	/* Physical Layer 16.0 GT/s */
+#define PCI_EXT_CAP_ID_PL_32GT  0x2A    /* Physical Layer 32.0 GT/s */
 #define PCI_EXT_CAP_ID_DOE	0x2E	/* Data Object Exchange */
 #define PCI_EXT_CAP_ID_MAX	PCI_EXT_CAP_ID_DOE
 
Signature · 1 line
2.39.2
author
#1 lore raw
Quoted 16 lines · Ben Dooks

From: Ben Dooks <[email protected]>

Add the define for PCI_EXT_CAP_ID_PL_32GT for drivers that will want this whilst doing Gen5/Gen6 accesses.

---
  include/uapi/linux/pci_regs.h | 1 +
  1 file changed, 1 insertion(+)
include/uapi/linux/pci_regs.h +0 -0
index dc2000e0fe3a..e5f558d96493 100644

include/uapi/linux/pci_regs.h line 743

Quoted 6 lines
include/uapi/linux/pci_regs.h +1 -0
@@ -738,6 +738,7 @@
  #define PCI_EXT_CAP_ID_DVSEC	0x23	/* Designated Vendor-Specific */
  #define PCI_EXT_CAP_ID_DLF	0x25	/* Data Link Feature */
  #define PCI_EXT_CAP_ID_PL_16GT	0x26	/* Physical Layer 16.0 GT/s */
+#define PCI_EXT_CAP_ID_PL_32GT  0x2A    /* Physical Layer 32.0 GT/s */
  #define PCI_EXT_CAP_ID_DOE	0x2E	/* Data Object Exchange */
  #define PCI_EXT_CAP_ID_MAX	PCI_EXT_CAP_ID_DOE

Just noticed this isn't tab indented, so fixed and sent a v2.

Signature · 4 lines
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html