Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5589090rwb; Wed, 21 Sep 2022 09:41:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6KzoMsiTjxhNTn5/N2/7uwlMp3n5VqDjHUyDRdtc57RWNdWI0cib5ZewK2DgRb4BrBRbIq X-Received: by 2002:a05:6402:1f01:b0:445:fbe8:4b2e with SMTP id b1-20020a0564021f0100b00445fbe84b2emr25822351edb.192.1663778490741; Wed, 21 Sep 2022 09:41:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663778490; cv=none; d=google.com; s=arc-20160816; b=rh7KhLGuJ/fQ/UQuap6DRc7bJ2fcTrwnvo62O7YuUeY30nHWS4TLgCXDLCPcV2A9id 2dfx/JngGeoHeo6VlnjpTwIcF+Wr5uR+IJKDHvG/VKZrFBGCvtySqHUwRyMqp7RXmEuA Z94FtciDK5Oe1aMG8I9ObOgL7cn+wHnfPH1gtXMGVrpPJ3lXqYAhRo1J3rAPSMDrBluy BuuhPoPRAEfNpBUlVmHZE4T0q1orkLdOJpoGjTmdMKb1uvWsVub79J+oig0afNyT48fr lOHyyHK+0Ji5uNKptwAl3kghMl1yUlHcW53xezK5wIi28USgg9pZk6HRxoeGnu9w+TCs C3Pg== 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=yFk4NiowU0M55Nek4lVUxeCrBnSfeSrdCz/YDeED1es=; b=EfFj+qFw/T5w03JOfeLgfXGDxPjBKhphQwodkS+Z4pSBJ6zO7iezcJvfOZ8YWDNG3C rhVq2YtBRJWEi7lUa/6XYXiw7+yj+0CP4xPMVvLPkkgZm5tA9CEwKJUPw+q6psPmW6CN k30jV3YE/ekKawf3RrkgPtANrw/5V7YewhhQSGBUpl7Jl9SmxCx4bbFzc8mKuWYQ4t2k XSurxndodft8Oy7mo9EYi928DHeQJUU3U11fWfddE5VL7uiSg68iZeEj6hRlXiBFqgEB XrjkifDbcNnUkR5uthCxh81JPA/XXsb0FrGz11qwYb5kP1qUFYQeE2Tv8gt3C6jxIgWZ 4fzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HLsUggvJ; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f14-20020a17090631ce00b00781d65b5343si2547474ejf.129.2022.09.21.09.41.04; Wed, 21 Sep 2022 09:41:30 -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=@linuxfoundation.org header.s=korg header.b=HLsUggvJ; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229899AbiIUPpP (ORCPT + 99 others); Wed, 21 Sep 2022 11:45:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbiIUPpN (ORCPT ); Wed, 21 Sep 2022 11:45:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A78D44AD62; Wed, 21 Sep 2022 08:45:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 422AA630B2; Wed, 21 Sep 2022 15:45:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BCC0C433D6; Wed, 21 Sep 2022 15:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663775111; bh=3QYR/yTtcrHpZIQrVevMrGLjGuHAXv67b3GogCBLetA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HLsUggvJkk6bMwnga7K3OG191onm40HSuoCawaY0pOzzpLVJtvKPn5/3fXC7HUYDu iqJQRxi8DgmpHUJ0Y0qD8+FeLIEoDzqEao14VPmOVFk4BgaMoWCDkcAIlcAZyI+BSy M4YIwmx5EY3sOhKnOLCxAHF8+yVQKOQ2Ck5+pcnI= Date: Wed, 21 Sep 2022 17:45:09 +0200 From: Greg KH To: Mario Limonciello Cc: Mika Westerberg , 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220921145434.21659-1-mario.limonciello@amd.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 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