Deepak Nibade
505b442551
gpu: nvgpu: acquire mutex for notifier read
...
We use &ch->error_notifier_mutex to protect
writes and free of error notifier
But we currently do not protect reading of
notifier in gk20a_fifo_set_ctx_mmu_error()
and vgpu_fifo_set_ctx_mmu_error()
Add new API gk20a_set_error_notifier_locked()
which is same as gk20a_set_error_notifier()
but without the locks.
In *_fifo_set_ctx_mmu_error() APIs, acquire
the mutex explicitly, and then use this new
API
gk20a_set_error_notifier() will now just call
gk20a_set_error_notifier_locked() within
a mutex
Bug 1824788
Bug 1844312
Change-Id: I1f3831dc63fe1daa761b2e17e4de3c155f505d6f
Signed-off-by: Deepak Nibade <dnibade@nvidia.com >
Reviewed-on: http://git-master/r/1273471
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Richard Zhao <rizhao@nvidia.com >
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com >
2016-12-27 01:24:35 -08:00
..
2016-12-19 15:40:25 -08:00
2015-11-18 09:45:07 -08:00
2016-10-18 12:24:26 -07:00
2016-09-20 14:56:39 -07:00
2016-11-16 21:35:36 -08:00
2016-11-16 21:35:36 -08:00
2016-11-16 21:35:36 -08:00
2016-07-20 03:09:28 -07:00
2016-12-27 01:24:35 -08:00
2016-12-27 01:24:35 -08:00
2016-12-19 15:40:19 -08:00
2016-12-19 15:40:19 -08:00
2016-12-08 10:11:28 -08:00
2016-12-09 20:24:10 -08:00
2016-09-08 16:04:09 -07:00
2016-09-08 16:04:09 -07:00
2016-12-19 15:40:25 -08:00
2015-03-18 12:11:33 -07:00
2016-12-19 15:40:25 -08:00
2016-05-23 14:48:02 -07:00
2016-12-26 00:03:59 -08:00
2016-07-30 11:29:20 -07:00
2016-11-16 21:35:36 -08:00
2016-09-08 09:43:51 -07:00
2016-11-16 21:35:36 -08:00
2015-07-03 19:00:22 -07:00
2016-08-29 16:14:40 -07:00
2016-03-23 07:48:47 -07:00
2016-11-16 21:35:36 -08:00
2016-11-16 21:35:36 -08:00
2016-12-27 01:24:35 -08:00
2016-11-16 21:35:36 -08:00
2016-10-26 11:10:01 -07:00
2016-10-26 11:10:01 -07:00
2016-10-26 11:10:01 -07:00
2016-12-20 16:46:33 -08:00
2016-10-26 11:10:01 -07:00
2016-10-26 11:10:01 -07:00
2015-09-21 16:41:55 -07:00
2015-03-18 12:11:09 -07:00
2016-12-14 12:38:32 -08:00
2016-11-16 21:34:54 -08:00
2016-12-20 16:57:01 -08:00
2016-12-27 00:33:33 -08:00
2016-12-26 00:03:59 -08:00
2016-10-14 08:11:19 -07:00
2016-11-11 08:21:08 -08:00
2016-07-22 15:10:22 -07:00
2016-12-20 15:15:13 -08:00
2016-11-30 09:19:23 -08:00
2016-11-17 17:24:39 -08:00
2016-11-22 12:58:02 -08:00
2015-03-18 12:12:06 -07:00
2016-06-13 07:39:56 -07:00
2015-03-18 12:08:53 -07:00
2016-05-24 12:39:06 -07:00
2016-04-15 08:50:34 -07:00
2015-04-04 18:02:35 -07:00
2016-04-19 08:08:07 -07:00
2016-04-25 08:16:10 -07:00
2016-10-19 10:49:04 -07:00
2015-11-10 10:33:39 -08:00
2016-07-04 23:12:29 -07:00
2016-09-15 12:24:31 -07:00
2016-05-19 15:58:24 -07:00
2015-04-04 18:08:03 -07:00
2016-04-15 08:50:34 -07:00
2015-06-06 07:23:24 -07:00
2016-05-24 12:39:06 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2016-07-22 15:10:22 -07:00
2016-04-15 08:50:34 -07:00
2016-04-15 08:50:34 -07:00
2015-03-18 12:08:53 -07:00
2016-01-27 09:53:31 -08:00
2016-03-23 07:48:47 -07:00
2016-06-07 12:31:34 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:10:41 -07:00
2015-03-18 12:08:53 -07:00
2016-09-20 10:43:40 -07:00
2016-08-30 10:04:23 -07:00
2016-07-27 14:32:54 -07:00
2015-03-18 12:12:06 -07:00
2016-06-07 12:31:34 -07:00
2015-03-18 12:12:31 -07:00
2016-12-19 15:40:36 -08:00
2016-12-21 08:46:11 -08:00
2016-10-18 12:24:33 -07:00
2016-04-08 09:42:41 -07:00
2016-12-02 05:39:04 -08:00
2016-12-25 22:20:09 -08:00
2016-09-20 10:43:35 -07:00
2016-12-25 22:20:09 -08:00
2016-09-29 13:17:46 -07:00
2016-12-25 22:20:09 -08:00
2016-12-25 22:20:09 -08:00
2016-10-19 20:43:50 -07:00
2015-03-18 12:08:53 -07:00
2016-11-16 21:35:36 -08:00
2015-03-18 12:11:33 -07:00
2016-11-16 21:35:36 -08:00
2016-07-18 23:17:55 -07:00
2016-08-31 14:04:12 -07:00
2016-12-19 15:40:03 -08:00
2015-06-01 08:16:28 -07:00
2016-11-16 21:35:36 -08:00
2016-09-15 21:58:37 -07:00
2016-10-19 20:43:50 -07:00
2016-10-19 20:43:50 -07:00
2016-12-20 15:15:51 -08:00
2016-12-20 15:15:51 -08:00