diff --git a/drivers/gpu/nvgpu/os/linux/ioctl_ctrl.c b/drivers/gpu/nvgpu/os/linux/ioctl_ctrl.c index 000940e99..88033547f 100644 --- a/drivers/gpu/nvgpu/os/linux/ioctl_ctrl.c +++ b/drivers/gpu/nvgpu/os/linux/ioctl_ctrl.c @@ -1004,7 +1004,8 @@ static int nvgpu_gpu_ioctl_has_any_exception( } nvgpu_mutex_acquire(&g->dbg_sessions_lock); - tpc_exception_en = g->ops.gr.intr.tpc_enabled_exceptions(g); + tpc_exception_en = nvgpu_pg_elpg_protected_call(g, + g->ops.gr.intr.tpc_enabled_exceptions(g)); nvgpu_mutex_release(&g->dbg_sessions_lock); args->tpc_exception_en_sm_mask = tpc_exception_en;