[PATCH i-g-t 0/1] xe_fault_injection: Improve probe fault injection handling
Marcin Bernatowicz
marcin.bernatowicz at linux.intel.com
Thu Apr 24 09:58:52 UTC 2025
This patch improves fault injection test coverage by making tests
aware of Virtual Function (VF) contexts.
The "inject-fault-probe-function*" tests are updated to be VF-aware.
Some functions listed for probe fault injection are only expected to
fail on Physical Functions (PF), and may not be invoked at all on VFs.
These functions are now marked with a `pf_only` flag and handled
appropriately at runtime based on the device type.
This change enables more accurate and robust testing of fault injection
across both PF and VF environments, and avoids false failures on VFs.
v2:
- Dropped patch 1 from the first revision (already merged via another
series)
- Resolved merge conflicts
Cc: Francois Dugast <francois.dugast at intel.com>
Cc: Jakub Kolakowski <jakub1.kolakowski at intel.com>
Cc: Lukasz Laguna <lukasz.laguna at intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>
Marcin Bernatowicz (1):
tests/intel/xe_fault_injection: Make inject-fault-probe-function*
tests VF-aware
tests/intel/xe_fault_injection.c | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
--
2.31.1
More information about the igt-dev
mailing list