mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: skip posting BPT events in case of recovery
In gk20a_gr_isr() we right now post BPT events irrespective of if recovery was triggered or not But posting of these events is not necessary in case we've triggered recovery. These events are needed for debugger use cases where we don't recover after hitting SM exceptions. Fix this by skipping gk20a_gr_post_bpt_events() call in case recovery was triggered Bug 200456343 Change-Id: I726d46228baccd6b298eefd5a27618d42bbbd494 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1922777 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c94643155e
commit
adb62e816e
@@ -6160,7 +6160,7 @@ int gk20a_gr_isr(struct gk20a *g)
|
||||
}
|
||||
|
||||
/* Posting of BPT events should be the last thing in this function */
|
||||
if ((global_esr != 0U) && (tsg != NULL)) {
|
||||
if ((global_esr != 0U) && (tsg != NULL) && (need_reset == false)) {
|
||||
gk20a_gr_post_bpt_events(g, tsg, global_esr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user