summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAbhishek Sahu <abhsahu@nvidia.com>2019-06-06 12:22:24 +0300
committerBjorn Helgaas <bhelgaas@google.com>2019-06-13 23:52:37 +0300
commita17beb1a0882a544523dcb5d0da4801272dfd43a (patch)
tree8f528d6278a085ba44c6b1c772794d60f883b2aa /tools/perf/scripts/python/export-to-postgresql.py
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
downloadlinux-a17beb1a0882a544523dcb5d0da4801272dfd43a.tar.xz
PCI: Generalize multi-function power dependency device links
Although not allowed by the PCI specs, some multi-function devices have power dependencies between the functions. For example, function 1 may not work unless function 0 is in the D0 power state. The existing quirk_gpu_hda() adds a device link to express this dependency for GPU and HDA devices, but it really is not specific to those device types. Generalize it and rename it to pci_create_device_link() so we can create dependencies between any "consumer" and "producer" functions of a multi-function device, where the consumer is only functional if the producer is in D0. This reorganization should not affect any functionality. Link: https://lore.kernel.org/lkml/20190606092225.17960-2-abhsahu@nvidia.com Signed-off-by: Abhishek Sahu <abhsahu@nvidia.com> [bhelgaas: commit log, reword diagnostic] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions