diff options
| author | Oliver O'Halloran <oohall@gmail.com> | 2020-11-03 15:45:03 +1100 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-01-31 22:35:47 +1100 |
| commit | 38132cc0e5a6b22b04fac2e4df25c59435fcd6de (patch) | |
| tree | 637a6993c6711af7462efc03f8558a7740171473 /tools/perf/scripts/python | |
| parent | selftests/powerpc: Use stderr for debug messages in eeh-functions (diff) | |
| download | linux-38132cc0e5a6b22b04fac2e4df25c59435fcd6de.tar.gz linux-38132cc0e5a6b22b04fac2e4df25c59435fcd6de.zip | |
selftests/powerpc: Add VF recovery tests
The basic EEH test ignores VFs since we the way the eeh_dev_break debugfs
interface works means that if multiple VFs are enabled we may cause errors
on all them them. However, we can work around that by only enabling a
single VF at a time.
This patch adds some infrastructure for finding SR-IOV capable devices and
enabling / disabling VFs so we can exercise the VF specific EEH recovery
paths. Two new tests are added, one for testing EEH aware devices and one
for EEH un-aware VFs.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201103044503.917128-3-oohall@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
