[RFC PATCH 0/6] iommu/arm-smmu: Add support for DMA domains and instruction fetch

From: Anup Patel
Date: Wed Jan 27 2016 - 00:21:33 EST


This patchset adds following to SMMUv1/SMMUv2 driver:
1. Support for domain type IOMMU_DOMAIN_DMA
2. Allow privilege instruction fetchs from MMU masters by having
a DT option to treat instruction fetch as data read

The patchset is based on '4.5-rc1' tag of linux mainline tree
and is available in smmu_v1 branch of
https://github.com/Broadcom/arm64-linux.git

All patches have been tested on Broadcom SoCs having SMMU-500.

Anup Patel (5):
iommu/arm-smmu: Invoke DT probe from arm_smmu_of_setup()
of: iommu: Increment DT node refcount in of_iommu_set_ops()
iommu/arm-smmu: Add support for IOMMU_DOMAIN_DMA in SMMUv1/SMMUv2
driver
iommu/arm-smmu: Option to treat instruction fetch as data read for
SMMUv2
iommu/arm-smmu: Update bindings document for smmu-inst-as-data DT
option

Sricharan R (1):
iommu/arm-smmu: Init driver using IOMMU_OF_DECLARE

.../devicetree/bindings/iommu/arm,smmu.txt | 8 +++
drivers/iommu/arm-smmu.c | 70 +++++++++++++++++-----
drivers/iommu/of_iommu.c | 1 +
3 files changed, 65 insertions(+), 14 deletions(-)

--
1.9.1