From f466a36b98dea9eb118a1bbf9eb0a43143853186 Mon Sep 17 00:00:00 2001 From: George Shen Date: Mon, 27 Feb 2023 16:21:29 -0800 Subject: [PATCH] msm: eva: Print SID programming registers During SMMU fault. Change-Id: Ic66736ed5d5c97ec6344c295c0ec0f1ca01cf19a Signed-off-by: George Shen --- msm/eva/cvp_hfi.c | 2 ++ msm/eva/msm_cvp_res_parse.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/msm/eva/cvp_hfi.c b/msm/eva/cvp_hfi.c index 6b040c34f2..20820de289 100644 --- a/msm/eva/cvp_hfi.c +++ b/msm/eva/cvp_hfi.c @@ -2447,6 +2447,8 @@ static int iris_debug_hook(void *device) dprintk(CVP_ERR, "ARP_THREAD_3_SECURE_ENABLE %#x\n", val); + if (true) + return 0; /***** GCE ******* * Bit 0 of below register is CDM secure enable for GCE * CDM buffer will be in CB4 if set diff --git a/msm/eva/msm_cvp_res_parse.c b/msm/eva/msm_cvp_res_parse.c index 1128493e55..054eb25cff 100644 --- a/msm/eva/msm_cvp_res_parse.c +++ b/msm/eva/msm_cvp_res_parse.c @@ -1050,7 +1050,7 @@ int msm_cvp_smmu_fault_handler(struct iommu_domain *domain, hdev = core->device->hfi_device_data; if (hdev) { hdev->error = CVP_ERR_NOC_ERROR; - /* call_hfi_op(core->device, debug_hook, hdev); */ + call_hfi_op(core->device, debug_hook, hdev); } mutex_unlock(&core->lock); /*