[PATCH v2 0/2] arm-smmu: add master mask
thommyj at gmail.com
Fri Jun 3 05:19:13 PDT 2016
This patchset makes it possible to manually set a mask for a master.
Default behaviour when not specifying a mask is to keep current behaviour.
If masks are specified for a master, all of its stream IDs needs to have a
Platforms with a large number of IDs per master starts to show up. Its
impractical to specify all available IDs in some cases. Specific example
is the ZynqMPSoC, where the streamid have 6 bits from the AXI ID. So 2^6
IDs for each PL port, which there are 6 of.
Thommy Jakobsson (2):
arm-smmu: doc: add binding for stream ID mask
arm-smmu: Add possibillity to mask streamIDs
.../devicetree/bindings/iommu/arm,smmu.txt | 15 ++++++-
drivers/iommu/arm-smmu.c | 52 +++++++++++++++++++++-
2 files changed, 63 insertions(+), 4 deletions(-)
- fix bug of mask not beeing setup properly
- changed to using of_for_each_phandle for DT mask parse
More information about the linux-arm-kernel