diff options
| author | Russell Currey <ruscur@russell.cc> | 2016-09-12 14:17:23 +1000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-23 07:54:21 +1000 |
| commit | e98ddb77166a4d7ba6235b20a1328ecb137debb2 (patch) | |
| tree | d97ef35c5de61ebf86994b2b091ddd7904dc7c80 /tools/perf/scripts/python/bin | |
| parent | powerpc/eeh: Null check uses of eeh_pe_bus_get (diff) | |
| download | linux-e98ddb77166a4d7ba6235b20a1328ecb137debb2.tar.gz linux-e98ddb77166a4d7ba6235b20a1328ecb137debb2.zip | |
powerpc/powernv/eeh: Skip finding bus for VF resets
When the PE used in pnv_eeh_reset() is that of a VF,
pnv_eeh_reset_vf_pe() is used. Unlike the other reset functions called
in pnv_eeh_reset(), the VF reset doesn't require a bus, and if a bus was
missing the function would error out before resetting the VF PE.
To avoid this, reorder the VF reset function to occur before finding and
checking the bus.
Signed-off-by: Russell Currey <ruscur@russell.cc>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
