[PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface

Sricharan sricharan at codeaurora.org
Wed Jan 4 00:00:28 PST 2017

Hi Lorenzo,

>With the introduction of the new iommu_{register/get}_instance()
>interface in commit e4f10ffe4c9b ("iommu: Make of_iommu_set/get_ops() DT
>agnostic") (based on struct fwnode_handle as look-up token, so firmware
>agnostic) to register IOMMU instances with the core IOMMU layer there is
>no reason to keep the old OF based interface around any longer.
>Convert all the IOMMU drivers (and OF IOMMU core code) that rely on the
>of_iommu_{set/get}_ops() to the new kernel interface to register/retrieve
>IOMMU instances and remove the of_iommu_{set/get}_ops() remaining glue
>code in order to complete the interface rework.
>Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
>Cc: Matthias Brugger <matthias.bgg at gmail.com>
>Cc: Will Deacon <will.deacon at arm.com>
>Cc: Robin Murphy <robin.murphy at arm.com>
>Cc: Joerg Roedel <joro at 8bytes.org>
>Cc: Marek Szyprowski <m.szyprowski at samsung.com>
>Exynos, msm and mtk code compile tested only owing to lack of
>test platforms, I would appreciate some help in testing this
>patch on those platforms before merging it even if it is just
>a simple interface conversion.

For msm,
Tested-by: Sricharan R <sricharan at codeaurora.org>


More information about the linux-arm-kernel mailing list