All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] drm/i915/selftests: fix stolen reset test races
@ 2026-11-12 11:59 Sebastian Brzezinka
  2026-11-12 11:59 ` [PATCH v5 1/2] drm/i915/selftests: Fix unlocked mm.stolen in reset selftest Sebastian Brzezinka
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sebastian Brzezinka @ 2026-11-12 11:59 UTC (permalink / raw)
  To: intel-gfx
  Cc: andi.shyti, chris.p.wilson, krzysztof.karas, krzysztof.niemiec,
	Sebastian Brzezinka

The stolen reset selftests (igt_reset_device_stolen and
igt_reset_engines_stolen) poison the unused stolen pages, reset the GPU
and check that those pages did not change. This series fixes two races
in the test itself. Neither one is a GPU reset problem.

v4 -> v5:
- Hold stolen_lock across the reset too (patch 1)
- Add patch 2, which takes ggtt->error_mutex in the test

Sebastian Brzezinka (2):
  drm/i915/selftests: Fix unlocked mm.stolen in reset selftest
  drm/i915/selftests: take error_mutex in stolen reset test

 drivers/gpu/drm/i915/gt/selftest_reset.c | 47 +++++++++++++++++++-----
 1 file changed, 38 insertions(+), 9 deletions(-)

-- 
2.55.0


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

end of thread, other threads:[~2026-11-12 16:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 11:59 [PATCH v5 0/2] drm/i915/selftests: fix stolen reset test races Sebastian Brzezinka
2026-11-12 11:59 ` [PATCH v5 1/2] drm/i915/selftests: Fix unlocked mm.stolen in reset selftest Sebastian Brzezinka
2026-11-12 12:22   ` sashiko-bot
2026-11-12 11:59 ` [PATCH v5 2/2] drm/i915/selftests: take error_mutex in stolen reset test Sebastian Brzezinka
2026-11-12 12:26   ` sashiko-bot
2026-11-12 16:22 ` ✓ i915.CI.BAT: success for drm/i915/selftests: fix stolen reset test races Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.