Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp521556img; Thu, 21 Mar 2019 03:21:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4z03zC/OEvGGv0eVgw8GViynx3KQhdw8liJSBlLmzqDGSg0QOEWmPZ2K5isso/wVjDBz1 X-Received: by 2002:a17:902:28a7:: with SMTP id f36mr2736782plb.169.1553163716509; Thu, 21 Mar 2019 03:21:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553163716; cv=none; d=google.com; s=arc-20160816; b=oaX8qILLGEiUL9VZ+Zh6qAmyXwCsuez2jyuYhbGdBU4iYyS7ks0Z+DExigV3Ic8Vj5 UJ2pKLCDlkY91nyRvJuom+82iEqVroBYraF1Z38LQtxRIjvdRc3n7MUiTY4T2kzvUnXk tV9j+4PUcROgtGxftmwiUZXPAc+w9GTxHiUS5S4E3ta3R1JGrHR8U3W9mqIbxo6rdFJO UlMcT4q60NJdyPfrPXdJFtM5goLlxccI4m7ne0YIOLDQJe3ejd5W+LJ3/YNzazqbTtI6 J8Wxuw+Mg0AdeDI76KE0wUyy0wZdSp1rdGQ4yanqn6LtjPhb2dE5akot9Hv159LfasrV C5wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-topic:thread-index :content-transfer-encoding:mime-version:subject:message-id:to:from :date:dkim-signature:dkim-filter; bh=1PKu7m2ySLQ6dGkcX7EbvNjxXkfSKrK9SlKSQgok6M4=; b=w71ndMqC40IRuhgEiUKDSmfaj1t1ymKifh/egdy/yjM7IbwiFx/escgrK46Dy2urOZ dyJsPV6u32knC5qKznPsux8hgUjv5L7+QZaH/BqP+NQDsJCV5mEYg98iPbd9uIeQeq4j z9E04N9a8vyXOO3bMXiRkrmg9owkcvHtYtMYA/UOLIm2roJvzCTJ1e90XsYqzy9cbkYp V0zOKAyhFeekUj/oyeEj8dzjGFeDxkT15q7VEGM1IEXQdN6gZydR0ICVoDt0v7P0gcBq JMHg9FLZAndVaEzSEG0xDD3KOuSArmSvgZXmbzhIK0ccx4KUtCmDKqAPDwBpOGITckaI qpqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b=MBb34mTw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j62si3934186pgc.40.2019.03.21.03.21.38; Thu, 21 Mar 2019 03:21:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b=MBb34mTw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728154AbfCUKUc (ORCPT + 99 others); Thu, 21 Mar 2019 06:20:32 -0400 Received: from zimbra2.kalray.eu ([92.103.151.219]:34200 "EHLO zimbra2.kalray.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727874AbfCUKUb (ORCPT ); Thu, 21 Mar 2019 06:20:31 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id A045D27E04A8 for ; Thu, 21 Mar 2019 11:20:29 +0100 (CET) Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id JvcpK5qT283i for ; Thu, 21 Mar 2019 11:20:29 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 55E9D27E04A9 for ; Thu, 21 Mar 2019 11:20:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra2.kalray.eu 55E9D27E04A9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kalray.eu; s=32AE1B44-9502-11E5-BA35-3734643DEF29; t=1553163629; bh=1PKu7m2ySLQ6dGkcX7EbvNjxXkfSKrK9SlKSQgok6M4=; h=Date:From:To:Message-ID:MIME-Version; b=MBb34mTwT2NGzK6vc7iv7PQTN1hM1aULAib/vHmZLyZ5fOVwLZ30ThU5I48DIl8pK wH0FPLA4XMeFaxJVQalip4T837bdUEZWHcjTw5HK3fuQCZdQ9++7CkFY6nvV9MlWZs es8emSMH4aUMg+izb3poozb3bcvZnXxFO3dXP6WI= X-Virus-Scanned: amavisd-new at zimbra2.kalray.eu Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wuGVQ2zbxVS7 for ; Thu, 21 Mar 2019 11:20:29 +0100 (CET) Received: from zimbra2.kalray.eu (zimbra2.kalray.eu [192.168.40.202]) by zimbra2.kalray.eu (Postfix) with ESMTP id 3624D27E04A8 for ; Thu, 21 Mar 2019 11:20:29 +0100 (CET) Date: Thu, 21 Mar 2019 11:20:29 +0100 (CET) From: =?utf-8?Q?Cl=C3=A9ment?= Leger To: linux-kernel@vger.kernel.org Message-ID: <1741404498.4767335.1553163629182.JavaMail.zimbra@kalray.eu> Subject: [PATCH] dma: select GENERIC_ALLOCATOR for DMA_REMAP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.40.202] X-Mailer: Zimbra 8.8.11_GA_3780 (ZimbraWebClient - GC71 (Linux)/8.8.11_GA_3787) Thread-Index: NGPCvDoj7yFWRpAnvrjujfr+mHAQTQ== Thread-Topic: select GENERIC_ALLOCATOR for DMA_REMAP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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