iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH resend] dma: select GENERIC_ALLOCATOR for DMA_REMAP
@ 2019-03-27 13:06 Clément Leger via iommu
       [not found] ` <912875890.7194899.1553691987277.JavaMail.zimbra-FNhOzJFKnXGHXe+LvDLADg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Clément Leger via iommu @ 2019-03-27 13:06 UTC (permalink / raw)
  To: Christoph Hellwig, iommu; +Cc: Robin Murphy

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.

Signed-off-by: Clement Leger <clement.leger-FNhOzJFKnXGHXe+LvDLADg@public.gmane.org>
---
 kernel/dma/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig
index a06ba3013b3b..6a43c4ae77f9 100644
--- a/kernel/dma/Kconfig
+++ b/kernel/dma/Kconfig
@@ -58,6 +58,7 @@ config SWIOTLB
 config DMA_REMAP
         depends on MMU
         bool
+        select GENERIC_ALLOCATOR
 
 config DMA_DIRECT_REMAP
         bool
-- 
2.15.0.276.g89ea799

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH resend] dma: select GENERIC_ALLOCATOR for DMA_REMAP
       [not found] ` <912875890.7194899.1553691987277.JavaMail.zimbra-FNhOzJFKnXGHXe+LvDLADg@public.gmane.org>
@ 2019-04-08 15:53   ` Christoph Hellwig
  2019-04-08 15:53     ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2019-04-08 15:53 UTC (permalink / raw)
  To: Clément Leger; +Cc: iommu, Robin Murphy, Christoph Hellwig

Thanks,

applied to dma-mapping-for-next.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH resend] dma: select GENERIC_ALLOCATOR for DMA_REMAP
  2019-04-08 15:53   ` Christoph Hellwig
@ 2019-04-08 15:53     ` Christoph Hellwig
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2019-04-08 15:53 UTC (permalink / raw)
  To: Clément Leger; +Cc: iommu, Robin Murphy, Christoph Hellwig

Thanks,

applied to dma-mapping-for-next.
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-08 15:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-27 13:06 [PATCH resend] dma: select GENERIC_ALLOCATOR for DMA_REMAP Clément Leger via iommu
     [not found] ` <912875890.7194899.1553691987277.JavaMail.zimbra-FNhOzJFKnXGHXe+LvDLADg@public.gmane.org>
2019-04-08 15:53   ` Christoph Hellwig
2019-04-08 15:53     ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).