Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3548101pxb; Sun, 20 Feb 2022 23:57:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxplFsMVnCA8nTgMBNwMuFNS/jWQR+cOWZJmoDKEcS6Bq4xcd9iN35OfXRm2pmpOqPB6DT2 X-Received: by 2002:a63:d0d:0:b0:34e:34b:fc17 with SMTP id c13-20020a630d0d000000b0034e034bfc17mr14996937pgl.501.1645430260403; Sun, 20 Feb 2022 23:57:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645430260; cv=none; d=google.com; s=arc-20160816; b=SJGRxo4aLraJ22bJPEJgQwAfFAjUsbe+m5ZL7I9plnR5PHZizoxps7R8Q/In13r1lP 8J5EABoaXj+RMTHQq6EIZxev5ZnWIVlnivwYjfrQ1hLLLHnRALnZnRLxpNRXCN1WMJB0 2qprGuECIGGEHlgg8n9wMYs30HymL2pnI3coHJBPVbT8y4XyWEjz6tFVU3mICmfIFRnZ 1Pkxh095b2Xb8388tVsd7G+CM74cStupTea1h0E8GqA6BOI1wh0uvo+IeivFwBoLBiCn X21ped0RLlfJJseo1EnM6PcSTN3cZbjwAAmE4uZTfu+bhhE0Qa1+KsBErsoNpcHiBK5d iuEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=u35piiWPohqcpYYdwIsCVmh/d8XqMR6334fza7B3jzM=; b=zePYAzXRn9gJ462kjiUi6IUuboCb/Ll06p0LmhGGRFl/X5PqqoWizKWl2qMBF30BfJ Y5b0rPJFz3TduQ89rlAot7r5bjsV1m5j1nbhXoPoJ5Qjop1F6fy5hEWs3e0fDPrlKx1k yL1vhCRkWDJFHkfGk9Qwr8sOkAPiEVrhyGHc2hfrRlyWQAPkC/1GrOrbf0qFK3Cy6BwZ watXL1Cs3tmqSFw3iMrJkrQyxD5N7lavDjvVpAeMBwSUnmRB0p1b1QY090LZb1z++I3/ 2HvtpINfmeSzA8qT27dxcVs7gu2ROhvSDqjMbosOR0QHK4XCQfwnITEmFHUjvA+GCkVW McoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TZtul7dd; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m16si8601843pfc.308.2022.02.20.23.57.26; Sun, 20 Feb 2022 23:57:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TZtul7dd; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243367AbiBTCGx (ORCPT + 99 others); Sat, 19 Feb 2022 21:06:53 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243348AbiBTCGn (ORCPT ); Sat, 19 Feb 2022 21:06:43 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0947446B1A for ; Sat, 19 Feb 2022 18:06:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645322783; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=u35piiWPohqcpYYdwIsCVmh/d8XqMR6334fza7B3jzM=; b=TZtul7ddFQY5D91SqIaOIkRM9hGCHphTI7v5iQ1HwRVt8J0YxWOr+meD1RfIXrh+74+VUC jQdvdbcWEqKPLPzJgwSTncstx4gOPIbhceyBDgo/LzX1ImyKqLkZu/9FoGEw6BQsnA57ae +fK+flNrwNh0GRBAZfMhEDADfvQMrqw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-368-ZCsigVPTOsm5Z-VVgbZzmw-1; Sat, 19 Feb 2022 21:06:19 -0500 X-MC-Unique: ZCsigVPTOsm5Z-VVgbZzmw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A145E1898290; Sun, 20 Feb 2022 02:06:16 +0000 (UTC) Received: from localhost (ovpn-12-31.pek2.redhat.com [10.72.12.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4DDD21971B; Sun, 20 Feb 2022 02:06:05 +0000 (UTC) Date: Sun, 20 Feb 2022 10:06:01 +0800 From: Baoquan He To: Jakub Kicinski Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, hch@lst.de, cl@linux.com, 42.hyeyoo@gmail.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, vbabka@suse.cz, David.Laight@aculab.com, david@redhat.com, herbert@gondor.apana.org.au, davem@davemloft.net, linux-crypto@vger.kernel.org, steffen.klassert@secunet.com, netdev@vger.kernel.org, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, borntraeger@linux.ibm.com, svens@linux.ibm.com, linux-s390@vger.kernel.org, michael@walle.cc, linux-i2c@vger.kernel.org, wsa@kernel.org Subject: Re: [PATCH 17/22] net: marvell: prestera: Don't use GFP_DMA when calling dma_pool_alloc() Message-ID: <20220220020601.GB93179@MiWiFi-R3L-srv> References: <20220219005221.634-1-bhe@redhat.com> <20220219005221.634-18-bhe@redhat.com> <20220218205408.45d1085e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220218205408.45d1085e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 02/18/22 at 08:54pm, Jakub Kicinski wrote: > On Sat, 19 Feb 2022 08:52:16 +0800 Baoquan He wrote: > > dma_pool_alloc() uses dma_alloc_coherent() to pre-allocate DMA buffer, > > so it's redundent to specify GFP_DMA when calling. > > > > Signed-off-by: Baoquan He > > This and the other two netdev patches in the series are perfectly > cleanups reasonable even outside of the larger context. > > Please repost those separately and make sure you CC the maintainers > of the drivers. Thanks for reviewing. I am not familiar with netdev and network patch posting rule. There are 4 patches altogether related to netdev as below, Will repost them to the relevant netdev mailinglist and maintainers. [PATCH 19/22] ethernet: rocker: Use dma_alloc_noncoherent() for dma buffer [PATCH 18/22] net: ethernet: mtk-star-emac: Don't use GFP_DMA when calling dmam_alloc_coherent() [PATCH 17/22] net: marvell: prestera: Don't use GFP_DMA when calling dma_pool_alloc() [PATCH 02/22] net: moxa: Don't use GFP_DMA when calling dma_alloc_coherent()