Revert "disp: msm: sde: update smmu fault handler to print debug info"
This reverts commit 0623a02a84
. It leads to
panic during smmu faults because we do not have any recovery. Reverting
this will give the control to the client to dump if necessary.
Change-Id: I85982e129cabc73b041e25c35e965117d60f3bfa
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
This commit is contained in:
@@ -431,10 +431,11 @@ static int msm_smmu_fault_handler(struct iommu_domain *domain,
|
||||
int flags, void *token)
|
||||
{
|
||||
struct msm_smmu_client *client;
|
||||
int rc = -EINVAL;
|
||||
|
||||
if (!token) {
|
||||
DRM_ERROR("Error: token is NULL\n");
|
||||
return -ENOSYS;
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
client = (struct msm_smmu_client *)token;
|
||||
@@ -448,7 +449,7 @@ static int msm_smmu_fault_handler(struct iommu_domain *domain,
|
||||
* return -ENOSYS to allow smmu driver to dump out useful
|
||||
* debug info.
|
||||
*/
|
||||
return -ENOSYS;
|
||||
return rc;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Viittaa uudesa ongelmassa
Block a user