Loading include/soc/qcom/msm_tz_smmu.h +5 −0 Original line number Diff line number Diff line Loading @@ -55,11 +55,16 @@ extern void *get_smmu_from_addr(struct iommu_device *iommu, void __iomem *addr); extern void *arm_smmu_get_by_addr(void __iomem *addr); /* Donot write to smmu global space with CONFIG_MSM_TZ_SMMU */ #undef writel_relaxed #undef writeq_relaxed #define writel_relaxed(v, c) do { \ if (!arm_smmu_skip_write(c)) \ ((void)__raw_writel((u32)cpu_to_le32(v), (c))); \ } while (0) #define writeq_relaxed(v, c) do { \ if (!arm_smmu_skip_write(c)) \ ((void)__raw_writeq((u64)cpu_to_le64(v), (c))); \ } while (0) #else static inline int msm_tz_smmu_atos_start(struct device *dev, int cb_num) Loading Loading
include/soc/qcom/msm_tz_smmu.h +5 −0 Original line number Diff line number Diff line Loading @@ -55,11 +55,16 @@ extern void *get_smmu_from_addr(struct iommu_device *iommu, void __iomem *addr); extern void *arm_smmu_get_by_addr(void __iomem *addr); /* Donot write to smmu global space with CONFIG_MSM_TZ_SMMU */ #undef writel_relaxed #undef writeq_relaxed #define writel_relaxed(v, c) do { \ if (!arm_smmu_skip_write(c)) \ ((void)__raw_writel((u32)cpu_to_le32(v), (c))); \ } while (0) #define writeq_relaxed(v, c) do { \ if (!arm_smmu_skip_write(c)) \ ((void)__raw_writeq((u64)cpu_to_le64(v), (c))); \ } while (0) #else static inline int msm_tz_smmu_atos_start(struct device *dev, int cb_num) Loading