From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=83.223.78.233 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796162658; b=eXL3AuQ5nFpFxeHJ6pIuhqi/oa0ZkEpyNbt+em0z3hq3nUnLYHa0SVTEpNtulVM7Vtx0 mPrWD66EdmSEZ9+hUEIingF2/V84oLLenSQle5twIFMdka6YjR7wd4BclKwj+agglS8ke r9ossXsjbTODhSppL76S7EE0h99G3ucnGfrtvj4b/CPDlUs/Ge7Cz0bKC0m1AG8a2t3/W 5oNxzH8JBs/fls6alJar1EEFb/401fy8Gjr7+I786ptQj+/VrhuiBvwtlu+aoY84iqidX P6PsKrCKPXtcr8JfAJlIM9XMFSDuTT++aUW4n3lLaP0Rdjnmvvenh4I3t3p9heia8Uw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796162658; h=DMARC-Filter:Received:Received:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=/DqX9YPoLahGooxi6FdzH/rIHcPGNxVVuRvVVsV7ub8=; b=wUq+9Sz4E0/Kpt4dDq6qtNySut7yZOHPER7WPjCAem9gq+mn9fjkPIV3eTCR7Oj8evJd KObf1RUzkM94iOxUgD27Lzt1HkdqKSBUL7bJi4q/Tkvdfo5CKY4kEK30iWh1j+fBL4Dcq yNG1Z1U4ssA9iyCSb9Zm2JQNRqR20UzOoQSYClr3t8R0+r04gJLApFmyoPhVgGmLrB5x1 YqkBi9FLNJrqqlt750bPfuaXtaTk/VxZejaJs4BRpox56ksjMtpgRlWfIteZ/cxxd49Tn xjMbpnUroDgnrSEXr7V5CA8YcdQdkbId0dl7DWY/Bde4CLDRqLzcxbCx7FYBGJj66eg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=wunner.de; spf=pass smtp.mailfrom=wunner.de; arc=none smtp.remote-ip=83.223.78.233 Received: from mailout2.hostsharing.net (mailout2.hostsharing.net [83.223.78.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E8E5606A32A; Tue, 1 Dec 2026 22:04:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7E8E5606A32A Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wunner.de Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "*.hostsharing.net", Issuer "GlobalSign GCC R6 AlphaSSL CA 2025" (verified OK)) by mailout2.hostsharing.net (Postfix) with ESMTPS id 6F36F10EE8; Tue, 01 Dec 2026 23:04:14 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 581B56021804; Tue, 1 Dec 2026 23:04:14 +0100 (CET) Date: Tue, 1 Dec 2026 23:04:14 +0100 From: Lukas Wunner To: Marco Sousa Cc: Mario Limonciello , Mika Westerberg , linux-usb@vger.kernel.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, westeri@kernel.org, bhelgaas@google.com, rafael@kernel.org, Shyam-sundar.S-k@amd.com Subject: Re: [BUG] AMD Strix Point USB4 (1022:150a): mid-s2idle pciehp hot-add causes D3cold->D0 failure and hard hang Message-ID: References: <20261126064837.GK191152@black.igk.intel.com> <20261130063324.GG953667@black.igk.intel.com> X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Dec 01, 2026 at 10:52:45PM +0100, Marco Sousa wrote: > - At 9.615 s, GPE 0x1A (\_GPE._L1A) DID fire once (gpe1A counter = 1) > when the dock's USB2 hub woke xhci_hcd 0000:c6:00.3 (XHC3), briefly > waking 0000:00:01.1 to D0 (9.617 s) and back to D3cold (9.769 s) — > about 1 second BEFORE tb_tunnel_pci() activated 0:5 <-> 2:9 (PCI). In drivers/pci/pcie/portdrv.c, pcie_portdrv_probe() calls pm_runtime_set_autosuspend_delay() with 100, which sets the default delay to 100 msec before the port can runtime suspend. This can be changed from user space via the power/autosuspend_delay_ms knob in the PCIe port's sysfs directory. Does increasing the timeout to > 1 sec avoid the issue? Maybe it just takes longer for the tunnel to be established and the PCI adapter to see the link go up. It may be necessary to enforce a higher minimum delay in that case. Thanks, Lukas