Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp313371iog; Wed, 29 Jun 2022 00:11:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vgjN8s6s8naqQKrxUwoR974TDA8hVuyH+YwP+TpopqQ02v1acgkLvZ38adZx1hbCBQsEII X-Received: by 2002:a17:90b:4c92:b0:1ec:d65e:b2b0 with SMTP id my18-20020a17090b4c9200b001ecd65eb2b0mr2274468pjb.36.1656486719277; Wed, 29 Jun 2022 00:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656486719; cv=none; d=google.com; s=arc-20160816; b=00fkqPlDDWxyZYAgbgCntOzmgnnN9QwtndAbnqcjfTFthbhG4ujulCuLWygBKrRAN/ A0BH7fhKy7ZiRbY/cjTsAZ/NTnd/+TPuJY/dqwSnmYaQQGPnUHTrELGcpWxNA+8ic6q+ +FzOQ51rcOUojPEX2sHR+zIptZ2Bi9Pa0PWLAUNHU7S/OEYlJViklWwmPCh3gSzX6c36 pgYGdU19tesiTXZAqnVd0+Ezxa4MRDE8FTvYJSe0eDKQdKTrgrjlblxl7Nc4gQTxjho5 DHW0WZn1qKOLhPE+HXA02LHmoSOqr7fEgjv4S46k3wIvVkulnYwA/7OsOmmKjlhBT+w7 RAcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=3tJ8zCEFdDQ/ZxO+K8VnIsQJm5ySP4MPinU1CuFYdn0=; b=GMDnpoxEJwT3WGorS7xZj1hb8Tt0A1kYV4v15rqLHfrTVp2v9/CThRRBjSVaDKcQdz qIF+Gw1odzUggbxSzQnpyqfTjCmDF5eOlCh5muyH1CoUenyIKizGJL1euSKrUy5e7TCI SOOM3FHmHtyzfgcLaL4iMn8QYddHaep3KqbWos8isWvJvfuC6TS0IMkmgcxwLjlDGngW JPBsISxyG7TObzh9dgYcWicpzSDQyAtAQtL8F/eTgAIuZxvI++tHWknmdSVUddytAYPK RFKunvis54U7zArT+49LODTpqSyg5Fr21AoDqb6SMecRRIu2H+u+WSYN+IL7YjTILvAx ZPaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 13-20020a63020d000000b0040df75e9e43si11156887pgc.408.2022.06.29.00.11.46; Wed, 29 Jun 2022 00:11:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232255AbiF2Gmy (ORCPT + 99 others); Wed, 29 Jun 2022 02:42:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232026AbiF2Gmx (ORCPT ); Wed, 29 Jun 2022 02:42:53 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BD582E693; Tue, 28 Jun 2022 23:42:51 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id A7BE367373; Wed, 29 Jun 2022 08:42:48 +0200 (CEST) Date: Wed, 29 Jun 2022 08:42:48 +0200 From: Christoph Hellwig To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, Stephen Bates , Christoph Hellwig , Dan Williams , Jason Gunthorpe , Christian =?iso-8859-1?Q?K=F6nig?= , John Hubbard , Don Dutile , Matthew Wilcox , Daniel Vetter , Minturn Dave B , Jason Ekstrand , Dave Hansen , Xiong Jianxin , Bjorn Helgaas , Ira Weiny , Robin Murphy , Martin Oliveira , Chaitanya Kulkarni , Ralph Campbell , Jason Gunthorpe Subject: Re: [PATCH v7 12/21] RDMA/rw: drop pci_p2pdma_[un]map_sg() Message-ID: <20220629064248.GL17234@lst.de> References: <20220615161233.17527-1-logang@deltatee.com> <20220615161233.17527-13-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220615161233.17527-13-logang@deltatee.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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-kernel@vger.kernel.org On Wed, Jun 15, 2022 at 10:12:24AM -0600, Logan Gunthorpe wrote: > dma_map_sg() now supports the use of P2PDMA pages so pci_p2pdma_map_sg() > is no longer necessary and may be dropped. This means the > rdma_rw_[un]map_sg() helpers are no longer necessary. Remove it all. Looks good: Reviewed-by: Christoph Hellwig