msm: camera: ope: Handle OPE smmu fault with pid info

Kernel apis provide information fault caused pid and mid data.
Handle the OPE smmu fault using pid and mid data. Based on the
mid data, dump only corresponding port info which caused the
fault. Pid and mid values are target dependent, these values
will be updated on the ope node dt entries.

CRs-Fixed: 2857868
Change-Id: I909f1787e71e67e5ed1d3464dfeb506418d151e4
Signed-off-by: Vikram Sharma <vikramsa@codeaurora.org>
This commit is contained in:
Vikram Sharma
2020-12-21 23:41:32 +05:30
committed by Gerrit - the friendly Code Review server
父節點 37e33fb211
當前提交 57bff5aede
共有 24 個文件被更改,包括 524 次插入181 次删除

查看文件

@@ -44,7 +44,7 @@ static int cam_jpeg_context_dump_active_request(void *data,
closest_port = -1;
CAM_INFO(CAM_JPEG, "req_id : %lld ", req->request_id);
rc = cam_context_dump_pf_info_to_hw(ctx, pf_dbg_entry->packet,
rc = cam_context_dump_pf_info_to_hw(ctx, pf_dbg_entry,
&b_mem_found, &b_ctx_found, &resource_type, pf_info);
if (rc)
CAM_ERR(CAM_JPEG, "Failed to dump pf info");