Files
linux/drivers
Lin.Cao e6ea3b8fe3 drm/amdkfd: Check debug trap enable before write dbg_ev_file
[ Upstream commit 547033b593063eb85bfdf9b25a5f1b8fd1911be2 ]

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 <lincao12@amd.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-08 07:54:40 +02:00
..
2024-08-29 17:33:59 +02:00
2024-08-19 06:04:28 +02:00
2024-08-29 17:33:42 +02:00
2024-08-11 12:47:15 +02:00
2024-09-04 13:28:30 +02:00