diff options
author | Russell Currey <ruscur@russell.cc> | 2017-06-21 17:18:03 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-06-27 12:14:28 +1000 |
commit | a0f98629f19943fb8387a7d5fd01e60178223c00 (patch) | |
tree | e4ff797130937f7280b473fff3662a9699a09440 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a4b48ba9047dfdf99cf2316d21baac2791b3b14c (diff) |
powerpc/powernv/pci: Add helper to check if a PE has a single vendor
Add a helper that determines if all the devices contained in a given PE
are all from the same vendor or not. This can be useful in determining
if it's okay to make PE-wide changes that may be suitable for some
devices but not for others.
This is used later in the series.
Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions