msm: sde: Remove panic from rotator smmu fault handler
During SMMU fault for SDE rotator, it should return to SMMU driver after collecting dump data, so that SMMU driver can generate proper analysis info for the fault. CRs-Fixed: 2007472 Change-Id: I59b7b12e53524e40811f1237e4366b23a4933561 Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
This commit is contained in:
parent
7066afbbe9
commit
296dd37fbf
1 changed files with 10 additions and 3 deletions
|
@ -530,11 +530,18 @@ static int sde_smmu_fault_handler(struct iommu_domain *domain,
|
|||
|
||||
sde_smmu = (struct sde_smmu_client *)token;
|
||||
|
||||
/* trigger rotator panic and dump */
|
||||
SDEROT_ERR("trigger rotator panic and dump, iova=0x%08lx\n", iova);
|
||||
/* trigger rotator dump */
|
||||
SDEROT_ERR("trigger rotator dump, iova=0x%08lx, flags=0x%x\n",
|
||||
iova, flags);
|
||||
SDEROT_ERR("SMMU device:%s", sde_smmu->dev->kobj.name);
|
||||
|
||||
sde_rot_dump_panic();
|
||||
/* generate dump, but no panic */
|
||||
sde_rot_evtlog_tout_handler(false, __func__, "rot", "vbif_dbg_bus");
|
||||
|
||||
/*
|
||||
* return -ENOSYS to allow smmu driver to dump out useful
|
||||
* debug info.
|
||||
*/
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue