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

Francois Dugast francois.dugast at intel.com
Fri Nov 8 15:59:28 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.

[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 | 320 +++++++++++++++++++++----------
 3 files changed, 299 insertions(+), 97 deletions(-)

-- 
2.43.0



More information about the igt-dev mailing list