diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2018-01-25 12:49:27 -0600 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-01-30 15:25:33 -0600 |
commit | e3c44b8ddc2349b48950b3b15c3b9d74655356c7 (patch) | |
tree | aeaaca17b24a4699403b3f6791f509510e7a83b6 /tools/perf/scripts/python/check-perf-trace.py | |
parent | be3039a39265a0d7208f347db95306f343ff8bc0 (diff) |
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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions