]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: fix amdgpu_coredump
authorChristian König <christian.koenig@amd.com>
Thu, 12 Dec 2024 15:29:18 +0000 (16:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 13:02:09 +0000 (14:02 +0100)
commit3818802ddc3d2f8462698b78d7a6702415f2f394
treec576201b75afc5729cd6f31f9cc81a44218fcc9f
parent47c8b6cf1d08f0ad40d7ea7b025442e51b35ee1f
drm/amdgpu: fix amdgpu_coredump

commit 8d1a13816e59254bd3b18f5ae0895230922bd120 upstream.

The VM pointer might already be outdated when that function is called.
Use the PASID instead to gather the information instead.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 57f812d171af4ba233d3ed7c94dfa5b8e92dcc04)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c