Re: [RFC PATCH 19/22] thunderbolt: Add support for Time Management Unit

2019-10-03 Thread Mika Westerberg
On Wed, Oct 02, 2019 at 04:52:06PM +, Mani, Rajmohan wrote: > > + /* Enable TMU if it is off */ > > + if (!tb_switch_tmu_is_enabled(tb->root_switch)) > > To be consistent with the implementation of tb_switch_tmu_disable(), should we > move the above check inside tb_switch_tmu_enable()? Ye

RE: [RFC PATCH 19/22] thunderbolt: Add support for Time Management Unit

2019-10-02 Thread Mani, Rajmohan
han ; > Nicholas Johnson ; Lukas > Wunner ; Greg Kroah-Hartman > ; Alan Stern ; > mario.limoncie...@dell.com; Anthony Wong > ; linux-kernel@vger.kernel.org > Subject: [RFC PATCH 19/22] thunderbolt: Add support for Time Management > Unit > > From: Rajmohan Mani > > T

[RFC PATCH 19/22] thunderbolt: Add support for Time Management Unit

2019-10-01 Thread Mika Westerberg
From: Rajmohan Mani Time Management Unit (TMU) is included in each USB4 router. It is used to synchronize time across the USB4 fabric. By default when USB4 router is plugged to the domain, its TMU is turned off. This differs from Thunderbolt (1, 2 and 3) devices whose TMU is by default configured