[PATCH 4/8] drm/amdkfd: Fix debug unregister procedure on process termination v2

2017-11-01 Thread Felix Kuehling
From: Yair Shachar Take the dbgmgr lock and unregister before destroying the debug manager. Do this before destroying the queues. v2: Correct locking order in kfd_ioctl_dbg_register to ake sure the process mutex and dbgmgr mutex are always taken in the same order. Signed-off-by: Yair Shachar S

Re: [PATCH 4/8] drm/amdkfd: Fix debug unregister procedure on process termination

2017-11-01 Thread Oded Gabbay
On Thu, Oct 26, 2017 at 1:41 AM, Felix Kuehling wrote: > From: Yair Shachar > > Take the dbgmgr lock and unregister before destroying the debug manager. > Do this before destroying the queues. > > Signed-off-by: Yair Shachar > Signed-off-by: Felix Kuehling > --- > drivers/gpu/drm/amd/amdkfd/kf

[PATCH 4/8] drm/amdkfd: Fix debug unregister procedure on process termination

2017-10-25 Thread Felix Kuehling
From: Yair Shachar Take the dbgmgr lock and unregister before destroying the debug manager. Do this before destroying the queues. Signed-off-by: Yair Shachar Signed-off-by: Felix Kuehling --- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 37 +++- 1 file changed, 27 in