Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp632776rwb; Thu, 22 Sep 2022 04:40:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM51unz+j0USOas5tzmnqdcaYy1g5RJhGg9ozWoxzX2RJahs2/4EfZDRf8Kd4sftqXOZiSUh X-Received: by 2002:a05:6402:2547:b0:450:668c:9d93 with SMTP id l7-20020a056402254700b00450668c9d93mr2914970edb.92.1663846802454; Thu, 22 Sep 2022 04:40:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663846802; cv=none; d=google.com; s=arc-20160816; b=Zvkrb6FC3oYI987QC8vDzCeN0VNM6sW2CbKsNcgtbcks3QHKQRDSYwrohxGamKBOTk q2aZZjeJRgMi+HFK0VNnF9Yb7YzaHBEZQjVGxyFUih4RqbNVLPftpiWW+qAx3Zdtcs45 zRWdRPbA+b+QGNgUJMQJVJAFGbg0MgS8zIRBr2JmfoaYYkbsQvG5s2J8uMN9LwRd2k/o AZjsy465NRlS/fd/U6GUy6II4uy+kAihGWXsNdSWIpfOc3GpJ3P85KyGFgRodpS6eQUn M3YyHhrkoNVcXLSp2cDMQf/JblOaQ1kKGIH8Ni7V6FbbnQZgpuk26GxTyxY5knHX94yA WpqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VKe7dWjFoaeh0bheQ3d1M/Fi6ZE9VFZqTLovkDtugXE=; b=BA7vqT2rb9fgoEy97/heCg7TfpNWlVZDdzJUSbAPZkDFtkmjtH8vtwgAiIuq9uRlQM FhwsAehusuXEm3vbwCWaOP2ZJ7CwNw29j6QoZZEsuzTtqH87OAjrrKyd6hB1BiHJtx66 UhIaLT+CRxBBEkQnM/K6JrxSi7bc0PElCaaDr0loXhKjvZ/wRJcSZaKkIPLCDjgmXxWT +q8XdBS8bXgGSU3lxeArXFL2WWOgo/DUkoIefpkS89LMTaPHG0ZDegdtMCR0bkwWiZL9 U7pdrH+s+/H6mLKeaOqQ9bq40ZqxPkFr6+0WPM14itwOv//upfZ0jRh4FVLu2WejQeV7 zdAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bFvWMqxO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s21-20020a50d495000000b0045184540cfbsi5348011edi.72.2022.09.22.04.39.35; Thu, 22 Sep 2022 04:40:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bFvWMqxO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230467AbiIVLe2 (ORCPT + 99 others); Thu, 22 Sep 2022 07:34:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229777AbiIVLe0 (ORCPT ); Thu, 22 Sep 2022 07:34:26 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05269E21D2; Thu, 22 Sep 2022 04:34:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663846466; x=1695382466; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=dtC0bXObJ2zTCLRvIKDIB0E66QUQdLom9U6HVS3krRA=; b=bFvWMqxO4W124eGgi5pXXA0ehtnZviGSF+CCHXwvxIu7gOHdDhOq8/Z/ kq68WKO5U3mU/btFFkpKGzo6+mJNHfBBbEZp8YuZWXSsW6vjznXVVCMP7 Mm1iCdqI8Oj+NvLhr44+dv9G0DHzahzGR+aLpe2/5Odmcu95H+oMhj7Gk LbaPwkH5MGQ/QvwXD/rkOubS8U0CGZXldim5thjdLCbsDjm+koBoSarqP n+lYICbflWfrwB/lPdU4ML3evj1k0FuuKJU9bw7YOWxm/36wY/UxAR2wj vlSodePlL2AIGa8stIGGGRaIr68WNksAnCVabYSvZCNaiAJIE4Bv3LVEj A==; X-IronPort-AV: E=McAfee;i="6500,9779,10477"; a="364251998" X-IronPort-AV: E=Sophos;i="5.93,335,1654585200"; d="scan'208";a="364251998" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2022 04:34:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,335,1654585200"; d="scan'208";a="570928017" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga003.jf.intel.com with ESMTP; 22 Sep 2022 04:34:23 -0700 Received: by black.fi.intel.com (Postfix, from userid 1001) id E2DA7238; Thu, 22 Sep 2022 14:34:40 +0300 (EEST) Date: Thu, 22 Sep 2022 14:34:40 +0300 From: Mika Westerberg To: "Limonciello, Mario" Cc: Greg KH , linux-usb@vger.kernel.org, Andreas Noever , Michael Jamet , Yehezkel Bernat , sanju.mehta@amd.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] Fix some hotplug event issues Message-ID: References: <20220921145434.21659-1-mario.limonciello@amd.com> <6283792d-3c91-0ec2-6f2b-edd647d0de67@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6283792d-3c91-0ec2-6f2b-edd647d0de67@amd.com> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mario, On Wed, Sep 21, 2022 at 10:48:17AM -0500, Limonciello, Mario wrote: > On 9/21/2022 10:45, Greg KH wrote: > > On Wed, Sep 21, 2022 at 09:54:31AM -0500, Mario Limonciello wrote: > > > On AMD Pink Sardine it's been observed that if another CM has run before > > > the Linux CM that some registers may not match expectations which leads > > > to a non-functional hotplug for PCIe devices. > > > > > > Explicitly set these registers that have been observed to cause problems > > > with hotplug to the defaults of the USB4 spec. > > > > > > Mario Limonciello (2): > > > thunderbolt: Explicitly reset plug events delay back to USB4 spec > > > value > > > thunderbolt: Explicitly enable lane adapter hotplug events at startup > > > > > > drivers/thunderbolt/switch.c | 5 +++++ > > > drivers/thunderbolt/tb.h | 1 + > > > drivers/thunderbolt/tb_regs.h | 1 + > > > drivers/thunderbolt/usb4.c | 19 +++++++++++++++++++ > > > 4 files changed, 26 insertions(+) > > > > Any specific reason these were not tagged for stable backports? > > > > thanks, > > > > greg k-h > > > No; no particular reason. If Mika agrees with them, I think they are good > candidates to include for stable too. If I respin them, I'll tag > accordingly. If Mika picks them up as v1 I think he can add the tag when > committing them. I applied the first one to my fixes branch and tagged it for stable. For the second one, I have a couple of comments that I would like you to address (sent in a separate email) ;-)