drm/msm: Print all 64 bits of the faulting IOMMU address

When we move to 64 bit addressing for a5xx and a6xx targets we will start
seeing pagefaults at larger addresses so format them appropriately in the
log message for easier debugging.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
Jordan Crouse 2019-05-07 12:02:06 -06:00 committed by Rob Clark
parent adf151c246
commit bdad5c53e1
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ static int msm_fault_handler(struct iommu_domain *domain, struct device *dev,
struct msm_iommu *iommu = arg; struct msm_iommu *iommu = arg;
if (iommu->base.handler) if (iommu->base.handler)
return iommu->base.handler(iommu->base.arg, iova, flags); return iommu->base.handler(iommu->base.arg, iova, flags);
pr_warn_ratelimited("*** fault: iova=%08lx, flags=%d\n", iova, flags); pr_warn_ratelimited("*** fault: iova=%16lx, flags=%d\n", iova, flags);
return 0; return 0;
} }