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

Skip to content
Commit 3c8766d0 authored by Olav Haugan's avatar Olav Haugan Committed by Will Deacon
Browse files

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: default avatarOlav Haugan <ohaugan@codeaurora.org>
[will: added missing NUMSIDB_* definitions]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 43b412be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment