Re: WARNING: CPU: 14 PID: 125 at drivers/gpu/drm/drm_mode_object.c:45 drm_mode_object_add+0x80/0x90 [drm]

From: Alex Deucher
Date: Mon Sep 18 2023 - 11:34:10 EST


On Mon, Sep 18, 2023 at 3:17 AM Toralf Förster
<tinderbox@xxxxxxxxxxxxxxxx> wrote:
>
> I do suffer since 1 or 2 weeks from amd gpu problems (6.1.53 and before)
> like
>
> Sep 15 16:51:22 p14s kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR*
> ring sdma0 timeout, signaled seq=122011, emitted seq=122013
> Sep 15 16:51:22 p14s kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR*
> Process information: process pid 0 thread pid 0
> Sep 15 16:51:22 p14s kernel: amdgpu 0000:04:00.0: amdgpu: GPU reset begin!
> Sep 15 16:51:23 p14s kernel: amdgpu 0000:04:00.0: amdgpu: free PSP TMR
> buffer
> Sep 15 16:51:23 p14s kernel: amdgpu 0000:04:00.0: amdgpu: MODE2 reset
> Sep 15 16:51:23 p14s kernel: amdgpu 0000:04:00.0: amdgpu: GPU reset
> succeeded, trying to resume
> Sep 15 16:51:23 p14s kernel: [drm] PCIE GART of 1024M enabled (table at
> 0x000000F43FC00000).
> Sep 15 16:51:23 p14s kernel: [drm] PSP is resuming...
> Sep 15 16:51:23 p14s kernel: [drm] reserve 0xa00000 from 0xf43e000000
> for PSP TMR
>
> and tried therefore 6.5.3. But dmesg gives:
>
> WARNING: CPU: 14 PID: 125 at drivers/gpu/drm/drm_mode_object.c:45
> drm_mode_object_add+0x80/0x90 [drm]
> WARNING: CPU: 14 PID: 125 at drivers/gpu/drm/drm_mode_object.c:45
> drm_mode_object_add+0x80/0x90 [drm]
> WARNING: CPU: 14 PID: 125 at drivers/gpu/drm/drm_mode_object.c:45
> drm_mode_object_add+0x80/0x90 [drm]
>
> Are those warning harmless ? Full dmesg and .config are attached.

Yes. Fixed in this commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=69a959610229

Alex

> TIA
>
> --
> toralf