All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] iommu: add qcom_iommu for early "B" family devices
@ 2017-06-26 12:43 Rob Clark
  2017-06-26 12:43 ` [PATCH 1/4] Docs: dt: document qcom iommu bindings Rob Clark
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Rob Clark @ 2017-06-26 12:43 UTC (permalink / raw)
  To: iommu
  Cc: linux-arm-msm, Archit Taneja, Rob Herring, Will Deacon,
	Sricharan, Mark Rutland, Rob Clark

An iommu driver for Qualcomm "B" family devices which do not implement
the ARM SMMU spec in a way that is compatible with the arm-smmu driver.

Rob Clark (3):
  Docs: dt: document qcom iommu bindings
  iommu: arm-smmu: split out register defines
  iommu: add qcom_iommu

Stanimir Varbanov (1):
  iommu: qcom: initialize secure page table

 .../devicetree/bindings/iommu/qcom,iommu.txt       | 121 +++
 drivers/iommu/Kconfig                              |  10 +
 drivers/iommu/Makefile                             |   1 +
 drivers/iommu/arm-smmu-regs.h                      | 227 +++++
 drivers/iommu/arm-smmu.c                           | 203 +----
 drivers/iommu/qcom_iommu.c                         | 921 +++++++++++++++++++++
 6 files changed, 1281 insertions(+), 202 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iommu/qcom,iommu.txt
 create mode 100644 drivers/iommu/arm-smmu-regs.h
 create mode 100644 drivers/iommu/qcom_iommu.c

-- 
2.9.4

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/4] iommu: add qcom_iommu for early "B" family devices
@ 2017-08-03 10:47 Rob Clark
       [not found] ` <20170803104800.18624-1-robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Rob Clark @ 2017-08-03 10:47 UTC (permalink / raw)
  To: iommu, linux-arm-msm
  Cc: Archit Taneja, Rob Herring, Will Deacon, Sricharan, Mark Rutland,
	Robin Murphy, Rob Clark

An iommu driver for Qualcomm "B" family devices which do implement the
ARM SMMU spec, but not in a way that arm-smmu can support.

(I initially added support to arm-smmu, but it was decided that approach
was too intrusive and it would be cleaner to have a separate driver.)

I should note that all the dependencies for this driver have been merged
since 4.12, and it is the last thing needed for having another fully-
enabled (gpu/display/video codec/etc) ARM device that is fully upstream.

One minor change to move a couple #defines and MMU500 bits back to
arm-smmu.c as suggested by Will.

Rob Clark (3):
  Docs: dt: document qcom iommu bindings
  iommu: arm-smmu: split out register defines
  iommu: add qcom_iommu

Stanimir Varbanov (1):
  iommu: qcom: initialize secure page table

 .../devicetree/bindings/iommu/qcom,iommu.txt       | 121 +++
 drivers/iommu/Kconfig                              |  10 +
 drivers/iommu/Makefile                             |   1 +
 drivers/iommu/arm-smmu-regs.h                      | 220 +++++
 drivers/iommu/arm-smmu.c                           | 211 +----
 drivers/iommu/qcom_iommu.c                         | 932 +++++++++++++++++++++
 6 files changed, 1293 insertions(+), 202 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iommu/qcom,iommu.txt
 create mode 100644 drivers/iommu/arm-smmu-regs.h
 create mode 100644 drivers/iommu/qcom_iommu.c

-- 
2.13.0

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/4] iommu: add qcom_iommu for early "B" family devices
@ 2017-06-01 13:58 Rob Clark
  2017-06-01 13:58 ` [PATCH 4/4] iommu: qcom: initialize secure page table Rob Clark
  0 siblings, 1 reply; 10+ messages in thread
From: Rob Clark @ 2017-06-01 13:58 UTC (permalink / raw)
  To: iommu
  Cc: linux-arm-msm, Rob Herring, Robin Murphy, Will Deacon,
	Mark Rutland, Sricharan, Archit Taneja, Stanimir Varbanov,
	Rob Clark

An iommu driver for Qualcomm "B" family devices which do not implement
the ARM SMMU spec in a way that is compatible with the arm-smmu driver.

Since last version, a few updates to 3/4 based on Robin's suggestions.

Rob Clark (3):
  Docs: dt: document qcom iommu bindings
  iommu: arm-smmu: split out register defines
  iommu: add qcom_iommu

Stanimir Varbanov (1):
  iommu: qcom: initialize secure page table

 .../devicetree/bindings/iommu/qcom,iommu.txt       | 121 +++
 drivers/iommu/Kconfig                              |  10 +
 drivers/iommu/Makefile                             |   1 +
 drivers/iommu/arm-smmu-regs.h                      | 227 +++++
 drivers/iommu/arm-smmu.c                           | 203 +----
 drivers/iommu/qcom_iommu.c                         | 965 +++++++++++++++++++++
 6 files changed, 1325 insertions(+), 202 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iommu/qcom,iommu.txt
 create mode 100644 drivers/iommu/arm-smmu-regs.h
 create mode 100644 drivers/iommu/qcom_iommu.c

-- 
2.9.4

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/4] iommu: add qcom_iommu for early "B" family devices
@ 2017-05-25 17:33 Rob Clark
  2017-05-25 17:33 ` [PATCH 4/4] iommu: qcom: initialize secure page table Rob Clark
  0 siblings, 1 reply; 10+ messages in thread
From: Rob Clark @ 2017-05-25 17:33 UTC (permalink / raw)
  To: iommu
  Cc: linux-arm-msm, Rob Herring, Robin Murphy, Will Deacon, Sricharan,
	Mark Rutland, Stanimir Varbanov, Archit Taneja, Rob Clark

An iommu driver for Qualcomm "B" family devices which do not completely
implement the ARM SMMU spec.  These devices have context-bank register
layout that is similar to ARM SMMU, but no global register space (or at
least not one that is accessible).

A couple more minor changes in 3/4, and dt bindings now have Rob H's r-b.

Rob Clark (3):
  Docs: dt: document qcom iommu bindings
  iommu: arm-smmu: split out register defines
  iommu: add qcom_iommu

Stanimir Varbanov (1):
  iommu: qcom: initialize secure page table

 .../devicetree/bindings/iommu/qcom,iommu.txt       | 121 +++
 drivers/iommu/Kconfig                              |  10 +
 drivers/iommu/Makefile                             |   1 +
 drivers/iommu/arm-smmu-regs.h                      | 227 +++++
 drivers/iommu/arm-smmu.c                           | 203 +----
 drivers/iommu/qcom_iommu.c                         | 942 +++++++++++++++++++++
 6 files changed, 1302 insertions(+), 202 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iommu/qcom,iommu.txt
 create mode 100644 drivers/iommu/arm-smmu-regs.h
 create mode 100644 drivers/iommu/qcom_iommu.c

-- 
2.9.4

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/4] iommu: add qcom_iommu for early "B" family devices (v3)
@ 2017-05-04 13:34 Rob Clark
  2017-05-04 13:34 ` [PATCH 4/4] iommu: qcom: initialize secure page table Rob Clark
  0 siblings, 1 reply; 10+ messages in thread
From: Rob Clark @ 2017-05-04 13:34 UTC (permalink / raw)
  To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
  Cc: Mark Rutland, Rob Herring, linux-arm-msm-u79uwXL29TY76Z2rM5mHXA,
	Will Deacon, Stanimir Varbanov

An iommu driver for Qualcomm "B" family devices which do not completely
implement the ARM SMMU spec.  These devices have context-bank register
layout that is similar to ARM SMMU, but no global register space (or at
least not one that is accessible).

At this point, all the dependencies have landed for v4.12, so please
review.  An iommu driver is the last remaining piece of the puzzle to
have the gpu working out of the box on 8x16 (dragonboard 410c, for
example).  There are only minimal changes since v2:

  * small dt doc change suggested by Rob H.
  * fix for WARN_ON() splats reported by Archit

Rob Clark (3):
  Docs: dt: document qcom iommu bindings
  iommu: arm-smmu: split out register defines
  iommu: add qcom_iommu

Stanimir Varbanov (1):
  iommu: qcom: initialize secure page table

 .../devicetree/bindings/iommu/qcom,iommu.txt       | 121 +++
 drivers/iommu/Kconfig                              |  10 +
 drivers/iommu/Makefile                             |   1 +
 drivers/iommu/arm-smmu-regs.h                      | 227 ++++++
 drivers/iommu/arm-smmu.c                           | 203 +----
 drivers/iommu/qcom_iommu.c                         | 889 +++++++++++++++++++++
 6 files changed, 1249 insertions(+), 202 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iommu/qcom,iommu.txt
 create mode 100644 drivers/iommu/arm-smmu-regs.h
 create mode 100644 drivers/iommu/qcom_iommu.c

-- 
2.9.3

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-08-03 10:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-26 12:43 [PATCH 0/4] iommu: add qcom_iommu for early "B" family devices Rob Clark
2017-06-26 12:43 ` [PATCH 1/4] Docs: dt: document qcom iommu bindings Rob Clark
2017-06-26 12:43 ` [PATCH 2/4] iommu: arm-smmu: split out register defines Rob Clark
     [not found] ` <20170626124352.21726-1-robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-26 12:43   ` [PATCH 3/4] iommu: add qcom_iommu Rob Clark
2017-06-26 12:43 ` [PATCH 4/4] iommu: qcom: initialize secure page table Rob Clark
  -- strict thread matches above, loose matches on Subject: below --
2017-08-03 10:47 [PATCH 0/4] iommu: add qcom_iommu for early "B" family devices Rob Clark
     [not found] ` <20170803104800.18624-1-robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-08-03 10:47   ` [PATCH 4/4] iommu: qcom: initialize secure page table Rob Clark
2017-08-03 10:47     ` Rob Clark
2017-06-01 13:58 [PATCH 0/4] iommu: add qcom_iommu for early "B" family devices Rob Clark
2017-06-01 13:58 ` [PATCH 4/4] iommu: qcom: initialize secure page table Rob Clark
2017-05-25 17:33 [PATCH 0/4] iommu: add qcom_iommu for early "B" family devices Rob Clark
2017-05-25 17:33 ` [PATCH 4/4] iommu: qcom: initialize secure page table Rob Clark
2017-05-04 13:34 [PATCH 0/4] iommu: add qcom_iommu for early "B" family devices (v3) Rob Clark
2017-05-04 13:34 ` [PATCH 4/4] iommu: qcom: initialize secure page table Rob Clark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.