Files
linux-nvgpu/drivers/gpu/nvgpu/gk20a
Deepak Nibade da8ff40e55 gpu: nvgpu: fix deadlock on timeout lock
In gk20a_channel_timeout_stop(), we take the channel's
timeout lock and then cancel the timeout worker thread

Timeout worker thread also tries to acquire same timeout
lock.

Hence, while cancelling the timeout in gk20a_channel_timeout_stop()
if the timeout_handler is already scheduled, we will have a deadlock

Fix this by moving cancel_delayed_work_sync() out of the locks

Bug 200133289
Bug 1695481

Change-Id: Iea78770180b483a63e5e176efba27831174e9dde
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/815922
Reviewed-by: Ishan Mittal <imittal@nvidia.com>
Tested-by: Ishan Mittal <imittal@nvidia.com>
2015-10-19 23:52:04 -07:00
..
2015-10-06 13:29:13 -07:00
2015-07-03 19:00:22 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:08:53 -07:00
2015-04-04 19:01:35 -07:00
2015-03-18 12:08:53 -07:00
2015-10-09 10:52:04 -07:00
2015-10-09 10:52:04 -07:00
2015-04-04 18:57:49 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:12:25 -07:00