gpu: nvgpu: report MMU page fault errors to 3LSS

This patch adds support to report MMU page fault errors to 3LSS.

JIRA NVGPU-3459

Change-Id: I3f06e594a75ae79bf4deef9acdc1829a002ea869
Signed-off-by: Rajesh Devaraj <rdevaraj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2142742
GVS: Gerrit_Virtual_Submit
Reviewed-by: Antony Clince Alex <aalex@nvidia.com>
Reviewed-by: Ankur Kishore <ankkishore@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Rajesh Devaraj
2019-06-25 09:52:43 +05:30
committed by mobile promotions
parent b43fbafa93
commit cd4fa084c1
5 changed files with 60 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
#include <nvgpu/nvgpu_err.h>
struct gk20a;
struct mmu_fault_info;
int nvgpu_report_host_err(struct gk20a *g, u32 hw_unit,
u32 inst, u32 err_id, u32 intr_info)
@@ -65,3 +66,10 @@ int nvgpu_report_ctxsw_err(struct gk20a *g, u32 hw_unit, u32 err_id,
{
return 0;
}
int nvgpu_report_mmu_err(struct gk20a *g, u32 hw_unit,
u32 err_type, struct mmu_fault_info *fault_info,
u32 status, u32 sub_err_type)
{
return 0;
}