Преглед изворни кода

msm: eva: Print SID programming registers

During SMMU fault.

Change-Id: Ic66736ed5d5c97ec6344c295c0ec0f1ca01cf19a
Signed-off-by: George Shen <[email protected]>
George Shen пре 2 година
родитељ
комит
f466a36b98
2 измењених фајлова са 3 додато и 1 уклоњено
  1. 2 0
      msm/eva/cvp_hfi.c
  2. 1 1
      msm/eva/msm_cvp_res_parse.c

+ 2 - 0
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

+ 1 - 1
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);
 	/*