[PATCH i-g-t,v3 0/5] xe_fault_injection improvements

Francois Dugast francois.dugast at intel.com
Tue Nov 12 13:29:49 UTC 2024


The first 3 patches are a resend of [1]. The last 2 patches extend the
use of fault injection beyond probe time, to make KMD fail when calling
certain IOCTLs and thus trigger more code paths. If this approach is
accepted, it can easily be extended to more IOCTLs.

v3: Order function names alphabetically, add xe_pt_update_ops_{prepare,run}

[1] https://patchwork.freedesktop.org/series/139777

Francois Dugast (5):
  tests/intel/xe_fault_injection: Use a static list of functions
  lib/igt_sysfs: Add igt_sysfs_{get,set}_s32
  tests/intel/xe_fault_injection: Use igt_sysfs helpers
  tests/intel/xe_fault_injection: Inject errors during vm create IOCTL
  tests/intel/xe_fault_injection: Inject errors during vm bind IOCTL

 lib/igt_sysfs.c                  |  71 +++++++
 lib/igt_sysfs.h                  |   5 +
 tests/intel/xe_fault_injection.c | 324 ++++++++++++++++++++++---------
 3 files changed, 303 insertions(+), 97 deletions(-)

-- 
2.43.0



More information about the igt-dev mailing list