diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2013-12-18 16:04:35 -0500 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-12-18 16:04:35 -0500 |
| commit | 608235a30706814dfff5b23938dc5f14fdb7e7e3 (patch) | |
| tree | a190e6110cb0bc22bac8b5bb5e66a4258b5a2150 /include/uapi/linux | |
| parent | a737f76baee3d44cb25285986812e9cd97fd6002 (diff) | |
| parent | 274127a1fdbad3c0d64e813521f4a0ef96cfc70e (diff) | |
Merge branch 'pci/vc' into next
* pci/vc:
PCI: Rename PCI_VC_PORT_REG1/2 to PCI_VC_PORT_CAP1/2
PCI: Add Virtual Channel to save/restore support
PCI: Add support for save/restore of extended capabilities
PCI: Add pci_wait_for_pending() (refactor pci_wait_for_pending_transaction())
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/pci_regs.h | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h index 6d03ba42ab23..ab6b4e7f6657 100644 --- a/include/uapi/linux/pci_regs.h +++ b/include/uapi/linux/pci_regs.h | |||
| @@ -685,17 +685,34 @@ | |||
| 685 | #define PCI_ERR_ROOT_ERR_SRC 52 /* Error Source Identification */ | 685 | #define PCI_ERR_ROOT_ERR_SRC 52 /* Error Source Identification */ |
| 686 | 686 | ||
| 687 | /* Virtual Channel */ | 687 | /* Virtual Channel */ |
| 688 | #define PCI_VC_PORT_REG1 4 | 688 | #define PCI_VC_PORT_CAP1 4 |
| 689 | #define PCI_VC_REG1_EVCC 0x7 /* extended VC count */ | 689 | #define PCI_VC_CAP1_EVCC 0x00000007 /* extended VC count */ |
| 690 | #define PCI_VC_PORT_REG2 8 | 690 | #define PCI_VC_CAP1_LPEVCC 0x00000070 /* low prio extended VC count */ |
| 691 | #define PCI_VC_REG2_32_PHASE 0x2 | 691 | #define PCI_VC_CAP1_ARB_SIZE 0x00000c00 |
| 692 | #define PCI_VC_REG2_64_PHASE 0x4 | 692 | #define PCI_VC_PORT_CAP2 8 |
| 693 | #define PCI_VC_REG2_128_PHASE 0x8 | 693 | #define PCI_VC_CAP2_32_PHASE 0x00000002 |
| 694 | #define PCI_VC_CAP2_64_PHASE 0x00000004 | ||
| 695 | #define PCI_VC_CAP2_128_PHASE 0x00000008 | ||
| 696 | #define PCI_VC_CAP2_ARB_OFF 0xff000000 | ||
| 694 | #define PCI_VC_PORT_CTRL 12 | 697 | #define PCI_VC_PORT_CTRL 12 |
| 698 | #define PCI_VC_PORT_CTRL_LOAD_TABLE 0x00000001 | ||
| 695 | #define PCI_VC_PORT_STATUS 14 | 699 | #define PCI_VC_PORT_STATUS 14 |
| 700 | #define PCI_VC_PORT_STATUS_TABLE 0x00000001 | ||
| 696 | #define PCI_VC_RES_CAP 16 | 701 | #define PCI_VC_RES_CAP 16 |
| 702 | #define PCI_VC_RES_CAP_32_PHASE 0x00000002 | ||
| 703 | #define PCI_VC_RES_CAP_64_PHASE 0x00000004 | ||
| 704 | #define PCI_VC_RES_CAP_128_PHASE 0x00000008 | ||
| 705 | #define PCI_VC_RES_CAP_128_PHASE_TB 0x00000010 | ||
| 706 | #define PCI_VC_RES_CAP_256_PHASE 0x00000020 | ||
| 707 | #define PCI_VC_RES_CAP_ARB_OFF 0xff000000 | ||
| 697 | #define PCI_VC_RES_CTRL 20 | 708 | #define PCI_VC_RES_CTRL 20 |
| 709 | #define PCI_VC_RES_CTRL_LOAD_TABLE 0x00010000 | ||
| 710 | #define PCI_VC_RES_CTRL_ARB_SELECT 0x000e0000 | ||
| 711 | #define PCI_VC_RES_CTRL_ID 0x07000000 | ||
| 712 | #define PCI_VC_RES_CTRL_ENABLE 0x80000000 | ||
| 698 | #define PCI_VC_RES_STATUS 26 | 713 | #define PCI_VC_RES_STATUS 26 |
| 714 | #define PCI_VC_RES_STATUS_TABLE 0x00000001 | ||
| 715 | #define PCI_VC_RES_STATUS_NEGO 0x00000002 | ||
| 699 | #define PCI_CAP_VC_BASE_SIZEOF 0x10 | 716 | #define PCI_CAP_VC_BASE_SIZEOF 0x10 |
| 700 | #define PCI_CAP_VC_PER_VC_SIZEOF 0x0C | 717 | #define PCI_CAP_VC_PER_VC_SIZEOF 0x0C |
| 701 | 718 | ||
