RE: [PATCH] drm/amdkfd: Fix a potential circular lock

2019-05-29 Thread Zeng, Oak
Regards, Oak -Original Message- From: Kuehling, Felix Sent: Tuesday, May 28, 2019 5:08 PM To: Zeng, Oak ; amd-gfx@lists.freedesktop.org Cc: Zhao, Yong ; Liu, Alex ; Freehill, Chris Subject: Re: [PATCH] drm/amdkfd: Fix a potential circular lock On 2019-05-28 2:28 p.m., Zeng, Oak

Re: [PATCH] drm/amdkfd: Fix a potential circular lock

2019-05-28 Thread Kuehling, Felix
On 2019-05-28 2:28 p.m., Zeng, Oak wrote: > The idea to break the circular lock dependency is, unlock dqm > temporarily before calling init_mqd in call stack #1 (see below) > > [ 513.604034] == > [ 513.604205] WARNING: possible circular locking

[PATCH] drm/amdkfd: Fix a potential circular lock

2019-05-28 Thread Zeng, Oak
The idea to break the circular lock dependency is, unlock dqm temporarily before calling init_mqd in call stack #1 (see below) [ 513.604034] == [ 513.604205] WARNING: possible circular locking dependency detected [ 513.604375] 4.18.0-kfd-root