summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2017-08-29 14:45:44 -0500
committerBjorn Helgaas <bhelgaas@google.com>2017-08-29 14:45:44 -0500
commit6a802ef0af94e7148c3fef71f5502654b65ed46a (patch)
tree1d166bfa2a89a1c12fdbc1b833485156d8e3f6e7 /tools/perf/util/scripting-engines/trace-event-python.c
parent62bc6a6f7468bc6d6cb39177504e79df401aea76 (diff)
downloadlinux-stable-6a802ef0af94e7148c3fef71f5502654b65ed46a.tar.gz
linux-stable-6a802ef0af94e7148c3fef71f5502654b65ed46a.tar.bz2
linux-stable-6a802ef0af94e7148c3fef71f5502654b65ed46a.zip
PCI: Factor out pci_bus_wait_crs()
Configuration Request Retry Status (CRS) was previously hidden inside pci_bus_read_dev_vendor_id(). We want to add support for CRS in other situations, such as waiting for a device to become ready after a Function Level Reset. Move CRS handling into pci_bus_wait_crs() so it can be called from other places. Signed-off-by: Sinan Kaya <okaya@codeaurora.org> [bhelgaas: pass pointer, not value, to pci_bus_wait_crs() so caller gets correct Vendor ID] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions