summary refs log tree commit diff
path: root/security
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2016-10-17 12:49:21 +0100
committerJoerg Roedel <jroedel@suse.de>2016-11-10 11:59:32 +0100
commit84672f192671e64e473eb535259c910860cab7a9 (patch)
tree692bc7af604d6ab5dc1e9cc72733a1cfd176afa2 /security
parent58f0d1d536bc71718286073aceb819eb0064e4ce (diff)
downloadlinux-84672f192671e64e473eb535259c910860cab7a9.tar.gz
iommu/mediatek: Convert M4Uv1 to iommu_fwspec
Our per-device data consists of the M4U instance and firmware-provided
list of LARB IDs, which is a perfect fit for the generic iommu_fwspec
machinery. Use that directly instead of the custom archdata code - while
we can't rely on the of_xlate() mechanism to initialise things until the
32-bit ARM DMA code learns about groups and default domains, it still
results in a reasonable simplification overall.

CC: Honghui Zhang <honghui.zhang@mediatek.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Honghui Zhang <honghui.zhang@mediatek.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions