Skip to contentSkip to conversation

dma: select GENERIC_ALLOCATOR for DMA_REMAP

PATCH RESEND Applied Clément Leger via iommu 2 participants 2 messages Mar 27, 2019 – Apr 8, 2019 1 message not in the archive DMA mapping helpers

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 dma: select GENERIC_ALLOCATOR for DMA_REMAP

When DMA_REMAP is enabled, code in remap.c needs generic allocator. It currently worked since few architectures uses it (arm64, csky) and they both select GENERIC_ALLOCATOR. Select it when using DMA_REMAP to have correct dependencies.

---
 kernel/dma/Kconfig | 1 +
 1 file changed, 1 insertion(+)
kernel/dma/Kconfig +1 -0
index a06ba3013b3b..6a43c4ae77f9 100644
@@ -58,6 +58,7 @@ config SWIOTLB
 config DMA_REMAP
         depends on MMU
         bool
+        select GENERIC_ALLOCATOR
 
 config DMA_DIRECT_REMAP
         bool
Signature · 1 line
2.15.0.276.g89ea799

A message that is not in the archive (sent off-list or not yet received): 912875890.7194899.1553691987277.JavaMail.zimbra-FNhOzJFKnXGHXe+LvDLADg@public.gmane.org