diff options
author | Robin Murphy <[email protected]> | 2016-09-12 17:13:48 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2016-09-16 09:34:18 +0100 |
commit | 21174240e4f4439bb8ed6c116cdbdc03eba2126e (patch) | |
tree | 2498b0d9666a2d8abec99731efc42cc42039bd31 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 95fa99aa402ad516ec825057a168f395ece39a2e (diff) |
iommu/arm-smmu: Handle stream IDs more dynamically
Rather than assuming fixed worst-case values for stream IDs and SMR
masks, keep track of whatever implemented bits the hardware actually
reports. This also obviates the slightly questionable validation of SMR
fields in isolation - rather than aborting the whole SMMU probe for a
hardware configuration which is still architecturally valid, we can
simply refuse masters later if they try to claim an unrepresentable ID
or mask (which almost certainly implies a DT error anyway).
Acked-by: Will Deacon <[email protected]>
Tested-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions