Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-25 Thread Mika Westerberg
On Wed, May 24, 2017 at 03:53:59PM +0200, Lukas Wunner wrote: > On Wed, May 24, 2017 at 02:43:22PM +0300, Mika Westerberg wrote: > > On Wed, May 24, 2017 at 01:09:08PM +0200, Lukas Wunner wrote: > > > On Thu, May 18, 2017 at 05:38:57PM +0300, Mika Westerberg wrote: > > > > Thunderbolt domain

Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-25 Thread Mika Westerberg
On Wed, May 24, 2017 at 03:53:59PM +0200, Lukas Wunner wrote: > On Wed, May 24, 2017 at 02:43:22PM +0300, Mika Westerberg wrote: > > On Wed, May 24, 2017 at 01:09:08PM +0200, Lukas Wunner wrote: > > > On Thu, May 18, 2017 at 05:38:57PM +0300, Mika Westerberg wrote: > > > > Thunderbolt domain

Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-24 Thread Lukas Wunner
On Wed, May 24, 2017 at 02:43:22PM +0300, Mika Westerberg wrote: > On Wed, May 24, 2017 at 01:09:08PM +0200, Lukas Wunner wrote: > > On Thu, May 18, 2017 at 05:38:57PM +0300, Mika Westerberg wrote: > > > Thunderbolt domain consists of switches that are connected to each > > > other, forming a bus.

Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-24 Thread Lukas Wunner
On Wed, May 24, 2017 at 02:43:22PM +0300, Mika Westerberg wrote: > On Wed, May 24, 2017 at 01:09:08PM +0200, Lukas Wunner wrote: > > On Thu, May 18, 2017 at 05:38:57PM +0300, Mika Westerberg wrote: > > > Thunderbolt domain consists of switches that are connected to each > > > other, forming a bus.

Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-24 Thread Mika Westerberg
On Wed, May 24, 2017 at 01:09:08PM +0200, Lukas Wunner wrote: > On Thu, May 18, 2017 at 05:38:57PM +0300, Mika Westerberg wrote: > > Thunderbolt domain consists of switches that are connected to each > > other, forming a bus. This will convert each switch into a real Linux > > device structure and

Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-24 Thread Mika Westerberg
On Wed, May 24, 2017 at 01:09:08PM +0200, Lukas Wunner wrote: > On Thu, May 18, 2017 at 05:38:57PM +0300, Mika Westerberg wrote: > > Thunderbolt domain consists of switches that are connected to each > > other, forming a bus. This will convert each switch into a real Linux > > device structure and

Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-24 Thread Lukas Wunner
On Thu, May 18, 2017 at 05:38:57PM +0300, Mika Westerberg wrote: > Thunderbolt domain consists of switches that are connected to each > other, forming a bus. This will convert each switch into a real Linux > device structure and adds them to the domain. The advantage here is > that we get all the

Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-24 Thread Lukas Wunner
On Thu, May 18, 2017 at 05:38:57PM +0300, Mika Westerberg wrote: > Thunderbolt domain consists of switches that are connected to each > other, forming a bus. This will convert each switch into a real Linux > device structure and adds them to the domain. The advantage here is > that we get all the

Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-19 Thread Mika Westerberg
On Thu, May 18, 2017 at 07:49:21PM +0300, Andy Shevchenko wrote: > On Thu, May 18, 2017 at 5:38 PM, Mika Westerberg > wrote: > > Thunderbolt domain consists of switches that are connected to each > > other, forming a bus. This will convert each switch into a real

Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-19 Thread Mika Westerberg
On Thu, May 18, 2017 at 07:49:21PM +0300, Andy Shevchenko wrote: > On Thu, May 18, 2017 at 5:38 PM, Mika Westerberg > wrote: > > Thunderbolt domain consists of switches that are connected to each > > other, forming a bus. This will convert each switch into a real Linux > > device structure and

Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-18 Thread Andy Shevchenko
On Thu, May 18, 2017 at 5:38 PM, Mika Westerberg wrote: > Thunderbolt domain consists of switches that are connected to each > other, forming a bus. This will convert each switch into a real Linux > device structure and adds them to the domain. The advantage here

Re: [PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-18 Thread Andy Shevchenko
On Thu, May 18, 2017 at 5:38 PM, Mika Westerberg wrote: > Thunderbolt domain consists of switches that are connected to each > other, forming a bus. This will convert each switch into a real Linux > device structure and adds them to the domain. The advantage here is > that we get all the goodies

[PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-18 Thread Mika Westerberg
Thunderbolt domain consists of switches that are connected to each other, forming a bus. This will convert each switch into a real Linux device structure and adds them to the domain. The advantage here is that we get all the goodies from the driver core, like reference counting and sysfs hierarchy

[PATCH 07/24] thunderbolt: Convert switch to a device

2017-05-18 Thread Mika Westerberg
Thunderbolt domain consists of switches that are connected to each other, forming a bus. This will convert each switch into a real Linux device structure and adds them to the domain. The advantage here is that we get all the goodies from the driver core, like reference counting and sysfs hierarchy