diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-01-14 08:53:04 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-05-11 15:18:53 -0700 |
commit | 51c2e0a7e5bc7ed1384cc68cfb95e702571500c9 (patch) | |
tree | 839dc5d6eb233b009c8802cb8cafde68f5a2ce6e /include/linux/pci.h | |
parent | 48a92a8179b3e677fac07db7bd109e68f020468c (diff) | |
download | op-kernel-dev-51c2e0a7e5bc7ed1384cc68cfb95e702571500c9.zip op-kernel-dev-51c2e0a7e5bc7ed1384cc68cfb95e702571500c9.tar.gz |
PCI: add latency tolerance reporting enable/disable support
Latency tolerance reporting allows devices to send messages to the root
complex indicating their latency tolerance for snooped & unsnooped
memory transactions. Add support for enabling & disabling this
feature, along with a routine to set the max latencies a device should
send upstream.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 45a035c..df4d69b 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -840,6 +840,11 @@ enum pci_obff_signal_type { int pci_enable_obff(struct pci_dev *dev, enum pci_obff_signal_type); void pci_disable_obff(struct pci_dev *dev); +bool pci_ltr_supported(struct pci_dev *dev); +int pci_enable_ltr(struct pci_dev *dev); +void pci_disable_ltr(struct pci_dev *dev); +int pci_set_ltr(struct pci_dev *dev, int snoop_lat_ns, int nosnoop_lat_ns); + /* For use by arch with custom probe code */ void set_pcie_port_type(struct pci_dev *pdev); void set_pcie_hotplug_bridge(struct pci_dev *pdev); |