iommu: add qcom_iommu for early "B" family devices (v2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 of 9 patches 6 repliesIn review
5 of 9 patches are in this archive. The cover letter announces 9.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | firmware/qcom: add qcom_scm_restore_sec_cfg()drivers/ drivers/ drivers/ +2 more | +35 | 0 replies | |
| 2/9 | firmware: qcom_scm: add two scm calls for iommu secure page tabledrivers/ drivers/ drivers/ +2 more | +76 | 0 replies | |
| 3/9 | Docs: dt: document qcom iommu bindingsDocumentation/ | +113 | 3 replies | |
| 4/9 | iommu: arm-smmu: split out register definesdrivers/ drivers/ | +226 | 0 replies | |
| 5/9 | iommu: add qcom_iommudrivers/ drivers/ drivers/ +1 more | +831 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] iommu: add qcom_iommu for early "B" family devices (v2)
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).
There are a couple vaguely unrelated patches to add venus and gpu dt nodes, so that we have something to wire up the iommu to.
These patches apply on top of some in-flight patches to support IOMMU probe deferral. You can find full branch on top of linux-next here:
git://people.freedesktop.org/~robclark/linux next-20170307-db410c-qcom-smmu-3-venus
or github if you prefer:
https://github.com/freedreno/kernel-msm/commits/next-20170307-db410c-qcom-smmu-3-venus
Compared to previous patchset, there have been some (mostly binding related) cleanups. Also fixed some other-config related build issues that kbuild robot spotted.
Rob Clark (6):
firmware/qcom: add qcom_scm_restore_sec_cfg()
Docs: dt: document qcom iommu bindings
iommu: arm-smmu: split out register defines
iommu: add qcom_iommu
ARM64: DT: add gpu for msm8916
ARM64: DT: add iommu for msm8916
Stanimir Varbanov (3):
firmware: qcom_scm: add two scm calls for iommu secure page table
iommu: qcom: initialize secure page table
ARM64: DT: add video codec devicetree node
.../devicetree/bindings/iommu/qcom,iommu.txt | 113 +++ arch/arm64/boot/dts/qcom/msm8916.dtsi | 108 +++ drivers/firmware/qcom_scm-32.c | 18 + drivers/firmware/qcom_scm-64.c | 58 ++ drivers/firmware/qcom_scm.c | 18 + drivers/firmware/qcom_scm.h | 11 + drivers/iommu/Kconfig | 10 + drivers/iommu/Makefile | 1 + drivers/iommu/arm-smmu-regs.h | 227 ++++++ drivers/iommu/arm-smmu.c | 200 +---- drivers/iommu/qcom_iommu.c | 882 +++++++++++++++++++++ include/linux/qcom_scm.h | 6 + 12 files changed, 1453 insertions(+), 199 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
Signature · 1 line
2.9.3