Linus Torvalds 3628e0383d Reapply "drm/qxl: simplify qxl_fence_wait"
This reverts commit 07ed11afb68d94eadd4ffc082b97c2331307c5ea.

Stephen Rostedt reports:
 "I went to run my tests on my VMs and the tests hung on boot up.
  Unfortunately, the most I ever got out was:

  [   93.607888] Testing event system initcall: OK
  [   93.667730] Running tests on all trace events:
  [   93.669757] Testing all events: OK
  [   95.631064] ------------[ cut here ]------------
  Timed out after 60 seconds"

and further debugging points to a possible circular locking dependency
between the console_owner locking and the worker pool locking.

Reverting the commit allows Steve's VM to boot to completion again.

[ This may obviously result in the "[TTM] Buffer eviction failed"
  messages again, which was the reason for that original revert. But at
  this point this seems preferable to a non-booting system... ]

Reported-and-bisected-by: Steven Rostedt <rostedt@goodmis.org>
Link: https://lore.kernel.org/all/20240502081641.457aa25f@gandalf.local.home/
Acked-by: Maxime Ripard <mripard@kernel.org>
Cc: Alex Constantino <dreaming.about.electric.sheep@gmail.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Timo Lindfors <timo.lindfors@iki.fi>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2024-05-06 13:28:59 -07:00
..
2024-04-25 19:25:54 +02:00
2024-04-08 14:09:58 +01:00
2024-03-07 21:52:03 +00:00
2024-03-15 11:58:32 -07:00
2024-03-07 20:37:04 +00:00
2024-05-03 12:05:19 -07:00
2024-04-25 14:35:55 +02:00
2024-04-11 16:23:56 -07:00
2024-05-05 10:00:47 -07:00
2024-04-19 14:02:21 -07:00
2024-03-07 20:32:47 +00:00
2024-04-09 17:01:01 -07:00
2024-03-15 17:53:48 -07:00
2024-03-13 10:59:28 -07:00
2024-03-21 12:44:10 -07:00
2024-05-05 10:08:52 -07:00
2024-04-26 13:17:33 -07:00
2024-03-07 20:32:38 +00:00
2024-03-15 11:58:32 -07:00
2024-04-30 09:06:05 -07:00
2024-03-13 11:33:10 -07:00
2024-03-12 17:44:08 -07:00
2024-03-21 10:37:39 -07:00
2024-03-21 17:16:46 -07:00
2024-05-02 10:43:35 -07:00
2024-03-21 15:18:18 -07:00
2024-03-12 10:35:24 -07:00
2024-04-11 16:23:56 -07:00
2024-04-22 17:07:13 -04:00
2024-03-15 13:21:13 -07:00
2024-03-17 12:06:10 -07:00
2024-03-19 08:48:09 -07:00