Skip to content
  • Rob Clark's avatar
    iommu/qcom: Add qcom_iommu · 0ae349a0
    Rob Clark authored
    
    
    An iommu driver for Qualcomm "B" family devices which do implement the
    ARM SMMU spec, but not in a way that is compatible with how the arm-smmu
    driver is designed.  It seems SMMU_SCR1.GASRAE=1 so the global register
    space is not accessible.  This means it needs to get configuration from
    devicetree instead of setting it up dynamically.
    
    In the end, other than register definitions, there is not much code to
    share with arm-smmu (other than what has already been refactored out
    into the pgtable helpers).
    
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    Tested-by: default avatarRiku Voipio <riku.voipio@linaro.org>
    Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
    0ae349a0