Re: [PATCH/RFC 0/4] Probe deferral for IOMMU DT integration
From: Marek Szyprowski
Date: Wed Feb 11 2015 - 04:38:22 EST
On 2015-02-07 23:41, arnd@xxxxxxxx wrote:
Laura Abbott <lauraa@xxxxxxxxxxxxxx> hat am 6. Februar 2015 um 01:31
The requirement for this is based on a previous patch to add clock
support to the ARM SMMU driver. Once we have clock support, it's
possible that the driver itself may need to be defered which breaks
a bunch of assumptions about how SMMU probing is supposed to work.
I was hoping that we would not need this, and instead treat the iommu in
the same way as timers and SMP initialization, both
of which need to be run early at boot time but may rely on clock controllers
to be initialized first.
Is there a specific requirement that makes this impossible here, or is your
intention to solve the problem more nicely by allowing deferred probing
over forcing the input clocks of the iommu to be early?
I case of Exynos SoCs there is also a dependency on power domains (some
be disabled by the bootloader). It is convenient to use the whole device
infrastructure for this although it still doesn't provide any methods of
modelling the real power management dependencies. Right now I simply ignored
this problem and left it for the future.
I will check if this patchset helps in our case.
Marek Szyprowski, PhD
Samsung R&D Institute Poland
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/