History

PCI/DPC: Wait for Root Port busy to clear

Per PCIe r3.1, sec 6.2.10 and sec 7.13.4, on Root Ports that support "RP Extensions for DPC", When the DPC Trigger Status bit is Set and the DPC RP Busy bit is Set, software must leave the Root Port in DPC until the DPC RP Busy bit reads 0b. Wait up to 1 second for the Root Port to become non-busy. [bhelgaas: changelog, spec references] Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

Keith Busch committed 9 years ago

Commit abdbf4d1 parent 87b336d2 files · +26 −1Browse files

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

Unified · Split

include/uapi/linux/pci_regs.h+1−0
@@ -973,6 +973,7 @@ · 972 unmodified lines
973#define PCI_EXP_DPC_STATUS 8 /* DPC Status */973#define PCI_EXP_DPC_STATUS 8 /* DPC Status */
974#define PCI_EXP_DPC_STATUS_TRIGGER 0x01 /* Trigger Status */974#define PCI_EXP_DPC_STATUS_TRIGGER 0x01 /* Trigger Status */
975#define PCI_EXP_DPC_STATUS_INTERRUPT 0x08 /* Interrupt Status */975#define PCI_EXP_DPC_STATUS_INTERRUPT 0x08 /* Interrupt Status */
976#define PCI_EXP_DPC_RP_BUSY 0x10 /* Root Port Busy */
976 977
977#define PCI_EXP_DPC_SOURCE_ID 10 /* DPC Source Identifier */978#define PCI_EXP_DPC_SOURCE_ID 10 /* DPC Source Identifier */
978 979

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