Received: by 10.192.165.148 with SMTP id m20csp3636392imm; Mon, 7 May 2018 16:10:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoayBgJsnBEo9CF4x1B3OlN0NAyiCUuBBVfXoFBgFsERQDIavdri9+Eb231wEeHlP03nZlr X-Received: by 2002:a63:a60a:: with SMTP id t10-v6mr8441158pge.351.1525734645840; Mon, 07 May 2018 16:10:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525734645; cv=none; d=google.com; s=arc-20160816; b=Jl/AAblSemFFftT552WM9efptr+w2TYr7FbDcP7L/WQ9zzqTxOmacjTM1t/6s+v8qt M461GULLeUIS1+29esiur8vjgIX+eS0hRk4UU1pH8cmOSOiR+VT2D1muNmVVuLiELbZg ayJgR8ij8EyvdzcBIRZrXZDKs+bmAuVdKicr4vrV5uWjlnerJqQQE+5adBMsN0WmADDn LfOKcwNc2n+D8YAX0xbdi6bMs/p75ZrWlRA02OV7BzGl8hdgxHKjckXdvC2xbg9bO3Zz r3olnrvwiOr6YCAlwsPHrlWXJzYHYpCVg3RCyX5QoILlsE+hFT5fBgcD9GCyBMnYwG/F zHew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:arc-authentication-results; bh=bH0vTU9aZt7zse5zN8K5Tz7LF4yvy8EF/+Hzu/YmkUc=; b=sTwQs5WTYgTKVHm6nvBRAhr3q35TdUOIpXDx1nmXj+56qsTLCNo/H0R9M06JGNZxcR LnIjFDz63Qnb3SG+zYC5HmvI+C4425CEimdFX2GIQ2s+wgIivoHveUb4oTcpcIFK/Jmo Km0dpdZihGmfLTwX0RUqfbkVNmUjMkyhbPG6fcO54GSBETrZkfcjYs8ast1ihVoPSpbQ TuF+PyFACG3Ec5Fb6J6ciSR43uLwzGGE8G5E1T83yZz1Z2UTa9VgJQE7Siuheyrv4QK4 Iy33N8yKqD/3RyC0rFlG8IQhXA6jPw0J8gWfwsLhBqBmCCP9zl1/nt5kkyvJeINwyVSq 4GOw== 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 34-v6si22585531plm.495.2018.05.07.16.10.31; Mon, 07 May 2018 16:10:45 -0700 (PDT) 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 S1753380AbeEGXKT (ORCPT + 99 others); Mon, 7 May 2018 19:10:19 -0400 Received: from ale.deltatee.com ([207.54.116.67]:54218 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752726AbeEGXKR (ORCPT ); Mon, 7 May 2018 19:10:17 -0400 Received: from guinness.priv.deltatee.com ([172.16.1.162]) by ale.deltatee.com with esmtp (Exim 4.89) (envelope-from ) id 1fFpGV-0001Mh-Sf; Mon, 07 May 2018 17:09:56 -0600 To: Bjorn Helgaas Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org, linux-nvdimm@lists.01.org, linux-block@vger.kernel.org, Stephen Bates , Christoph Hellwig , Jens Axboe , Keith Busch , Sagi Grimberg , Bjorn Helgaas , Jason Gunthorpe , Max Gurtovoy , Dan Williams , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Benjamin Herrenschmidt , Alex Williamson , =?UTF-8?Q?Christian_K=c3=b6nig?= References: <20180423233046.21476-1-logang@deltatee.com> <20180423233046.21476-2-logang@deltatee.com> <20180507230034.GE161390@bhelgaas-glaptop.roam.corp.google.com> From: Logan Gunthorpe Message-ID: <092f3da9-764e-2ece-b3a8-a9b3ab3c49a8@deltatee.com> Date: Mon, 7 May 2018 17:09:46 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180507230034.GE161390@bhelgaas-glaptop.roam.corp.google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: christian.koenig@amd.com, alex.williamson@redhat.com, benh@kernel.crashing.org, jglisse@redhat.com, dan.j.williams@intel.com, maxg@mellanox.com, jgg@mellanox.com, bhelgaas@google.com, sagi@grimberg.me, keith.busch@intel.com, axboe@kernel.dk, hch@lst.de, sbates@raithlin.com, linux-block@vger.kernel.org, linux-nvdimm@lists.01.org, linux-rdma@vger.kernel.org, linux-nvme@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, helgaas@kernel.org X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE autolearn=ham autolearn_force=no version=3.4.1 Subject: Re: [PATCH v4 01/14] PCI/P2PDMA: Support peer-to-peer memory X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for the review. I'll apply all of these for the changes for next version of the set. >> +/* >> + * If a device is behind a switch, we try to find the upstream bridge >> + * port of the switch. This requires two calls to pci_upstream_bridge(): >> + * one for the upstream port on the switch, one on the upstream port >> + * for the next level in the hierarchy. Because of this, devices connected >> + * to the root port will be rejected. >> + */ >> +static struct pci_dev *get_upstream_bridge_port(struct pci_dev *pdev) > > This function doesn't seem to be used anymore. Thanks for all your hard > work to get rid of it! Oops, I thought I had gotten rid of it entirely, but I guess I messed it up a bit and it gets removed in patch 4. I'll fix it for v5. Logan