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

Rodrigo Vivi rodrigo.vivi at intel.com
Tue May 20 15:18:55 UTC 2025


On Tue, May 20, 2025 at 12:19:05PM +0530, Riana Tauro wrote:
> Add helper functions for configfs and add test 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.
> 
> Rev3: Fix review comments
> Rev4: rename dir_fd to configfs_device_fd

pushed, thanks!

> 
> 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
> 
>  .../igt-gpu-tools/igt-gpu-tools-docs.xml      |   2 +-
>  lib/igt.h                                     |   1 +
>  lib/igt_aux.c                                 |  31 ++++++
>  lib/igt_aux.h                                 |   2 +
>  lib/igt_configfs.c                            |  86 +++++++++++++++
>  lib/igt_configfs.h                            |  15 +++
>  lib/igt_debugfs.c                             |  29 +----
>  lib/{igt_io.c => igt_fs.c}                    |  61 +++++++++--
>  lib/{igt_io.h => igt_fs.h}                    |   8 +-
>  lib/igt_sysfs.c                               |   2 +-
>  lib/meson.build                               |   3 +-
>  tests/intel/xe_configfs.c                     | 100 ++++++++++++++++++
>  tests/meson.build                             |   1 +
>  tests/msm/msm_mapping.c                       |   2 +-
>  tests/msm/msm_recovery.c                      |   2 +-
>  15 files changed, 303 insertions(+), 42 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