History

PCI/DPC: Reformat DPC register definitions

Reformat DPC register definitions to follow the convention that register field masks indicate the register width, e.g., a field of a 16-bit register uses a mask of 4 hex digits, with leading zeros included as needed. No functional change intended.

Bjorn Helgaas committed 8 years ago

Commit 65d5e911 parent 01060e31 file · +13 −13Browse files

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

Unified · Split

include/uapi/linux/pci_regs.h+13−13
@@ -966,28 +966,28 @@ · 965 unmodified lines
966 966
967/* Downstream Port Containment */967/* Downstream Port Containment */
968#define PCI_EXP_DPC_CAP 4 /* DPC Capability */968#define PCI_EXP_DPC_CAP 4 /* DPC Capability */
969#define PCI_EXP_DPC_IRQ 0x1f /* DPC Interrupt Message Number */969#define PCI_EXP_DPC_IRQ 0x001F /* Interrupt Message Number */
970#define PCI_EXP_DPC_CAP_RP_EXT 0x20 /* Root Port Extensions for DPC */970#define PCI_EXP_DPC_CAP_RP_EXT 0x0020 /* Root Port Extensions */
971#define PCI_EXP_DPC_CAP_POISONED_TLP 0x40 /* Poisoned TLP Egress Blocking Supported */971#define PCI_EXP_DPC_CAP_POISONED_TLP 0x0040 /* Poisoned TLP Egress Blocking Supported */
972#define PCI_EXP_DPC_CAP_SW_TRIGGER 0x80 /* Software Triggering Supported */972#define PCI_EXP_DPC_CAP_SW_TRIGGER 0x0080 /* Software Triggering Supported */
973#define PCI_EXP_DPC_RP_PIO_LOG_SIZE 0xF00 /* RP PIO log size */973#define PCI_EXP_DPC_RP_PIO_LOG_SIZE 0x0F00 /* RP PIO Log Size */
974#define PCI_EXP_DPC_CAP_DL_ACTIVE 0x1000 /* ERR_COR signal on DL_Active supported */974#define PCI_EXP_DPC_CAP_DL_ACTIVE 0x1000 /* ERR_COR signal on DL_Active supported */
975 975
976#define PCI_EXP_DPC_CTL 6 /* DPC control */976#define PCI_EXP_DPC_CTL 6 /* DPC control */
977#define PCI_EXP_DPC_CTL_EN_NONFATAL 0x02 /* Enable trigger on ERR_NONFATAL message */977#define PCI_EXP_DPC_CTL_EN_NONFATAL 0x0002 /* Enable trigger on ERR_NONFATAL message */
978#define PCI_EXP_DPC_CTL_INT_EN 0x08 /* DPC Interrupt Enable */978#define PCI_EXP_DPC_CTL_INT_EN 0x0008 /* DPC Interrupt Enable */
979 979
980#define PCI_EXP_DPC_STATUS 8 /* DPC Status */980#define PCI_EXP_DPC_STATUS 8 /* DPC Status */
981#define PCI_EXP_DPC_STATUS_TRIGGER 0x01 /* Trigger Status */981#define PCI_EXP_DPC_STATUS_TRIGGER 0x0001 /* Trigger Status */
982#define PCI_EXP_DPC_STATUS_TRIGGER_RSN 0x06 /* Trigger Reason */982#define PCI_EXP_DPC_STATUS_TRIGGER_RSN 0x0006 /* Trigger Reason */
983#define PCI_EXP_DPC_STATUS_INTERRUPT 0x08 /* Interrupt Status */983#define PCI_EXP_DPC_STATUS_INTERRUPT 0x0008 /* Interrupt Status */
984#define PCI_EXP_DPC_RP_BUSY 0x10 /* Root Port Busy */984#define PCI_EXP_DPC_RP_BUSY 0x0010 /* Root Port Busy */
985#define PCI_EXP_DPC_STATUS_TRIGGER_RSN_EXT 0x60 /* Trig Reason Extension */985#define PCI_EXP_DPC_STATUS_TRIGGER_RSN_EXT 0x0060 /* Trig Reason Extension */
986 986
987#define PCI_EXP_DPC_SOURCE_ID 10 /* DPC Source Identifier */987#define PCI_EXP_DPC_SOURCE_ID 10 /* DPC Source Identifier */
988 988
989#define PCI_EXP_DPC_RP_PIO_STATUS 0x0C /* RP PIO Status */989#define PCI_EXP_DPC_RP_PIO_STATUS 0x0C /* RP PIO Status */
990#define PCI_EXP_DPC_RP_PIO_MASK 0x10 /* RP PIO MASK */990#define PCI_EXP_DPC_RP_PIO_MASK 0x10 /* RP PIO Mask */
991#define PCI_EXP_DPC_RP_PIO_SEVERITY 0x14 /* RP PIO Severity */991#define PCI_EXP_DPC_RP_PIO_SEVERITY 0x14 /* RP PIO Severity */
992#define PCI_EXP_DPC_RP_PIO_SYSERROR 0x18 /* RP PIO SysError */992#define PCI_EXP_DPC_RP_PIO_SYSERROR 0x18 /* RP PIO SysError */
993#define PCI_EXP_DPC_RP_PIO_EXCEPTION 0x1C /* RP PIO Exception */993#define PCI_EXP_DPC_RP_PIO_EXCEPTION 0x1C /* RP PIO Exception */

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