mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
Trap handling and SM preprocessing is not needed in safety build i.e. when NVGPU_DEBUGGER is false Add NVGPU_DEBUGGER flag for all unsafe processing. In safety build we only report the SM exceptions and return error so that recovery is triggered Also add flag for gr_intr_post_bpt_events() since event handling is not needed in safety build Jira NVGPU-3506 Change-Id: I660930fdb185b82c0adb612decbfd3d014ce2524 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2127754 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>