diff options
| author | Christian König <[email protected]> | 2023-12-08 12:43:09 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-12-13 21:50:35 +0000 |
| commit | ceb9a321e7639700844aa3bf234a4e0884f13b77 (patch) | |
| tree | a016d0f80d815a4400d16e8cd5f74c5560692a97 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | drm/amd: Fix a probing order problem on SDMA 2.4 (diff) | |
| download | kernel-ceb9a321e7639700844aa3bf234a4e0884f13b77.tar.gz kernel-ceb9a321e7639700844aa3bf234a4e0884f13b77.zip | |
drm/amdgpu: fix tear down order in amdgpu_vm_pt_free
When freeing PD/PT with shadows it can happen that the shadow
destruction races with detaching the PD/PT from the VM causing a NULL
pointer dereference in the invalidation code.
Fix this by detaching the the PD/PT from the VM first and then
freeing the shadow instead.
Signed-off-by: Christian König <[email protected]>
Fixes: https://gitlab.freedesktop.org/drm/amd/-/issues/2867
Cc: <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
