diff options
author | Robin Murphy <[email protected]> | 2016-04-20 14:53:33 +0100 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2016-04-21 16:47:32 +0200 |
commit | 9800699c645952da6a7399194d3e762b84cde3cd (patch) | |
tree | 14365ce42655652ef3e4a990385745bcce1b91ff /tools/perf/util/trace-event-scripting.c | |
parent | 5f634956cc550768ebd75cf26fdba01044bc600e (diff) |
iommu/arm-smmu: Don't allocate resources for bypass domains
Until we get fully plumbed into of_iommu_configure, our default
IOMMU_DOMAIN_DMA domains just bypass translation. Since we achieve that
by leaving the stream table entries set to bypass instead of pointing at
a translation context, the context bank we allocate for the domain is
completely wasted. Context banks are typically a rather limited
resource, so don't hog ones we don't need.
Reported-by: Eric Auger <[email protected]>
Tested-by: Eric Auger <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions