diff options
author | Robin Murphy <robin.murphy@arm.com> | 2017-04-10 13:20:57 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-04-20 16:31:06 +0200 |
commit | d7b0558230e444f29488fcee0b0b561015d16f8a (patch) | |
tree | cbe9076d119c98aa9f0562c2d2f5dbb57141e16a /samples | |
parent | iommu/of: Refactor of_iommu_configure() for error handling (diff) | |
download | linux-d7b0558230e444f29488fcee0b0b561015d16f8a.tar.xz linux-d7b0558230e444f29488fcee0b0b561015d16f8a.zip |
iommu/of: Prepare for deferred IOMMU configuration
IOMMU configuration represents unchanging properties of the hardware,
and as such should only need happen once in a device's lifetime, but
the necessary interaction with the IOMMU device and driver complicates
exactly when that point should be.
Since the only reasonable tool available for handling the inter-device
dependency is probe deferral, we need to prepare of_iommu_configure()
to run later than it is currently called (i.e. at driver probe rather
than device creation), to handle being retried, and to tell whether a
not-yet present IOMMU should be waited for or skipped (by virtue of
having declared a built-in driver or not).
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions