commit | a0f98629f19943fb8387a7d5fd01e60178223c00 | [log] [tgz] |
---|---|---|
author | Russell Currey <ruscur@russell.cc> | Wed Jun 21 17:18:03 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Jun 27 12:14:28 2017 +1000 |
tree | e4ff797130937f7280b473fff3662a9699a09440 | |
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>