Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp456642img; Fri, 22 Mar 2019 01:31:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyaBT5VLqXKi/tEmOcJsFbt7wZrrAWDS1bDj8CAge6/FsRS94tXt3crS026xm1uEn7YSVyL X-Received: by 2002:a63:c145:: with SMTP id p5mr7863283pgi.248.1553243463410; Fri, 22 Mar 2019 01:31:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553243463; cv=none; d=google.com; s=arc-20160816; b=oIrIjHNGKAYejGNx6yXWzi30Tciz/CInHvUP2R7A79tQHbeZ2usDJGy4WczvJRMAAU Dox+DUstarWlD9p0iOhpW65gXdoH6T5BaPRZ3VFLkc5rcouFrqS8wBxoYTa+bnSNkvhT aXtGZOLjVgtVWijccYyS8yx/8JPVpgKmZx3FUJlvYNTUIqFV8ZMt7O8JMo32/qSZA/nN kEVieDklYajgoiLsDzIJPJdOPvqafOOpw6jz9ndr5PRSdQRraVt53v6rK1kTLQ5L2fYC nwpcUMEr24IkYs5yDuxcXEYWRimnh+wEj0UF5ocU5W/qEjstcJkJ4DtpfShnS/yzju2w xuZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=pAt5bo1w0fujeK/gO18NIvOQ/KJwXWKF/XMl3ba247A=; b=An9bCyyYpqXVq1bMvFS0/FjS8o1A1+AvIzsPDIyg3J59q8BoH/8X2ZAiCifPvxDDZ1 u4YqJKim7dCcuQi0Im2KdrXKX3UI9Q+wp+6WarPKIqXbttUDOK7a8Hd1FDx/rSAtwqru Bk3gMobphXxHGv2h/DQjfIiFLW+0ST0CDyM+X7BrQgs4LyDID4v/CeD3Skeg5ZZwLBN2 1Q0L1JVV+F3qhW5YgdorIRug+hYZemT985wTp/Dn3G1Hd9rj6Ba4Ym2FY/qSj/3lg/dO HFtUEIAO/wzCAnHFRnOGja5OQ1N6GDUNzW9ohXavG0i6Ff7zDKMHNDuEzJI2JpzINeOx yztg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b="pr/eyPLY"; 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 l17si5969815pff.202.2019.03.22.01.30.48; Fri, 22 Mar 2019 01:31:03 -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="pr/eyPLY"; 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 S1727440AbfCVIaM (ORCPT + 99 others); Fri, 22 Mar 2019 04:30:12 -0400 Received: from zimbra2.kalray.eu ([92.103.151.219]:58864 "EHLO zimbra2.kalray.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbfCVIaM (ORCPT ); Fri, 22 Mar 2019 04:30:12 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 5D7A327E0325; Fri, 22 Mar 2019 09:30:10 +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 bPEh3-2UzFND; Fri, 22 Mar 2019 09:30:10 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 04FAA27E0404; Fri, 22 Mar 2019 09:30:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra2.kalray.eu 04FAA27E0404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kalray.eu; s=32AE1B44-9502-11E5-BA35-3734643DEF29; t=1553243410; bh=pAt5bo1w0fujeK/gO18NIvOQ/KJwXWKF/XMl3ba247A=; h=Date:From:To:Message-ID:MIME-Version; b=pr/eyPLY6PWFL4Lnw6m1xjqsVZELFO2fNWpyg+NirLaGT7EodUxGo1YBf2NOpRMxU 1xDcOga7lKK5GA+DM8uCBx4aMOqHwKSSwnda2pi+UqwI67UX12v9b8EpmkDy02wypn NlDCPkav7MFAp4BTsqvF3+zEk95bnV9Qp7alnO8A= 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 HzhzvaWuKNBY; Fri, 22 Mar 2019 09:30:09 +0100 (CET) Received: from zimbra2.kalray.eu (zimbra2.kalray.eu [192.168.40.202]) by zimbra2.kalray.eu (Postfix) with ESMTP id DCC5627E0325; Fri, 22 Mar 2019 09:30:09 +0100 (CET) Date: Fri, 22 Mar 2019 09:30:09 +0100 (CET) From: =?utf-8?Q?Cl=C3=A9ment?= Leger To: linux-kernel , Christoph Hellwig , Marek Szyprowski Cc: iommu@lists.linux-foundation.org, Robin Murphy Message-ID: <1443307786.4859175.1553243409888.JavaMail.zimbra@kalray.eu> In-Reply-To: <1741404498.4767335.1553163629182.JavaMail.zimbra@kalray.eu> References: <1741404498.4767335.1553163629182.JavaMail.zimbra@kalray.eu> Subject: Re: [PATCH] dma: select GENERIC_ALLOCATOR for DMA_REMAP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [192.168.40.202] X-Mailer: Zimbra 8.8.11_GA_3780 (ZimbraWebClient - GC71 (Linux)/8.8.11_GA_3787) Thread-Topic: select GENERIC_ALLOCATOR for DMA_REMAP Thread-Index: NGPCvDoj7yFWRpAnvrjujfr+mHAQTQM+LIVT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Mail original ----- De: "Cl=C3=A9ment Leger" =C3=80: "linux-kernel" Envoy=C3=A9: 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 --- 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 =09depends on MMU =09bool +=09select GENERIC_ALLOCATOR =20 config DMA_DIRECT_REMAP =09bool --=20 2.15.0.276.g89ea799