Skip to content

iommu/msm: Add DT adaptation and generic bindings support

Srinivas Kandagatla linux-arm-kernel linux-arm-msm linux-devicetree linux-iommu 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest0 of 7 patches 0 repliesNew
  2. v10 of 5 patches 0 repliesSuperseded

Patches in v5 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchSrinivas Kandagatla
SeriesT-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH V5 0/7] iommu/msm: Add DT adaptation and generic bindings support

Hi Sricharan,

Thanks for the patchset,

Quoted 7 lines · Sricharan R

The msm_iommu.c driver 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.

...

Quoted 20 lines

[V1]

    https://lists.linuxfoundation.org/pipermail/iommu/2015-August/014074.html

Sricharan R (7):
iommu/msm: Add DT adaptation
documentation: iommu: Add bindings for msm,iommu-v0 ip iommu/msm: Move the contents from msm_iommu_dev.c to msm_iommu.c iommu/msm: Add support for generic master bindings iommu/msm: use generic ARMV7S short descriptor pagetable ops iommu/msm: Use writel_relaxed and 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(-)
Quoted 2 lines

create mode 100644 Documentation/devicetree/bindings/iommu/msm,iommu-v0.txt delete mode 100644 drivers/iommu/msm_iommu_dev.c

Tested It on IFC6410 and DB600c.

--srini