Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 00/10] lib/kmod: unbind, bind, rebind
@ 2025-04-10 22:47 Lucas De Marchi
  2025-04-10 22:48 ` [PATCH i-g-t 01/10] lib/igt_kmod: Fix leaking dir Lucas De Marchi
                   ` (13 more replies)
  0 siblings, 14 replies; 30+ messages in thread
From: Lucas De Marchi @ 2025-04-10 22:47 UTC (permalink / raw)
  To: igt-dev; +Cc: Lucas De Marchi, Francois Dugast

Improve and simplify igt_kmod_unbind(). Add igt_kmod_bind() and
igt_kmod_rebind(), replacing the current users of xe_sysfs_driver_do().

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
Lucas De Marchi (10):
      lib/igt_kmod: Fix leaking dir
      lib/igt_kmod: Fix comment about unbound devices
      lib/igt_kmod: Simplify igt_kmod_unbind()
      lib/igt_kmod: Use igt_kmod_unbind() to kick snd_hda_intel
      lib/igt_kmod: Add igt_kmod_bind()
      tests/intel/xe_fault_injection: Use igt_kmod_bind()
      lib/igt_kmod: Add rebind abstraction
      tests/intel/xe_fault_injection: Drop XE_SYSFS_DRIVER_TRY_BIND usage
      tests/intel/xe_wedged: Drop XE_SYSFS_DRIVER_REBIND usage
      lib/igt_sysfs: Drop xe_sysfs_driver_do()

 lib/igt_kmod.c                   | 111 +++++++++++++++++----------------------
 lib/igt_kmod.h                   |   4 ++
 lib/igt_sysfs.c                  |  50 ------------------
 lib/igt_sysfs.h                  |   8 ---
 tests/intel/xe_fault_injection.c |   8 +--
 tests/intel/xe_wedged.c          |  14 +++--
 6 files changed, 65 insertions(+), 130 deletions(-)

base-commit: e5e2b60a847cd4f044360a9495c59f21f0652087
change-id: 20250410-lib-kmod-fd3a52338d4a

Lucas De Marchi


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2025-04-28 11:27 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-10 22:47 [PATCH i-g-t 00/10] lib/kmod: unbind, bind, rebind Lucas De Marchi
2025-04-10 22:48 ` [PATCH i-g-t 01/10] lib/igt_kmod: Fix leaking dir Lucas De Marchi
2025-04-11  7:26   ` Riana Tauro
2025-04-10 22:48 ` [PATCH i-g-t 02/10] lib/igt_kmod: Fix comment about unbound devices Lucas De Marchi
2025-04-14 10:56   ` Francois Dugast
2025-04-10 22:48 ` [PATCH i-g-t 03/10] lib/igt_kmod: Simplify igt_kmod_unbind() Lucas De Marchi
2025-04-14 10:59   ` Francois Dugast
2025-04-10 22:48 ` [PATCH i-g-t 04/10] lib/igt_kmod: Use igt_kmod_unbind() to kick snd_hda_intel Lucas De Marchi
2025-04-14 18:04   ` Kamil Konieczny
2025-04-10 22:48 ` [PATCH i-g-t 05/10] lib/igt_kmod: Add igt_kmod_bind() Lucas De Marchi
2025-04-14 18:06   ` Kamil Konieczny
2025-04-15  5:34   ` Riana Tauro
2025-04-10 22:48 ` [PATCH i-g-t 06/10] tests/intel/xe_fault_injection: Use igt_kmod_bind() Lucas De Marchi
2025-04-14 11:00   ` Francois Dugast
2025-04-10 22:48 ` [PATCH i-g-t 07/10] lib/igt_kmod: Add rebind abstraction Lucas De Marchi
2025-04-14 18:07   ` Kamil Konieczny
2025-04-14 21:36     ` Lucas De Marchi
2025-04-28 11:27       ` Kamil Konieczny
2025-04-15  5:49   ` Riana Tauro
2025-04-17  3:38     ` Lucas De Marchi
2025-04-10 22:48 ` [PATCH i-g-t 08/10] tests/intel/xe_fault_injection: Drop XE_SYSFS_DRIVER_TRY_BIND usage Lucas De Marchi
2025-04-14 11:01   ` Francois Dugast
2025-04-10 22:48 ` [PATCH i-g-t 09/10] tests/intel/xe_wedged: Drop XE_SYSFS_DRIVER_REBIND usage Lucas De Marchi
2025-04-14 11:02   ` Francois Dugast
2025-04-10 22:49 ` [PATCH i-g-t 10/10] lib/igt_sysfs: Drop xe_sysfs_driver_do() Lucas De Marchi
2025-04-14 11:03   ` Francois Dugast
2025-04-10 23:59 ` ✓ i915.CI.BAT: success for lib/kmod: unbind, bind, rebind Patchwork
2025-04-11  0:18 ` ✓ Xe.CI.BAT: " Patchwork
2025-04-11  4:34 ` ✗ i915.CI.Full: failure " Patchwork
2025-04-11  5:09 ` ✓ Xe.CI.Full: success " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox