Skip to content

xe_fault_injection: Improve probe fault injection handling

Marcin Bernatowicz igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

v2 from the cover letter

- Dropped patch 1 from the first revision (already merged via another series)
- Resolved merge conflicts

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1tests/intel/xe_fault_injection: Make inject-fault-probe-function* tests VF-awaretests/intel/xe_fault_injection.c+16 -61 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchAdam Miszczak
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH i-g-t 0/1] xe_fault_injection: Improve probe fault injection handling

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 <[email protected]>
Cc Jakub Kolakowski <[email protected]>
Cc Lukasz Laguna <[email protected]>
Cc Satyanarayana K V P <[email protected]>

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(-)
Signature · 1 line
2.31.1