]> git.baikalelectronics.ru Git - kernel.git/commit
of: property: Add device link support for "iommu-map"
authorWill Deacon <will@kernel.org>
Wed, 20 Nov 2019 19:00:28 +0000 (19:00 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Nov 2019 12:01:16 +0000 (13:01 +0100)
commit217c0012023b8b67e86c4779f06397dc1ebb8b6e
tree9248e09bc8eb470ea720b59a92bc70750fd3d044
parent4115375020f4b2009f549db0d4725a7e43224d1d
of: property: Add device link support for "iommu-map"

Commit 1167ad13e7fd ("of: property: Add device link support for iommus,
mboxes and io-channels") added device link support for IOMMU linkages
described using the "iommus" property. For PCI devices, this property
is not present and instead the "iommu-map" property is used on the host
bridge node to map the endpoint RequesterIDs to their corresponding
IOMMU instance.

Add support for "iommu-map" to the device link supplier bindings so that
probing of PCI devices can be deferred until after the IOMMU is
available.

Cc: Rob Herring <robh@kernel.org>
Cc: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Acked-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20191120190028.4722-1-will@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/of/property.c