diff options
| author | Lin.Cao <[email protected]> | 2024-04-24 03:27:16 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-08 19:17:05 +0000 |
| commit | 547033b593063eb85bfdf9b25a5f1b8fd1911be2 (patch) | |
| tree | 0edb5bd129e61f62168aecc9a90ff09d9ecc96f7 /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
| parent | drm/amdgpu: Fix out-of-bounds write warning (diff) | |
| download | kernel-547033b593063eb85bfdf9b25a5f1b8fd1911be2.tar.gz kernel-547033b593063eb85bfdf9b25a5f1b8fd1911be2.zip | |
drm/amdkfd: Check debug trap enable before write dbg_ev_file
In interrupt context, write dbg_ev_file will be run by work queue. It
will cause write dbg_ev_file execution after debug_trap_disable, which
will cause NULL pointer access.
v2: cancel work "debug_event_workarea" before set dbg_ev_file as NULL.
Signed-off-by: Lin.Cao <[email protected]>
Reviewed-by: Jonathan Kim <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions
