Skip to content

AMDGPU spams log (regression in 5.15.128) #2979

Closed
pmenzel opened this issue Sep 12, 2023 · 1 comment · Fixed by #2982
Closed

AMDGPU spams log (regression in 5.15.128) #2979

pmenzel opened this issue Sep 12, 2023 · 1 comment · Fixed by #2982

Comments

@pmenzel
Copy link
Collaborator

pmenzel commented Sep 12, 2023

Regression introduced in commit 4921792e04 (drm/amdgpu: install stub fence into potential unused fence pointers) in Linux 5.15.128:

commit 4921792e04f2125b5eadef9dbe9417a8354c7eff
Author: Lang Yu <Lang.Yu@amd.com>
Date:   Fri May 5 20:14:15 2023 +0800

    drm/amdgpu: install stub fence into potential unused fence pointers
    
    [ Upstream commit 187916e6ed9d0c3b3abc27429f7a5f8c936bd1f0 ]
    
    When using cpu to update page tables, vm update fences are unused.
    Install stub fence into these fence pointers instead of NULL
    to avoid NULL dereference when calling dma_fence_wait() on them.
    
    Suggested-by: Christian König <christian.koenig@amd.com>
    Signed-off-by: Lang Yu <Lang.Yu@amd.com>
    Reviewed-by: Christian König <christian.koenig@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>

 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Alex Deucher comments:

This was autoselected for stable, but was not applicable and should be reverted. I've asked Greg and Sasha to revert it.

Originally posted by @pmenzel in #2976 (comment)

@pmenzel
Copy link
Collaborator Author

pmenzel commented Sep 12, 2023

6.1.52.mx64.456 and 6.5.2.mx64.452 are not affected by this.

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant