commit | 3c8766d0ca9618a406b0a1ecc29147820e93d984 | [log] [tgz] |
---|---|---|
author | Olav Haugan <ohaugan@codeaurora.org> | Fri Aug 22 17:12:32 2014 -0700 |
committer | Will Deacon <will.deacon@arm.com> | Tue Sep 02 10:04:42 2014 +0100 |
tree | cdfa0bbf78fcc231e758ea9cd0d097bb2468b107 | |
parent | 43b412bedb782e27a8771b61870dd45a24975266 [diff] |
iommu/arm-smmu: Do not access non-existing S2CR registers The number of S2CR registers is not properly set when stream matching is not supported. Fix this and add check that we do not try to access outside of the number of S2CR regisrers. Signed-off-by: Olav Haugan <ohaugan@codeaurora.org> [will: added missing NUMSIDB_* definitions] Signed-off-by: Will Deacon <will.deacon@arm.com>