diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2019-07-15 18:56:08 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-01-23 21:31:18 +1100 |
commit | b1268f4cdba71c0cd40b533778812340d36de8ae (patch) | |
tree | 8b8ac4d849ab4af1f74ef7ad0f2a7cb3564bfece /tools/perf/scripts/python/stackcollapse.py | |
parent | 49ce94b8677c7d7a15c4d7cbbb9ff1cd8387827b (diff) |
powerpc/eeh_cache: Don't use pci_dn when inserting new ranges
At the point where we start inserting ranges into the EEH address cache the
binding between pci_dev and eeh_dev has already been set up. Instead of
consulting the pci_dn tree we can retrieve the eeh_dev directly using
pci_dev_to_eeh_dev().
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com>
Tested-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190715085612.8802-2-oohall@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions