Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF163C43331 for ; Mon, 11 Jan 2021 14:25:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C58D522473 for ; Mon, 11 Jan 2021 14:25:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731497AbhAKOYu (ORCPT ); Mon, 11 Jan 2021 09:24:50 -0500 Received: from mga02.intel.com ([134.134.136.20]:24227 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728070AbhAKOYt (ORCPT ); Mon, 11 Jan 2021 09:24:49 -0500 IronPort-SDR: re0w/xQO7P8MiF3eAvY5YBTjRwKvKVNkT473SFlR3oA4h4WBgeD1a67KB/njNNDKcHo/F6M8Sy lzCtxtRnrXtA== X-IronPort-AV: E=McAfee;i="6000,8403,9860"; a="164951204" X-IronPort-AV: E=Sophos;i="5.79,338,1602572400"; d="scan'208";a="164951204" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2021 06:23:01 -0800 IronPort-SDR: B5TjygFGefN9FVfrELU2SAeYsEHkhVJO/QW2XaiFIS98paWfaA/Fo5AckIvjO6rydn5bprDHNy FkqZZfsc7l+g== X-IronPort-AV: E=Sophos;i="5.79,338,1602572400"; d="scan'208";a="464175188" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.163]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2021 06:22:58 -0800 Received: by lahna (sSMTP sendmail emulation); Mon, 11 Jan 2021 16:22:56 +0200 Date: Mon, 11 Jan 2021 16:22:56 +0200 From: Mika Westerberg To: Yehezkel Bernat Cc: linux-usb@vger.kernel.org, Michael Jamet , Lukas Wunner , Andreas Noever , Christian Kellner , Mario Limonciello Subject: Re: [PATCH 1/2] thunderbolt: Start lane initialization after sleep Message-ID: <20210111142256.GL968855@lahna.fi.intel.com> References: <20210105092808.15817-1-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Tue, Jan 05, 2021 at 03:35:27PM +0200, Yehezkel Bernat wrote: > On Tue, Jan 5, 2021 at 11:28 AM Mika Westerberg > wrote: > > > > USB4 spec says that for TBT3 compatible device routers the connection > > manager needs to set SLI (Start Lane Initialization) to get the lanes > > that were not connected back to functional state after sleep. Same needs > > to be done if the link was XDomain. > > > > Signed-off-by: Mika Westerberg > > --- > > drivers/thunderbolt/lc.c | 35 +++++++++++++++++++++++++++++++++++ > > drivers/thunderbolt/switch.c | 27 ++++++++++++++++++++++++++- > > drivers/thunderbolt/tb.h | 1 + > > drivers/thunderbolt/tb_regs.h | 1 + > > 4 files changed, 63 insertions(+), 1 deletion(-) > > > > Acked-by: Yehezkel Bernat Applied to thunderbolt.git/next.