Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp464171imm; Thu, 13 Sep 2018 02:44:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYnpO9IQVUVDe0agXuW9Pvd4xdIHhcUiD3M0CIfWE75/UBOmNjWs4O4SMOnK7sW1xQ4Esb/ X-Received: by 2002:a63:d946:: with SMTP id e6-v6mr6403447pgj.24.1536831840722; Thu, 13 Sep 2018 02:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536831840; cv=none; d=google.com; s=arc-20160816; b=jBfAFylNfcCqlfqdpQd/4pzLsXQmT9/yGdiLeuEy6eqUrS9c4fBXOM/3xy36TzmoD3 v4wzd8j9q1dNupzGY6U8v7V0WubqWvQFPEP9nx/RbN/iwFvc5J9aOx/GazUtQwVIciQ9 VWP4GyOaSyn+YB0Na4O0Y5kGyK9V9vjwMd64mLwTuqf8w8CFKYU5EoCnNU5onA37LQzk 3t/WqXSlBYzsNsCVD6mly2bAeyIMTwqVzsOAI6feNXztSmBILTnp/BqmwEIX7k/N8hjE fPyAFehz+xuz+0SporfOu/1g0c4oZmc/bLeuOSmdexfjICVrGed7EqQ+ATIWpzpzgaxo vxaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=gd7gGUDhqQXE3vo/qE5F82mb4Zfb6f4/mX8P79lI0uA=; b=Vw7fjfLzL9/Q3VXRKPFZrDz0jEAcm5mHWOW3yhCPIMz8k/fl0FKeYDhqs6Rrl3tIgL xB3J4KS8svPcxWToHBTRdwhwflkjf6HgsojAQ9R2yNqS4JRMtIIy36oOz1qNhY8TkJda 3naCL4mOkscgOw2QFSWBn7MSXOfAKAqyHDeym9Fj6n9gI75ygtpAWg1Kxd9JhFWLfi5U EL9S2hes9WnnI6Hk+spFAicMvHuku7f24MjM1/j7aOxXjgpnNFfIBt1ow+/rSp19zDqy YsCuBaDPOLzPaGquJ1PYkxPT0a9GPVaWmOQaqvbREmLJ/b122M3kx9D5WIA62sj3B7hO UMCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AJlXT0p1; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q67-v6si3485292pga.63.2018.09.13.02.43.45; Thu, 13 Sep 2018 02:44:00 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AJlXT0p1; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727660AbeIMOwC (ORCPT + 99 others); Thu, 13 Sep 2018 10:52:02 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:35317 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726945AbeIMOwC (ORCPT ); Thu, 13 Sep 2018 10:52:02 -0400 Received: by mail-it0-f68.google.com with SMTP id 139-v6so6966289itf.0 for ; Thu, 13 Sep 2018 02:43:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gd7gGUDhqQXE3vo/qE5F82mb4Zfb6f4/mX8P79lI0uA=; b=AJlXT0p1fpBoap60tU+Te+5kBlyQFEQMdMt7Skuk64K7yIGHVSUD5JlnVq4H/tsMSc nz8uWnujGhumqnGq5a9SEF7wQ37+HwYL6ImwViEKRZ0Nl8J/SdmCs2rGt9IwEYiOG/Yk N/DXz6Kb8+Y9RQ1hn9mCRiqkaJ9gU6fnuMs5ntDeGdvANBLQcqQkWnMJ9/kmsumqXniP 1AkKv87i28gzmdan2k5XBhZ6aRRSxZixf4wys1rBmBi4+H0U4L9i3Gh8Upjich9ST/J5 qcDZrzaTezAR7MM2wR2C9SweRicpgBGmYRGeUd29ijgJabn51m4+Ex2M4LMHTh+aV8VT ykZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gd7gGUDhqQXE3vo/qE5F82mb4Zfb6f4/mX8P79lI0uA=; b=WBzpeCNnsLkY3eccbwMtQq22fTdQVBSbPVAvQ7AQjrANrq2BBALWGota3WezlebwcO kNBRdjpqTgtcHVN0wjAWlXDgNPZtTVDcpC/AEpfhQyQA54uQpKQyVyXZ8CLLlaGLlVxo zXJ2EsFK+2YgDbAeVtAaDUtByB1eF8mt5da+l9nt5I0C/BKhyVQUfUQtHRt/g0HMSoIH fSb/nzAXSKS15jZ6hZaee79jl5o2M49dtPrSpSqzwLRyxt7HCJPHMe3XxvaeRdt0fKkc Hu5w0kbtuGsTIQgbXOS2eIk0PE4nzaaOWLxG2M7ESDBmGvxC1vtz4sLhR90aH7GGdX6w SWXA== X-Gm-Message-State: APzg51DeUD+BqrhDpqvfuJ4IrT/E1s+rVxnUUaTnZdISLLQHLsTFpnuW NjlZU/5h9j4a/LnQ20PD5YWT3l3ZDb2SqNC0Vyc= X-Received: by 2002:a24:355:: with SMTP id e82-v6mr5241011ite.64.1536831800275; Thu, 13 Sep 2018 02:43:20 -0700 (PDT) MIME-Version: 1.0 References: <20180910094454.GJ14465@lahna.fi.intel.com> In-Reply-To: <20180910094454.GJ14465@lahna.fi.intel.com> From: Yehezkel Bernat Date: Thu, 13 Sep 2018 12:43:03 +0300 Message-ID: Subject: Re: [PATCH 4/5] thunderbolt: Correlate PCI devices with Thunderbolt ports To: Mika Westerberg Cc: lukas@wunner.de, Andreas Noever , michael.jamet@intel.com, stephen@networkplumber.org, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 10, 2018 at 12:45 PM Mika Westerberg wrote: > > Hi Lukas, > > On Sun, Sep 09, 2018 at 11:42:01PM +0200, Lukas Wunner wrote: > > Ideas what we can do with correlation: > > > > * Represent the relationship between PCI devices and Thunderbolt ports > > with symlinks in sysfs. > > I wonder is that really useful? I don't think we should be adding sysfs > entries without any real reason why it would be needed and who would be > using them. I think Lukas mentioned where it can be useful, even if it isn't used right now. We also know this can be useful for some QoS configurations (even if we didn't found it useful enough for now). Lukas, What I'd like to ask is: if your point is mainly for OS-controlled tunneling management, I'd hope this future Connection Manager will have better ways to determine the assigned PCI bus number of the PCI devices it tunnels than the walk over the PCI tree the current patch does. Isn't it?