summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2017-04-10 13:20:57 +0200
committerJoerg Roedel <jroedel@suse.de>2017-04-20 16:31:06 +0200
commitd7b0558230e444f29488fcee0b0b561015d16f8a (patch)
treecbe9076d119c98aa9f0562c2d2f5dbb57141e16a /samples
parentiommu/of: Refactor of_iommu_configure() for error handling (diff)
downloadlinux-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