mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Clément Leger" <cleger@kalray.eu>
To: linux-kernel <linux-kernel@vger.kernel.org>,
	Christoph Hellwig <hch@lst.de>,
	Marek Szyprowski <m.szyprowski@samsung.com>
Cc: iommu@lists.linux-foundation.org, Robin Murphy <robin.murphy@arm.com>
Subject: Re: [PATCH] dma: select GENERIC_ALLOCATOR for DMA_REMAP
Date: Fri, 22 Mar 2019 09:30:09 +0100 (CET)	[thread overview]
Message-ID: <1443307786.4859175.1553243409888.JavaMail.zimbra@kalray.eu> (raw)
In-Reply-To: <1741404498.4767335.1553163629182.JavaMail.zimbra@kalray.eu>



----- Mail original -----
De: "Clément Leger" <cleger@kalray.eu>
À: "linux-kernel" <linux-kernel@vger.kernel.org>
Envoyé: Jeudi 21 Mars 2019 11:20:29
Objet: [PATCH] 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.

Signed-off-by: Clement Leger <clement.leger@kalray.eu>
---
 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-22  8:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-21 10:20 Clément Leger
2019-03-22  8:30 ` Clément Leger [this message]
2019-03-27  8:07   ` 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=1443307786.4859175.1553243409888.JavaMail.zimbra@kalray.eu \
    --to=cleger@kalray.eu \
    --cc=hch@lst.de \
    --cc=iommu@lists.linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=robin.murphy@arm.com \
    /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

all inboxes | Powered by JetHome®