[PATCH 1/2] iommu/msm: Claim bus ops on probe

Robin Murphy robin.murphy at arm.com
Wed Jan 17 05:39:18 PST 2018


On 17/01/18 13:33, Joerg Roedel wrote:
> On Mon, Jan 08, 2018 at 06:42:30PM +0000, Robin Murphy wrote:
>> Since the MSM IOMMU driver now probes via DT exclusively rather than
>> platform data, dependent masters should be deferred until the IOMMU
>> itself is ready. Thus we can do away with the early initialisation
>> hook to unconditionally claim the bus ops, and instead do that only
>> once an IOMMU is actually probed. Furthermore, this should also make
>> the driver safe for multiplatform kernels on non-MSM SoCs.
>>
>> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
> 
> Applied both, thanks Robin.

Oops, patch #2 of this series will break the build, as it was 
accidentally based on an older branch missing the Renesas IPMMU updates. 
Please see v2 [1] - I'm still hoping for confirmation from the Renesas 
folks, but it *should* be fine...

Incidentally, per your other mail, these changes also makes Jeffy's 
"Only do IOMMU lookup for available ones" patch obsolete.

Sorry for the mess,
Robin.

[1] 
https://lists.linuxfoundation.org/pipermail/iommu/2018-January/025395.html



More information about the linux-arm-kernel mailing list