[PATCH i-g-t 5/5] tests/intel/xe_configfs: Add test to validate survivability mode

Lucas De Marchi lucas.demarchi at intel.com
Tue Apr 22 13:57:35 UTC 2025


On Tue, Apr 22, 2025 at 03:26:01PM +0530, Riana Tauro wrote:
>The test validates if survivability mode is enabled on supported
>platforms when configured using configfs attribute.
>
>Signed-off-by: Riana Tauro <riana.tauro at intel.com>
>---
> tests/intel/xe_configfs.c | 112 ++++++++++++++++++++++++++++++++++++++
> tests/meson.build         |   1 +
> 2 files changed, 113 insertions(+)
> create mode 100644 tests/intel/xe_configfs.c
>
>diff --git a/tests/intel/xe_configfs.c b/tests/intel/xe_configfs.c
>new file mode 100644
>index 000000000..414af4a86
>--- /dev/null
>+++ b/tests/intel/xe_configfs.c


humn... does it make sense to test survivability mode in a xe_configfs
test? configfs is just the way to trigger it. For completly different
areas of the driver I don't think we should bundle the tests into a
configfs test: we don't test if xe can be loaded without display in a
xe_param.c test, or if we can inject faults in a xe_debugfs.c test, etc.

My suggestion is to have a dedicated test for survivability in which
configfs is part of it.

Lucas De Marchi


More information about the igt-dev mailing list