• R
    iommu/qcom: Add qcom_iommu · 0ae349a0
    Rob Clark 提交于
    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: NRob Clark <robdclark@gmail.com>
    Tested-by: NRiku Voipio <riku.voipio@linaro.org>
    Signed-off-by: NJoerg Roedel <jroedel@suse.de>
    0ae349a0
qcom_iommu.c 21.9 KB