iommu/msm: Add DT adaptation and generic bindings support
Get series with b4
b4 am [email protected]Versions newest first
- v5 Latest0 of 7 patches 0 repliesNew
Patches in v5 No applies recorded yet
None of the 7 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Archit Taneja |
|---|---|
| Series | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V5 0/7] iommu/msm: Add DT adaptation and generic bindings support
Quoted 27 lines · Sricharan R
The
msm_iommu.cdriver currently works based on platform data.
A single master device can be connected to more than one iommu and multiple contexts in each of the iommu. This association between master and iommus was represented from platform data using parent/child devices. The master drivers were responsible for attaching all of the iommus/context to a domain. Now the platform data support is removed and DT support is added. The master/iommus are added through generic iommu bindings.This is essentially rework of the patch posted earlier by Rob Clark <[email protected]>. This series folds the changes in to the existing driver with the addition of generic bindings.
http://www.spinics.net/lists/linux-arm-msm/msg10077.htmlTested this series on ifc6410 board.
[V5] Changed the compatible binding name as per comments, added comments
for usage of barriers in patch 6.[V4] Addressed comments for making the iommu compatible binding more soc
specific and updated the documentation for the iommu clocks.[V3] Addressed comments to correct the usage
of the #iommu-cells binding, improve theflush_iotlb_rangefunction, added a new patch to usewritel_relaxedfor register access and split up the documentation patch.
Quoted 5 lines
[V2] Adapted the driver to use generic ARMV7S short descriptor pagetable ops
and addressed comments.[V1]
https://lists.linuxfoundation.org/pipermail/iommu/2015-August/014074.html
Tested with the drm/msm driver as an iommu client on IFC6410 board (APQ8064).
Quoted 21 lines
Sricharan R (7):
iommu/msm: Add DT adaptation
documentation: iommu: Add bindings for msm,iommu-v0 ip iommu/msm: Move the contents frommsm_iommu_dev.ctomsm_iommu.ciommu/msm: Add support for generic master bindings iommu/msm: use generic ARMV7S short descriptor pagetable ops iommu/msm: Usewritel_relaxedand add a barrier iommu/msm: Remove driver BROKEN.../devicetree/bindings/iommu/msm,iommu-v0.txt | 64 ++ drivers/iommu/Kconfig | 2 +- drivers/iommu/Makefile | 2 +- drivers/iommu/msm_iommu.c | 885 +++++++++++---------- drivers/iommu/msm_iommu.h | 73 +- drivers/iommu/msm_iommu_dev.c | 381 --------- drivers/iommu/msm_iommu_hw-8xxx.h | 109 +-- 7 files changed, 636 insertions(+), 880 deletions(-)create mode 100644
Documentation/devicetree/bindings/iommu/msm,iommu-v0.txtdelete mode 100644drivers/iommu/msm_iommu_dev.c
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation