Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e491deea authored by Mitchel Humpherys's avatar Mitchel Humpherys Committed by Matt Wagantall
Browse files

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: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 00cc3140
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}