iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: "Clément Leger via iommu" <iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
To: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>,
	iommu
	<iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
Cc: Robin Murphy <robin.murphy-5wv7dgnIgG8@public.gmane.org>
Subject: [PATCH resend] dma: select GENERIC_ALLOCATOR for DMA_REMAP
Date: Wed, 27 Mar 2019 14:06:27 +0100 (CET)	[thread overview]
Message-ID: <912875890.7194899.1553691987277.JavaMail.zimbra@kalray.eu> (raw)

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

             reply	other threads:[~2019-03-27 13:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-27 13:06 Clément Leger via iommu [this message]
     [not found] ` <912875890.7194899.1553691987277.JavaMail.zimbra-FNhOzJFKnXGHXe+LvDLADg@public.gmane.org>
2019-04-08 15:53   ` [PATCH resend] dma: select GENERIC_ALLOCATOR for DMA_REMAP Christoph Hellwig
2019-04-08 15:53     ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=912875890.7194899.1553691987277.JavaMail.zimbra@kalray.eu \
    --to=iommu-cuntk1mwbs9qetfly7kem3xjstq8ys+chz5vsktnxna@public.gmane.org \
    --cc=cleger-FNhOzJFKnXGHXe+LvDLADg@public.gmane.org \
    --cc=hch-jcswGhMUV9g@public.gmane.org \
    --cc=robin.murphy-5wv7dgnIgG8@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).