Re: Crash with 6.6.0-rc1-rt1 and several i915 locking call traces with v6.5.2-rt8 and gnome-shell on Alder Lake laptop

From: John B. Wyatt IV
Date: Mon Oct 02 2023 - 09:58:27 EST


On Mon, Oct 02, 2023 at 11:45:45AM +0200, Sebastian Andrzej Siewior wrote:
> I looked at the traces in this email and they originate from a
> might_sleep() in guc_context_set_prio(). The reason is that they check
> at the atomic/interrupt state to figure out if they can sleep or not.
> Both checks don't work on RT as intended and the former has a not to not
> be used in drivers…
>
> The snippet below should cure this. Could you test, please.
>
> Sebastian
>

I tested this at both boot and suspend/resume. No call traces reported.

Thank you Sebastian.