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 X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A008C3A59E for ; Fri, 16 Aug 2019 08:14:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EFAC921655 for ; Fri, 16 Aug 2019 08:14:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726948AbfHPIOJ (ORCPT ); Fri, 16 Aug 2019 04:14:09 -0400 Received: from verein.lst.de ([213.95.11.211]:53397 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726835AbfHPIOJ (ORCPT ); Fri, 16 Aug 2019 04:14:09 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id AFE3A68B02; Fri, 16 Aug 2019 10:14:05 +0200 (CEST) Date: Fri, 16 Aug 2019 10:14:05 +0200 From: Christoph Hellwig To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org, Bjorn Helgaas , Christoph Hellwig , Christian Koenig , Jason Gunthorpe , Sagi Grimberg , Keith Busch , Jens Axboe , Dan Williams , Eric Pilmore , Stephen Bates Subject: Re: [PATCH v3 10/14] PCI/P2PDMA: Factor out __pci_p2pdma_map_sg() Message-ID: <20190816081405.GJ9249@lst.de> References: <20190812173048.9186-1-logang@deltatee.com> <20190812173048.9186-11-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190812173048.9186-11-logang@deltatee.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Mon, Aug 12, 2019 at 11:30:44AM -0600, Logan Gunthorpe wrote: > Factor out the bus-only mapping into its own static function. No > functional changes. The original pci_p2pdma_map_sg_attrs() will be used to > decide whether this is an appropriate way to map. > > Link: https://lore.kernel.org/r/20190730163545.4915-11-logang@deltatee.com > Signed-off-by: Logan Gunthorpe > Signed-off-by: Bjorn Helgaas Looks good, Reviewed-by: Christoph Hellwig