Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1649457

Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and connection manager

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Mika Westerberg <mika.westerberg@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and connection manager
Date Wed, 24 May 2017 12:50:02 +0200
Message-ID <tKC1A-1db-19@gated-at.bofh.it> (permalink)
References <tIuKR-3YK-5@gated-at.bofh.it> <tIuUz-44c-39@gated-at.bofh.it> <tKBIe-15d-25@gated-at.bofh.it>
X-Original-To Lukas Wunner <lukas@wunner.de>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.38,385,1491289200"; d="scan'208";a="972484633"
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo
User-Agent Mutt/1.7.1 (2016-10-04)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 27
X-Original-Cc Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Andreas Noever <andreas.noever@gmail.com>, Michael Jamet <michael.jamet@intel.com>, Yehezkel Bernat <yehezkel.bernat@intel.com>, Amir Levy <amir.jer.levy@intel.com>, Andy Lutomirski <luto@kernel.org>, Mario.Limonciello@dell.com, Jared.Dominguez@dell.com, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, linux-kernel@vger.kernel.org
X-Original-Date Wed, 24 May 2017 13:39:07 +0300
X-Original-Message-ID <20170524103907.GZ8541@lahna.fi.intel.com>
X-Original-References <20170518143914.60902-1-mika.westerberg@linux.intel.com> <20170518143914.60902-7-mika.westerberg@linux.intel.com> <20170524102821.GB9302@wunner.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1649457

Show key headers only | View raw


On Wed, May 24, 2017 at 12:28:21PM +0200, Lukas Wunner wrote:
> On Thu, May 18, 2017 at 05:38:56PM +0300, Mika Westerberg wrote:
> > Thunderbolt fabric consists of one or more switches. This fabric is
> > called domain and it is controlled by an entity called connection
> > manager. The connection manager can be either internal (driven by a
> > firmware running on the host controller) or external (software driver).
> > This driver currently implements support for the latter.
> > 
> > In order to manage switches and their properties more easily we model
> > this domain structure as a Linux bus. Each host controller adds a domain
> > device to this bus, and these devices are named as domainN where N
> > stands for index or id of the current domain.
> 
> What is the rationale for using a bus?  Do you intend to attach a driver
> to each domain and/or switch?  Unless you do, a class might be more
> appropriate.

It is used to make switches (and the host) identification available for
the userspace. This identification information is used to make a
decision whether or not a device should be authorized.

There will be (in subsequent patches, currently work in progress) also
other type of devices (XDomain) which XDomain service drivers bind to in
order to send data, like IP traffic over Thunderbolt link(s).

And last, Thunderbolt is actually a bus as far as I can tell so we model
it accordingly ;-)

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 06/24] thunderbolt: Introduce thunderbolt bus and connection manager Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-05-18 16:50 +0200
  Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and  connection manager Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-18 18:50 +0200
    Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and  connection manager Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-05-19 10:30 +0200
      Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and  connection manager Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-19 15:20 +0200
  Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and  connection manager Lukas Wunner <lukas@wunner.de> - 2017-05-24 12:30 +0200
    Re: [PATCH 06/24] thunderbolt: Introduce thunderbolt bus and  connection manager Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-05-24 12:50 +0200

csiph-web