Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1550495

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

From "Sricharan" <sricharan@codeaurora.org>
Newsgroups linux.kernel
Subject RE: [PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface
Date 2017-01-04 09:10 +0100
Message-ID <sVONX-200-9@gated-at.bofh.it> (permalink)
References <sVBe1-1dx-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@arm.com>
>Cc: Matthias Brugger <matthias.bgg@gmail.com>
>Cc: Will Deacon <will.deacon@arm.com>
>Cc: Robin Murphy <robin.murphy@arm.com>
>Cc: Joerg Roedel <joro@8bytes.org>
>Cc: Marek Szyprowski <m.szyprowski@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@codeaurora.org>

Regards,
 Sricharan

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2017-01-03 18:40 +0100
  RE: [PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface "Sricharan" <sricharan@codeaurora.org> - 2017-01-04 09:10 +0100
  Re: [PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface Robin Murphy <robin.murphy@arm.com> - 2017-01-04 16:20 +0100
    Re: [PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface Yong Wu <yong.wu@mediatek.com> - 2017-01-06 08:00 +0100
  Re: [PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface Will Deacon <will.deacon@arm.com> - 2017-01-04 16:30 +0100
  Re: [PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface Marek Szyprowski <m.szyprowski@samsung.com> - 2017-01-09 09:20 +0100

csiph-web