[PATCH i-g-t 0/2] tests/intel/xe_vm: Extend coverage for bind with invalid flag

Christoph Manszewski christoph.manszewski at intel.com
Tue Aug 12 13:01:40 UTC 2025


Hi,

currently invalid flags are only passed to a bind with a single
operation in the 'bind-flag-invalid' subtest. This series adds a
complementary subtest which performs an array-bind and reuses the
implemented test code for the single bind case.

The added subtest reveals a double-free bug in the Xe vm_bind_ioctl
implementation, for which I plan to send a follow-up fix on the Xe
mailing list.

Regards,
Christoph

Christoph Manszewski (2):
  tests/intel/xe_vm: Add bind-array-flag-invalid subtest
  tests/intel/xe_vm: Unify bind-flag-invalid and bind-array-flag-invalid
    test functions

 tests/intel/xe_vm.c | 118 ++++++++++++++++++++++++++------------------
 1 file changed, 70 insertions(+), 48 deletions(-)

-- 
2.47.1



More information about the igt-dev mailing list