summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nvgpu-t18x.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-05-22 07:55:47 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-24 15:14:24 -0400
commitf76febb962e1681690dd378884f51770e7271820 (patch)
treec91a31990cb14c8c032724981e886a2b1c255cf1 /include/uapi/linux/nvgpu-t18x.h
parentf0444184278c356735420f0f88da744bf7adcdf7 (diff)
gpu: nvgpu: do not disable SM exceptions for BPT_INT
In gr_gk20a_handle_sm_exception(), we disable all SM exceptions if SM debug mode is set and irrespective of exception type But we should not disable SM exceptions if the only exception is BPT_INT Fix this by checking if only interrupt is BPT_INT and do not disable SM exceptions in that case Note that for rest of the exceptions we still need to disable SM exceptions Also, remove redudant checks of sm_debugger_attached since we bail out early if this flag is not set anyways Bug 200264850 Change-Id: I7732567273fc88f6c98f25372fd8619d92339734 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1487040 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/uapi/linux/nvgpu-t18x.h')
0 files changed, 0 insertions, 0 deletions