History

PCI/DOE: Support discovery version 2

PCIe r6.1, sec 6.30.1.1 defines a "DOE Discovery Version" field in the DOE Discovery Request Data Object Contents (3rd DW) as: 15:8 DOE Discovery Version – must be 02h if the Capability Version in the Data Object Exchange Extended Capability is 02h or greater. Add support for the version on devices with the DOE v2 capability.

Alexey Kardashevskiy committed 2 years ago

Commit eebab7e1 parent 4cece762 files · +10 −3Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/pci_regs.h+1−0
@@ -1144,6 +1144,7 @@ · 1143 unmodified lines
1144#define PCI_DOE_DATA_OBJECT_HEADER_2_LENGTH 0x0003ffff1144#define PCI_DOE_DATA_OBJECT_HEADER_2_LENGTH 0x0003ffff
1145 1145
1146#define PCI_DOE_DATA_OBJECT_DISC_REQ_3_INDEX 0x000000ff1146#define PCI_DOE_DATA_OBJECT_DISC_REQ_3_INDEX 0x000000ff
1147#define PCI_DOE_DATA_OBJECT_DISC_REQ_3_VER 0x0000ff00
1147#define PCI_DOE_DATA_OBJECT_DISC_RSP_3_VID 0x0000ffff1148#define PCI_DOE_DATA_OBJECT_DISC_RSP_3_VID 0x0000ffff
1148#define PCI_DOE_DATA_OBJECT_DISC_RSP_3_PROTOCOL 0x00ff00001149#define PCI_DOE_DATA_OBJECT_DISC_RSP_3_PROTOCOL 0x00ff0000
1149#define PCI_DOE_DATA_OBJECT_DISC_RSP_3_NEXT_INDEX 0xff0000001150#define PCI_DOE_DATA_OBJECT_DISC_RSP_3_NEXT_INDEX 0xff000000

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t