From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9626EC43334 for ; Wed, 29 Jun 2022 06:42:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 33BD46B0071; Wed, 29 Jun 2022 02:42:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2ECB88E0003; Wed, 29 Jun 2022 02:42:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2021C8E0001; Wed, 29 Jun 2022 02:42:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 10B076B0071 for ; Wed, 29 Jun 2022 02:42:52 -0400 (EDT) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id CD0EC213E6 for ; Wed, 29 Jun 2022 06:42:51 +0000 (UTC) X-FDA: 79630330542.04.86C8C9B Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by imf06.hostedemail.com (Postfix) with ESMTP id 58E9618001B for ; Wed, 29 Jun 2022 06:42:51 +0000 (UTC) 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) ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=none; dmarc=none; spf=none (imf06.hostedemail.com: domain of hch@lst.de has no SPF policy when checking 213.95.11.211) smtp.mailfrom=hch@lst.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1656484971; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3tJ8zCEFdDQ/ZxO+K8VnIsQJm5ySP4MPinU1CuFYdn0=; b=H2fAQo/kvRDjr10Ntp4aHcMl7aHYNmNxfFrf+GEjcuXgR5gF1e0j4g/eXpZcv8QP4AAF7f kC2f2wnf3iuU4kZec9CjFI8Otgo7xi84xH0dUxfylbMT+yfC8bHxhk6UVVDaPLNA8xOd4q J3uqnyAQ2rwjDA5BvY3e1tUTKEe5o00= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1656484971; a=rsa-sha256; cv=none; b=x50e0CBTOy1qjimHvQlk1kPkI8iyIvGB2x0rxyYFarl1TurEmT4jJlxnemukVJm6mJhUrV DIM65HsyDuxfFOOcEW0ksSG5dC6i2Zr8gHH2fQA08IIqhayvKU6kMqDxdeJfkLOJ87mz3a outQVMq+cQKlda5zy81zmbt4SAtoHXw= X-Stat-Signature: iuce8uz865t1chb93e64q591aq5anfyx X-Rspamd-Queue-Id: 58E9618001B X-Rspam-User: Authentication-Results: imf06.hostedemail.com; dkim=none; dmarc=none; spf=none (imf06.hostedemail.com: domain of hch@lst.de has no SPF policy when checking 213.95.11.211) smtp.mailfrom=hch@lst.de X-Rspamd-Server: rspam12 X-HE-Tag: 1656484971-95582 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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