[PATCH i-g-t 0/5] Add test to validate survivability mode

Riana Tauro riana.tauro at intel.com
Tue Apr 22 09:55:56 UTC 2025


Add helper functions for configfs and add tests to validate
survivability mode using configfs attribute. This tests unbinds the card,
sets survivability mode and rebinds the card. 
The card enters survivability mode if supported.

José Expósito (2):
  lib/igt_aux: Move is_mountpoint() to igt_aux
  lib/igt_configfs: Add helper to mount configfs

Riana Tauro (3):
  lib/igt_fs: Rename igt_io to igt_fs to add additional helpers
  lib/igt_fs: Add helper functions to create and remove directories
  tests/intel/xe_configfs: Add test to validate survivability mode

 lib/igt.h                  |   1 +
 lib/igt_aux.c              |  31 ++++++++++
 lib/igt_aux.h              |   2 +
 lib/igt_configfs.c         |  82 +++++++++++++++++++++++++++
 lib/igt_configfs.h         |  15 +++++
 lib/igt_debugfs.c          |  29 +---------
 lib/{igt_io.c => igt_fs.c} |  60 ++++++++++++++++++--
 lib/{igt_io.h => igt_fs.h} |   8 ++-
 lib/igt_sysfs.c            |   2 +-
 lib/meson.build            |   3 +-
 tests/intel/xe_configfs.c  | 112 +++++++++++++++++++++++++++++++++++++
 tests/meson.build          |   1 +
 tests/msm/msm_mapping.c    |   2 +-
 tests/msm/msm_recovery.c   |   2 +-
 14 files changed, 310 insertions(+), 40 deletions(-)
 create mode 100644 lib/igt_configfs.c
 create mode 100644 lib/igt_configfs.h
 rename lib/{igt_io.c => igt_fs.c} (68%)
 rename lib/{igt_io.h => igt_fs.h} (87%)
 create mode 100644 tests/intel/xe_configfs.c

-- 
2.47.1



More information about the igt-dev mailing list