Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/3] tests/xe_eudebug_online: Add set-breakpoint-sigint-debugger test
@ 2025-02-24 13:08 Dominik Karol Piątkowski
  2025-02-24 13:08 ` [PATCH i-g-t 1/3] lib/eudebug: Make debugger thread SIGINTable Dominik Karol Piątkowski
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Dominik Karol Piątkowski @ 2025-02-24 13:08 UTC (permalink / raw)
  To: igt-dev
  Cc: Dominik Grzegorzek, Christoph Manszewski, Jan Sokolowski,
	Dominik Karol Piątkowski

Add a test that sends SIGINT to the debugger thread with random timing
and checks if nothing breaks, exercising the scenario multiple times.

In order for this test to work, make debugger thread SIGINTable.

While at it, fix rare xe_eudebug_client_stop corner case issue that was
spotted with the new test.

Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@intel.com>

Dominik Karol Piątkowski (3):
  lib/eudebug: Make debugger thread SIGINTable
  lib/eudebug: Fix xe_eudebug_client_stop corner case
  tests/xe_eudebug_online: Add set-breakpoint-sigint-debugger test

 lib/xe/xe_eudebug.c             | 18 +++++++-
 tests/intel/xe_eudebug_online.c | 75 +++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+), 2 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-03-11 13:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-24 13:08 [PATCH i-g-t 0/3] tests/xe_eudebug_online: Add set-breakpoint-sigint-debugger test Dominik Karol Piątkowski
2025-02-24 13:08 ` [PATCH i-g-t 1/3] lib/eudebug: Make debugger thread SIGINTable Dominik Karol Piątkowski
2025-03-10 11:40   ` Mika Kuoppala
2025-02-24 13:08 ` [PATCH i-g-t 2/3] lib/eudebug: Fix xe_eudebug_client_stop corner case Dominik Karol Piątkowski
2025-03-10 12:00   ` Mika Kuoppala
2025-02-24 13:08 ` [PATCH i-g-t 3/3] tests/xe_eudebug_online: Add set-breakpoint-sigint-debugger test Dominik Karol Piątkowski
2025-03-10 12:23   ` Manszewski, Christoph
2025-03-11 13:54     ` Piatkowski, Dominik Karol
2025-02-25  7:47 ` ✓ Xe.CI.BAT: success for " Patchwork
2025-02-25  7:53 ` ✗ i915.CI.BAT: failure " Patchwork
2025-02-25 13:37 ` ✗ Xe.CI.Full: " Patchwork

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