gpu: nvgpu: SWUD for SDL unit

This patch adds SWUD (SW Unit Design) document for SDL unit. In addition,
it re-names err_type to err_id in error reporting APIs related to ECC, GR,
PRI and MMU, to keep the name consistent with other APIs.

JIRA NVGPU-3758

Change-Id: I968218574aa78144497fc12bd6dab20d1be7aa1c
Signed-off-by: Rajesh Devaraj <rdevaraj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2151092
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Rajesh Devaraj
2019-07-10 23:04:15 +05:30
committed by mobile promotions
parent 3659c2f0c1
commit 2d8791e866
4 changed files with 308 additions and 40 deletions

View File

@@ -32,13 +32,13 @@ int nvgpu_report_host_err(struct gk20a *g, u32 hw_unit,
}
int nvgpu_report_ecc_err(struct gk20a *g, u32 hw_unit, u32 inst,
u32 err_type, u64 err_addr, u64 err_count)
u32 err_id, u64 err_addr, u64 err_count)
{
return 0;
}
int nvgpu_report_gr_err(struct gk20a *g, u32 hw_unit, u32 inst,
u32 err_type, struct gr_err_info *err_info, u32 sub_err_type)
u32 err_id, struct gr_err_info *err_info, u32 sub_err_type)
{
return 0;
}
@@ -56,7 +56,7 @@ int nvgpu_report_ce_err(struct gk20a *g, u32 hw_unit,
}
int nvgpu_report_pri_err(struct gk20a *g, u32 hw_unit, u32 inst,
u32 err_type, u32 err_addr, u32 err_code)
u32 err_id, u32 err_addr, u32 err_code)
{
return 0;
}
@@ -68,7 +68,7 @@ int nvgpu_report_ctxsw_err(struct gk20a *g, u32 hw_unit, u32 err_id,
}
int nvgpu_report_mmu_err(struct gk20a *g, u32 hw_unit,
u32 err_type, struct mmu_fault_info *fault_info,
u32 err_id, struct mmu_fault_info *fault_info,
u32 status, u32 sub_err_type)
{
return 0;