Re: v6.8.0-rc6: mei_ace_probe / mei_vsc_probe: do not call blocking ops when !TASK_RUNNING

From: Sakari Ailus
Date: Wed Feb 28 2024 - 13:54:29 EST


Hi Dominik,

On Wed, Feb 28, 2024 at 06:41:38PM +0100, Dominik Brodowski wrote:
> Hi,
>
> thanks for your work getting the Intel IPU6 camera system - such as found
> within my Dell Inc. XPS 9315 - to work with an upstream kernel. Much
> appreciated!
>
> On Linux 6.8.0-rc6+ (as of this morning, HEAD is at cf1182944c7c), though,
> I get the following warning during boot with everything built into the
> kernel:
>
> ------------[ cut here ]------------
> do not call blocking ops when !TASK_RUNNING; state=2 set at [<000000003688dc79>] prepare_to_wait_event+0x54/0x1a0
> WARNING: CPU: 5 PID: 122 at kernel/sched/core.c:10099 __might_sleep+0x59/0x60
> Modules linked in:
> CPU: 5 PID: 122 Comm: kworker/u24:3 Tainted: G T 6.8.0-rc6+ #2
> Hardware name: Dell Inc. XPS 9315/00KRKP, BIOS 1.1.3 05/11/2022
> Workqueue: events_unbound deferred_probe_work_func
> RIP: 0010:__might_sleep+0x59/0x60

The issue should be fixed by this patch:
<URL:https://git.linuxtv.org/sailus/media_tree.git/commit/?h=ipu6&id=e2dc122949ce2efd05910c0c78617534c3258158>.

I've posted to the LKML, too, so hopefully we have it merged soon.

--
Regards,

Sakari Ailus