Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3347054imm; Mon, 13 Aug 2018 10:03:26 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxNySXh9vXEecY5qvsqEuvKU5kBH3hD5hoHWMdOFqiwpex0igPwZJ68MetuKnfLyFFiG4Ub X-Received: by 2002:a62:229a:: with SMTP id p26-v6mr19844501pfj.53.1534179806930; Mon, 13 Aug 2018 10:03:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534179806; cv=none; d=google.com; s=arc-20160816; b=a10J1HsSIEsM99jAi3G+MOoTGMxL0416TXGfNq1UiTJ020+U5s7xLffZ7Z2RSc0MSc d+BoQJdnPG6pPwvQw+eo+ivuOfWo4tilcrneLO1KGfZGClENPK4bGJe/WoBcyPBllHR2 tkd9TKZYk1i3gXaYw/DM+W57zROiavPFW/BAfdv7osmDkhEloY4f6oF9Z1HTDjKqpSzY wVEwp0v3s1p8xOcDCVDdWgfodAEUDFcLIqGrPRSV4hOlgFT7BHUtUYtBcpgpEIYyyacT yllNzezq51kf6ktuCG9ni2mer6flxhrJRi/5EBXT6d2AmmXMNMHLyernC8sXIwndNZZ5 8oIQ== 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=0aN2S6FOS4Fka/wlPljN8EXs5/VuYb37MUjDI9jnTnk=; b=t4W5C91vDwmb1VlHr3YhPRwirSjjs8ZcoHkF3ayEb2fcevKNiNNQux0uw5TK25U5hX AolCIGJGSyTiwQNRG7Lcy8zKvUDWbFxelMcyrgxRaaZ1+gfex+6aYNHqewXR78zcz2Ib cX6qpVFyl1JXpTOPkjIFyNd3NmfvjwI0WQMqkWDcwJlkAwroFW5wlzyGgYii4Qvp6FJd 4ZbxQXeX5HJeIaPbLBrBk6yxsVoZGlatP0wPxq4CMViFRQZQ/UX8bSTIqXELt0SMebPY F/Dwi6A5IMrPHmW3bfM9DbuyiOYxVdgGKGDW3auif8+JN7Q6Xlvb/sup5JnLnuAr+VBi OW2g== 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 f90-v6si14617754plf.30.2018.08.13.10.03.10; Mon, 13 Aug 2018 10:03:26 -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 S1730062AbeHMSiq (ORCPT + 99 others); Mon, 13 Aug 2018 14:38:46 -0400 Received: from ale.deltatee.com ([207.54.116.67]:35126 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728509AbeHMSiq (ORCPT ); Mon, 13 Aug 2018 14:38:46 -0400 Received: from guinness.priv.deltatee.com ([172.16.1.162]) by ale.deltatee.com with esmtp (Exim 4.89) (envelope-from ) id 1fpFBj-00016x-O5; Mon, 13 Aug 2018 09:55:24 -0600 To: Matthew Wilcox , Martin Mares Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-doc@vger.kernel.org, Stephen Bates , Christoph Hellwig , Bjorn Helgaas , Jonathan Corbet , Ingo Molnar , Thomas Gleixner , "Paul E. McKenney" , Marc Zyngier , Kai-Heng Feng , Frederic Weisbecker , Dan Williams , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Benjamin Herrenschmidt , Alex Williamson , =?UTF-8?Q?Christian_K=c3=b6nig?= References: <20180717170204.30470-1-logang@deltatee.com> <20180717203900.GA1771@bombadil.infradead.org> <20180810145655.GA16533@bombadil.infradead.org> <20180812103133.GB2984@bombadil.infradead.org> From: Logan Gunthorpe Message-ID: <98953063-2fa8-fe2b-afc5-801d0a341051@deltatee.com> Date: Mon, 13 Aug 2018 09:55:17 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180812103133.GB2984@bombadil.infradead.org> 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, frederic@kernel.org, kai.heng.feng@canonical.com, marc.zyngier@arm.com, paulmck@linux.vnet.ibm.com, tglx@linutronix.de, mingo@kernel.org, corbet@lwn.net, bhelgaas@google.com, hch@lst.de, sbates@raithlin.com, linux-doc@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, mj@ucw.cz, willy@infradead.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: lspci: Display path to device 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 On 12/08/18 04:31 AM, Matthew Wilcox wrote: > I pondered asking Logan to change his parser to include the bus number > as a solution, but then I remembered the entire point of this is to make > specifying a device robust against bus number assignmnet changes. I suppose > we could have the parser accept and ignore the bus number ... Yes, exactly. Bjorn's already accepted the series but we could add support for ignored bus letters in another patch if we want. I just think that might be confusing when you end up in a situation where the path includes numbers that no longer actually match the actual addresses after the bus numbers change. Thanks, Logan