[PATCH 0/8] iommu/arm-smmu: bugfixs and add support for non-pci devices
Zhen Lei
thunder.leizhen at huawei.com
Fri Jun 26 01:32:56 PDT 2015
As Documentation\devicetree\bindings\iommu\iommu.txt mentioned, a master may
belongs to many SMMUs or have more than one device-id(stream id). But on current
arm/arm64 platforms, a master with only one stream id. So I directly add two
members(of_smmu and device-id) in struct dev_archdata, and only support a master
with only one stream id. If some platforms that a master belongs to more than one
SMMUs or have more than one device-id, we should dynamic memory allocation to record
all information.
Zhen Lei (8):
iommu/arm-smmu: fix the assignment of log2size field
iommu/arm-smmu: fix the index calculation of strtab
iommu/arm-smmu: fix the values of ARM64_TCR_IRGN0_SHIFT and
ARM64_TCR_ORGN0_SHIFT
iommu/arm-smmu: set EPD1 to disable TT1 translation table walk
iommu/arm-smmu: rename __arm_smmu_get_pci_sid
iommu/arm-smmu: add support for non-pci devices
iommu/arm-smmu: enlarge STRTAB_L1_SZ_SHIFT to support larger sidsize
iommu/arm-smmu: suppress fault information about CMD_PREFETCH_CONFIG
execution
arch/arm64/include/asm/device.h | 2 +
drivers/iommu/arm-smmu-v3.c | 135 +++++++++++++++++++++++++++++++++-------
2 files changed, 116 insertions(+), 21 deletions(-)
--
1.8.0
More information about the linux-arm-kernel
mailing list