summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2018-01-25 21:49:27 +0300
committerBjorn Helgaas <helgaas@kernel.org>2018-01-31 00:25:33 +0300
commite3c44b8ddc2349b48950b3b15c3b9d74655356c7 (patch)
treeaeaaca17b24a4699403b3f6791f509510e7a83b6 /tools/perf/scripts/python/export-to-sqlite.py
parentbe3039a39265a0d7208f347db95306f343ff8bc0 (diff)
downloadlinux-e3c44b8ddc2349b48950b3b15c3b9d74655356c7.tar.xz
PCI/DPC: Read RP PIO Log Size once at probe
The RP PIO Log Size is a read-only field in the DPC Capability, so it is constant and known at probe-time, but previously we read it every time we processed an RP PIO error. Read it once in dpc_probe() (if the RP Extensions for DPC are supported) and remember the size in struct dpc_dev. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Sinan Kaya <okaya@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions