diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2015-04-10 09:27:18 -0400 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-04-10 09:27:18 -0400 |
| commit | 5468d5a64bf1e002e5081fa280186d0eba09fa0e (patch) | |
| tree | a9c1500d4b0cfb9db1f822dc1357c184b0f2f188 /include/linux | |
| parent | 4dd1f57956ada782fd80b1c11c30a9595d6caafc (diff) | |
| parent | 55db3208f238ee776f1f747734051723d8a3c13e (diff) | |
Merge branch 'pci/misc' into next
* pci/misc:
PCI: Read capability list as dwords, not bytes
PCI: Don't clear ASPM bits when the FADT declares it's unsupported
PCI: Clarify policy for vendor IDs in pci.txt
PCI/ACPI: Optimize device state transition delays
PCI: Export pci_find_host_bridge() for use inside PCI core
PCI: Make a shareable UUID for PCI firmware ACPI _DSM
PCI: Fix typo in Thunderbolt kernel message
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pci-acpi.h | 5 | ||||
| -rw-r--r-- | include/linux/pci-aspm.h | 4 | ||||
| -rw-r--r-- | include/linux/pci.h | 1 |
3 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/pci-acpi.h b/include/linux/pci-acpi.h index 24c7728ca681..a965efa52152 100644 --- a/include/linux/pci-acpi.h +++ b/include/linux/pci-acpi.h | |||
| @@ -77,6 +77,11 @@ static inline void acpiphp_remove_slots(struct pci_bus *bus) { } | |||
| 77 | static inline void acpiphp_check_host_bridge(struct acpi_device *adev) { } | 77 | static inline void acpiphp_check_host_bridge(struct acpi_device *adev) { } |
| 78 | #endif | 78 | #endif |
| 79 | 79 | ||
| 80 | extern const u8 pci_acpi_dsm_uuid[]; | ||
| 81 | #define DEVICE_LABEL_DSM 0x07 | ||
| 82 | #define RESET_DELAY_DSM 0x08 | ||
| 83 | #define FUNCTION_DELAY_DSM 0x09 | ||
| 84 | |||
| 80 | #else /* CONFIG_ACPI */ | 85 | #else /* CONFIG_ACPI */ |
| 81 | static inline void acpi_pci_add_bus(struct pci_bus *bus) { } | 86 | static inline void acpi_pci_add_bus(struct pci_bus *bus) { } |
| 82 | static inline void acpi_pci_remove_bus(struct pci_bus *bus) { } | 87 | static inline void acpi_pci_remove_bus(struct pci_bus *bus) { } |
diff --git a/include/linux/pci-aspm.h b/include/linux/pci-aspm.h index 8af4610c2e41..207c561fb40e 100644 --- a/include/linux/pci-aspm.h +++ b/include/linux/pci-aspm.h | |||
| @@ -29,7 +29,6 @@ void pcie_aspm_pm_state_change(struct pci_dev *pdev); | |||
| 29 | void pcie_aspm_powersave_config_link(struct pci_dev *pdev); | 29 | void pcie_aspm_powersave_config_link(struct pci_dev *pdev); |
| 30 | void pci_disable_link_state(struct pci_dev *pdev, int state); | 30 | void pci_disable_link_state(struct pci_dev *pdev, int state); |
| 31 | void pci_disable_link_state_locked(struct pci_dev *pdev, int state); | 31 | void pci_disable_link_state_locked(struct pci_dev *pdev, int state); |
| 32 | void pcie_clear_aspm(struct pci_bus *bus); | ||
| 33 | void pcie_no_aspm(void); | 32 | void pcie_no_aspm(void); |
| 34 | #else | 33 | #else |
| 35 | static inline void pcie_aspm_init_link_state(struct pci_dev *pdev) | 34 | static inline void pcie_aspm_init_link_state(struct pci_dev *pdev) |
| @@ -47,9 +46,6 @@ static inline void pcie_aspm_powersave_config_link(struct pci_dev *pdev) | |||
| 47 | static inline void pci_disable_link_state(struct pci_dev *pdev, int state) | 46 | static inline void pci_disable_link_state(struct pci_dev *pdev, int state) |
| 48 | { | 47 | { |
| 49 | } | 48 | } |
| 50 | static inline void pcie_clear_aspm(struct pci_bus *bus) | ||
| 51 | { | ||
| 52 | } | ||
| 53 | static inline void pcie_no_aspm(void) | 49 | static inline void pcie_no_aspm(void) |
| 54 | { | 50 | { |
| 55 | } | 51 | } |
diff --git a/include/linux/pci.h b/include/linux/pci.h index a379513bddef..e63112fb55be 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
| @@ -406,6 +406,7 @@ struct pci_host_bridge { | |||
| 406 | struct list_head windows; /* resource_entry */ | 406 | struct list_head windows; /* resource_entry */ |
| 407 | void (*release_fn)(struct pci_host_bridge *); | 407 | void (*release_fn)(struct pci_host_bridge *); |
| 408 | void *release_data; | 408 | void *release_data; |
| 409 | unsigned int ignore_reset_delay:1; /* for entire hierarchy */ | ||
| 409 | }; | 410 | }; |
| 410 | 411 | ||
| 411 | #define to_pci_host_bridge(n) container_of(n, struct pci_host_bridge, dev) | 412 | #define to_pci_host_bridge(n) container_of(n, struct pci_host_bridge, dev) |
