Skip to content

Exynos SYSMMU (IOMMU) integration with DT and DMA-mapping subsystem

Tobias Jakobi linux-arm-kernel linux-iommu linux-samsung-soc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest0 of 18 patches 0 repliesNew

Patches in v4 No applies recorded yet

None of the 18 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 00/18] Exynos SYSMMU (IOMMU) integration with DT and DMA-mapping subsystem

Hello,

just some warnings I encountered when compiling this today:
drivers/iommu/exynos-iommu.c: In function ?exynos_iommu_of_setup?:
drivers/iommu/exynos-iommu.c:1177:2: warning: passing argument 2 of ?of_iommu_set_ops? discards ?const? qualifier from pointer target type [enabled by default]
of_iommu_set_ops(np, &exynos_iommu_ops);
^
In file included from drivers/iommu/exynos-iommu.c:23:0:
include/linux/of_iommu.h:34:6: note: expected ?struct iommu_ops *? but argument is of type ?const struct iommu_ops *?

 void of_iommu_set_ops(struct device_node *np, struct iommu_ops *ops);
      ^

I guess the 'const' should be dropped from exynos_iommu_ops, even though I wonder why of_iommu_set_ops wants a non-const pointer (can/does it modify the struct later on?).

With best wishes,
Tobias