Well,
arch/arm/mm/dma-mapping.c: In function â__atomic_get_pagesâ:
arch/arm/mm/dma-mapping.c:1265:31: error: âatomic_poolâ undeclared
(first use in this function)
arch/arm/mm/dma-mapping.c: In function â__iommu_get_pagesâ:
arch/arm/mm/dma-mapping.c:1275:2: error: implicit declaration of
function â__in_atomic_poolâ [-Werror=implicit-function-declaration]
others:
arch/arm/mm/dma-mapping.c: In function â__iommu_alloc_remapâ:
arch/arm/mm/dma-mapping.c:1200:4: error: âVM_ARM_DMA_CONSISTENTâ
undeclared (first use in this function)
arch/arm/mm/dma-mapping.c:1200:4: note: each undeclared identifier is
reported only once for each function it appears in
arch/arm/mm/dma-mapping.c: In function â__iommu_get_pagesâ:
arch/arm/mm/dma-mapping.c:1282:29: error: âVM_ARM_DMA_CONSISTENTâ
undeclared (first use in this function)
arch/arm/mm/dma-mapping.c: In function âarm_iommu_free_attrsâ:
arch/arm/mm/dma-mapping.c:1411:4: error: âVM_ARM_DMA_CONSISTENTâ
undeclared (first use in this function)
i've attached a configuration where it happens.
when you place the configuration in your tree and compile the file,
the errors should show up.
However, within the configuration CONFIG_ARM_DMA_USE_IOMMU is defined
and CONFIG_MMU is not. AFAIUI, if both should be enabled together, it
should be mapped in Kconfig somewhere, right?
Best Regards,
Stefan