Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp721833imu; Mon, 5 Nov 2018 07:50:56 -0800 (PST) X-Google-Smtp-Source: AJdET5cZ/kRDh7qwzaB9arnI5z4/mn5rQmLjwdcw8ODfc6aEYatly1rHzM0qOU0Y1CMGpW4mX0RX X-Received: by 2002:a62:62c3:: with SMTP id w186-v6mr22649291pfb.5.1541433056105; Mon, 05 Nov 2018 07:50:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541433056; cv=none; d=google.com; s=arc-20160816; b=iypZLcuKSmDh/tEwQFzuuS5mIr/bxb5egTqSkf5ox7iRiwhQdquLEnGSHYAKliAfJD IpBwTJN9pmu6GCczRbnc9X3KXsse0fJzyRnwE5VAK5eYY4CxZzlebv8GcI0PI0M0IuKP STASruEpa6n1AQApNbzrZkocKd1aHxpB5fzT/XADUe0gxknIcuU/asJL0TrjAVpibXXO qyMCD7EJwRKEUlU2ujUAAr4OhbDGnb+ZCklp/K2XyKsQOmtkry9J2mkzykFsCIs9Ydnf SFn2kPlvndFFBTggbIuCbcome4e32t0zNMyWR8yB4+GJmf6q7yXOK46cAoOXlCSvn4sL /L2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=YWfzCgyal+kfHS21iGkyoxP8jF7YwRnBVDUqlU97nSg=; b=IP79qkIDfE3CYJqOyITMeiLaqHuj+WX9M6RjxO0q6CiKRVW3JjPxNlbf1DQEG4CI4g y0kJkHx1YjdJZ/n5THyTmowO/ttt74hbRSsjui/XY1tiLh8J/fXRApmUp+bku290yWUX uA+jTiJdHTFc0EaUydI+QcEjHFnekxVv7dcJ159bWXcfx6ortziwNtVgLabrzJ+NF1dc KTcg2V5sUKSpg2gZZI042ixCHA72K/GArPVlkctfUXpgK8vmABYMq+nB3nEL5xxYFL3h JN+zWCbvvhyCCOkBKV3Mpil8Rt961ykVNVouLpLm2kkGfgHK0KX4TpHunYwnkAX7zewf LRYg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9-v6si8483165pfe.72.2018.11.05.07.50.37; Mon, 05 Nov 2018 07:50:56 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730200AbeKFBIf (ORCPT + 99 others); Mon, 5 Nov 2018 20:08:35 -0500 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:51763 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729657AbeKFBIf (ORCPT ); Mon, 5 Nov 2018 20:08:35 -0500 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1019044|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03312;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=8;RT=8;SR=0;TI=SMTPD_---.DDtMuTq_1541432871; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.DDtMuTq_1541432871) by smtp.aliyun-inc.com(10.147.41.231); Mon, 05 Nov 2018 23:47:51 +0800 Date: Mon, 5 Nov 2018 23:47:50 +0800 From: Guo Ren To: Christoph Hellwig Cc: iommu@lists.linux-foundation.org, Robin Murphy , Catalin Marinas , Will Deacon , Laura Abbott , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 8/9] csky: don't use GFP_DMA in atomic_pool_init Message-ID: <20181105154750.GB25126@guoren-Inspiron-7460> References: <20181105121931.13481-1-hch@lst.de> <20181105121931.13481-9-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181105121931.13481-9-hch@lst.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 05, 2018 at 01:19:30PM +0100, Christoph Hellwig wrote: > csky does not implement ZONE_DMA, which means passing GFP_DMA is a no-op. > > Signed-off-by: Christoph Hellwig > --- > arch/csky/mm/dma-mapping.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/csky/mm/dma-mapping.c b/arch/csky/mm/dma-mapping.c > index 85437b21e045..ad4046939713 100644 > --- a/arch/csky/mm/dma-mapping.c > +++ b/arch/csky/mm/dma-mapping.c > @@ -35,7 +35,7 @@ static int __init atomic_pool_init(void) > if (!atomic_pool) > BUG(); > > - page = alloc_pages(GFP_KERNEL | GFP_DMA, get_order(size)); > + page = alloc_pages(GFP_KERNEL, get_order(size)); > if (!page) > BUG(); > > -- > 2.19.1 Acked-by: Guo Ren