Merge "msm: sde: Remove panic from rotator smmu fault handler"
This commit is contained in:
commit
541fe938d2
1 changed files with 10 additions and 3 deletions
|
@ -551,11 +551,18 @@ static int sde_smmu_fault_handler(struct iommu_domain *domain,
|
||||||
|
|
||||||
sde_smmu = (struct sde_smmu_client *)token;
|
sde_smmu = (struct sde_smmu_client *)token;
|
||||||
|
|
||||||
/* trigger rotator panic and dump */
|
/* trigger rotator dump */
|
||||||
SDEROT_ERR("trigger rotator panic and dump, iova=0x%08lx\n", iova);
|
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;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue