diff options
| author | Mitchel Humpherys <mitchelh@codeaurora.org> | 2015-02-02 08:36:47 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:11:44 -0700 |
| commit | 93684aed807d277efef77b6e638b69010e8ebde5 (patch) | |
| tree | a92298aee6e8dc73f825a206b7797cdb15bee80f | |
| parent | 50a07b83e58d9c8389fd6bd2f40dc1081421646d (diff) | |
iommu/arm-smmu: print idr0 when translation support is not found
To aide in debugging, print the value of the IDR0 register when no
translation support is found, which would generally indicate a hardware
bug or missing clocks/power.
Change-Id: I22dd44fc30012c72a7d04088ab079076b6837f7e
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
| -rw-r--r-- | drivers/iommu/arm-smmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index e81e89477e3b..e11fefb4e19f 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c @@ -2388,7 +2388,7 @@ static int arm_smmu_device_cfg_probe(struct arm_smmu_device *smmu) if (!(smmu->features & (ARM_SMMU_FEAT_TRANS_S1 | ARM_SMMU_FEAT_TRANS_S2))) { - dev_err(smmu->dev, "\tno translation support!\n"); + dev_err(smmu->dev, "\tno translation support (id0=%x)!\n", id); return -ENODEV; } |
