diff options
author | Andreas Herrmann <andreas.herrmann@calxeda.com> | 2013-10-01 13:39:06 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2013-10-09 14:14:39 +0100 |
commit | c55af7f719cbb0f0b28f42b3f98f662278f063c2 (patch) | |
tree | 9fb2e46fa757a6b44d9aef5fe373b98909dcabc8 /drivers/extcon | |
parent | b1950b2796da80b66df02db39cc3417266b73767 (diff) | |
download | blackbird-op-linux-c55af7f719cbb0f0b28f42b3f98f662278f063c2.tar.gz blackbird-op-linux-c55af7f719cbb0f0b28f42b3f98f662278f063c2.zip |
iommu/arm-smmu: Refine check for proper size of mapped region
There is already a check to print a warning if the size of SMMU
address space (calculated from SMMU register values) is greater than
the size of the mapped memory region (e.g. passed via DT to the
driver).
Adapt this check to print also a warning in case the mapped region is
larger than the SMMU address space.
Such a mismatch could be intentional (to fix wrong register values).
If its not intentional (e.g. due to wrong DT information) this will
very likely cause a malfunction of the driver as SMMU_CB_BASE is
derived from the size of the mapped region. The warning helps to
identify the root cause in this case.
Signed-off-by: Andreas Herrmann <andreas.herrmann@calxeda.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions