mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: Print PC and ESR for GR errors when fault occurs
Added print for PC, WARP and GLOBAL ESR when the fault occurs. Bug 3973433 Change-Id: I8ec1d2aa16125d1628ca7321629b9f771322268a Signed-off-by: atanand <atanand@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2900112 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
36fcd45ca4
commit
4b2e1b4a38
@@ -1944,7 +1944,15 @@ u32 gv11b_gr_intr_record_sm_error_state(struct gk20a *g, u32 gpc, u32 tpc, u32 s
|
||||
|
||||
err = gv11b_gr_intr_read_sm_error_state(g, tsg, offset, sm_id);
|
||||
if (err != 0) {
|
||||
nvgpu_err(g, "error writing sm_error_state");
|
||||
nvgpu_err(g, "error populating tsg sm_error_state");
|
||||
} else {
|
||||
nvgpu_err(g, "sm err state gpc_id(%d), tpc_id(%d), "
|
||||
"offset(%d), sm_id(%d), hww_global_esr %d,"
|
||||
"hww_warp_esr %d, hww_warp_esr_pc 0x%llx",
|
||||
gpc, tpc, offset, sm_id,
|
||||
tsg->sm_error_states[sm_id].hww_global_esr,
|
||||
tsg->sm_error_states[sm_id].hww_warp_esr,
|
||||
tsg->sm_error_states[sm_id].hww_warp_esr_pc);
|
||||
}
|
||||
|
||||
record_fail:
|
||||
|
||||
Reference in New Issue
Block a user