[PATCH 4/5] staging: vchiq_arm: Create keep-alive thread during probe

Stefan Wahren wahrenst at gmx.net
Fri Jun 27 08:18:35 PDT 2025


Hi Maíra,

[drop bouncing address from Umang and Ojaswin]

Am 26.06.25 um 22:30 schrieb Maíra Canal:
> Hi Stefan,
>
> On 26/06/25 17:14, Stefan Wahren wrote:
>> Hi Maíra,
>>
>> [add Arnd]
>>
>> Am 26.06.25 um 20:22 schrieb Maíra Canal:
>>> Hi Stefan,
>>>
>>> On 09/03/25 09:50, Stefan Wahren wrote:
>>>> Creating the keep-alive thread in vchiq_platform_init_state have
>>>> the following advantages:
>>>> - abort driver probe if kthread_create fails (more consistent 
>>>> behavior)
>>>> - make resource release process easier
>>>>
>>>> Since vchiq_keepalive_thread_func is defined below
>>>> vchiq_platform_init_state, the latter must be moved.
>>>>
>>>> Signed-off-by: Stefan Wahren <wahrenst at gmx.net>
>>>> ---
>>>>   .../interface/vchiq_arm/vchiq_arm.c           | 69 
>>>> +++++++++----------
>>>>   1 file changed, 34 insertions(+), 35 deletions(-)
>>>>
>>>
>>> After this patch landed on 6.12 stable, I started to observe the
>>> following warning in Mesa CI [1]:
>> Is this also reproducible with 6.15.x or mainline ?
>
> I was able to reproduce it with 6.16.0-rc2 [2].
Thanks, does these hangs occur without any Mesa test / are these test 
steps necessary to trigger the issue?

Is this reproducible with a real Raspberry Pi 3 (Plus)?

Do you use arm64/defconfig or a special kernel configuration?

Could you please provide kernel logs from boot until the first hang warning?

Best regards
>
> [2] https://gitlab.freedesktop.org/mairacanal/mesa/-/jobs/79092300
>
> Best Regards,
> - Maíra



More information about the linux-arm-kernel mailing list