Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/1] xe_fault_injection: Improve probe fault injection handling
@ 2025-04-24  9:58 Marcin Bernatowicz
  2025-04-24  9:58 ` [PATCH i-g-t 1/1] tests/intel/xe_fault_injection: Make inject-fault-probe-function* tests VF-aware Marcin Bernatowicz
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Marcin Bernatowicz @ 2025-04-24  9:58 UTC (permalink / raw)
  To: igt-dev
  Cc: Marcin Bernatowicz, Francois Dugast, Jakub Kolakowski,
	Lukasz Laguna, Satyanarayana K V P

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@intel.com>
Cc: Jakub Kolakowski <jakub1.kolakowski@intel.com>
Cc: Lukasz Laguna <lukasz.laguna@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-04-25 15:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-24  9:58 [PATCH i-g-t 0/1] xe_fault_injection: Improve probe fault injection handling Marcin Bernatowicz
2025-04-24  9:58 ` [PATCH i-g-t 1/1] tests/intel/xe_fault_injection: Make inject-fault-probe-function* tests VF-aware Marcin Bernatowicz
2025-04-25  7:38   ` Adam Miszczak
2025-04-24 18:14 ` ✓ Xe.CI.BAT: success for xe_fault_injection: Improve probe fault injection handling (rev2) Patchwork
2025-04-24 18:18 ` ✓ i915.CI.BAT: " Patchwork
2025-04-25  3:19 ` ✗ i915.CI.Full: failure " Patchwork
2025-04-25 14:30 ` ✗ Xe.CI.Full: " Patchwork
2025-04-25 14:59   ` Bernatowicz, Marcin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox