Re: [PATCH 09/10] drm/i915/guc: Consider also RCU depth in busy loop.

2024-06-11 Thread Rodrigo Vivi
On Fri, Apr 05, 2024 at 04:18:27PM +0200, Sebastian Andrzej Siewior wrote: > intel_guc_send_busy_loop() looks at in_atomic() and irqs_disabled() to > decide if it should busy-spin while waiting or if it may sleep. > Both checks will report false on PREEMPT_RT if sleeping spinlocks are > acquired

[PATCH 09/10] drm/i915/guc: Consider also RCU depth in busy loop.

2024-04-05 Thread Sebastian Andrzej Siewior
intel_guc_send_busy_loop() looks at in_atomic() and irqs_disabled() to decide if it should busy-spin while waiting or if it may sleep. Both checks will report false on PREEMPT_RT if sleeping spinlocks are acquired leading to RCU splats while the function sleeps. Check also if RCU has been