Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 687c8480 authored by Abhishek Kondaveeti's avatar Abhishek Kondaveeti Committed by Gerrit - the friendly Code Review server
Browse files

msm: isp: Fix isp recovery mechanism



Check for overflow error in pagefault handler and
proceed with recovery if pagaefault is the result
of the overflow.

Change-Id: Ib57777151d48c78ca8dc9984b4b823e62a621db8
Signed-off-by: default avatarAbhishek Kondaveeti <akondave@codeaurora.org>
parent 5d78c03a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2225,8 +2225,6 @@ static void msm_vfe_iommu_fault_handler(struct iommu_domain *domain,

		mutex_lock(&vfe_dev->core_mutex);
		if (vfe_dev->vfe_open_cnt > 0) {
			atomic_set(&vfe_dev->error_info.overflow_state,
				HALT_ENFORCED);
			pr_err_ratelimited("%s: fault address is %lx\n",
				__func__, iova);
			msm_isp_process_iommu_page_fault(vfe_dev);