summaryrefslogtreecommitdiff
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2017-11-28 16:43:50 -0600
committerBjorn Helgaas <bhelgaas@google.com>2017-12-18 23:02:56 -0600
commitc46fd358070f22ba68d6e74c22016a33b914c20a (patch)
tree484d136f67cb8243a6790c1578a7497561b71311 /include/linux/pci.h
parent80d7d7a904fac3f8114448dbb8cc9fa253b10120 (diff)
downloadlwn-c46fd358070f22ba68d6e74c22016a33b914c20a.tar.gz
lwn-c46fd358070f22ba68d6e74c22016a33b914c20a.zip
PCI/ASPM: Enable Latency Tolerance Reporting when supported
Enable Latency Tolerance Reporting (LTR). Note that LTR must be enabled in the Root Port first, and must not be enabled in any downstream device unless the Root Port and all intermediate Switches also support LTR. See PCIe r3.1, sec 6.18. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index c170c9250c8b..d75d30e55976 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -350,6 +350,8 @@ struct pci_dev {
#ifdef CONFIG_PCIEASPM
struct pcie_link_state *link_state; /* ASPM link state */
+ unsigned int ltr_path:1; /* Latency Tolerance Reporting
+ supported from root to here */
#endif
pci_channel_state_t error_state; /* current connectivity state */