diff options
author | Will Deacon <will.deacon@arm.com> | 2014-05-01 18:05:08 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-07-03 15:50:21 +0100 |
commit | a9a1b0b53d8b7ca60abef0687eae927f286f07c2 (patch) | |
tree | 428e91378bf91375047156a8ac707b1eb45f557b /Documentation/devicetree/bindings/iommu | |
parent | a65217a4bcdb654e04fcc42b302d8a15708e14ce (diff) | |
download | blackbird-op-linux-a9a1b0b53d8b7ca60abef0687eae927f286f07c2.tar.gz blackbird-op-linux-a9a1b0b53d8b7ca60abef0687eae927f286f07c2.zip |
iommu/arm-smmu: add support for PCI master devices
This patch extends the ARM SMMU driver so that it can handle PCI master
devices in addition to platform devices described in the device tree.
The driver is informed about the PCI host controller in the DT via a
phandle to the host controller in the mmu-masters property. The host
controller is then added to the master tree for that SMMU, just like a
normal master (although it probably doesn't advertise any StreamIDs).
When a device is added to the PCI bus, we set the archdata.iommu pointer
for that device to describe its StreamID (actually its RequesterID for
the moment). This allows us to re-use our existing data structures using
the host controller of_node for everything apart from StreamID
configuration, where we reach into the archdata for the information we
require.
Cc: Varun Sethi <varun.sethi@freescale.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iommu')
0 files changed, 0 insertions, 0 deletions