summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-07-15 11:27:08 +0100
committerWill Deacon <will.deacon@arm.com>2014-09-16 19:14:16 +0100
commit8f68f8e28298abdf518648e794c71e534eb8841c (patch)
treeb84a1dd2233efcda165e48446f81e564d636ce1e /init
parent4cf740b0b6628bda1e5c9201ae0d4f56fc6c06a5 (diff)
downloadlinux-next-8f68f8e28298abdf518648e794c71e534eb8841c.tar.gz
iommu/arm-smmu: add support for multi-master iommu groups
Whilst the driver currently creates one IOMMU group per device, this will soon change when we start supporting non-transparent PCI bridges which require all upstream masters to be assigned to the same address space. This patch reworks our IOMMU group code so that we can easily support multi-master groups. The master configuration (streamids and smrs) is stored as private iommudata on the group, whilst the low-level attach/detach code is updated to avoid double alloc/free when dealing with multiple masters sharing the same SMMU configuration. This unifies device handling, regardless of whether the device sits on the platform or pci bus. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions