From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 34280606A338 for ; Tue, 1 Dec 2026 07:45:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Filik7DM; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=gp0QnyMR DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=zHCSO7WBDKfXu1ala4LiCOu+7L7IxONOdpSWjHCo0zU=; b=Filik7DMcgAjbnVaNJqmzi+22j BQL/PqcT6KjlTmrTF6Ajm7XV5ahBwPfFbFebZ4WDEeuZRw8scgf4kIxUkN+iXHrjaiMNN+WU+vTWr 0ieTZmeqf4pzl4MRMYIjrqQ1le8MRReA+LM5d1z2gK/s4hdfVlfKqR5XTqW0Fh2V42hhNUlZ4Asfp nLpOL+sefE3w7as115Kd2B+JqRRq5Pd37A9WKRNgQeAgoALp6uFrN855aIExnJXrv0uToAawOCuSt /zTmx5eTnGB/KAl0GmHfaswTEbNQuApfDU+TanGDXD8p5rb3gJIkPFOLeiE3tLaFTsteMauv6dgJY AsNvWRXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYIXs-00000006vs6-3olR; Tue, 01 Dec 2026 07:45:00 +0000 Received: from mgamail.intel.com ([198.175.65.9]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYIXp-00000006vrX-3015 for linux-phy@lists.infradead.org; Tue, 01 Dec 2026 07:44:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796111098; x=1827647098; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=YLI6d+NWq7NfXylzl23Nph9QRomyig9OufGOy45uX2M=; b=gp0QnyMRsrLJ6O+RnL8+svY5nr3XC4QtjLysuU0/xfoMO4q2JlsdUAx+ bmxUO3RBOCuXA90owMgwAUlGIQhJblYtlSa70Mxaq8xdk8DOnej5feXXq e9gHnW68xusfG4loEMJWzMY94c/RLU+aHv7Shqw70pIrn9dJPMl2rQjpb X1yirShZGyhAsm1Fk5rFxLrY3OfC/Pa5vwRFB2W6SV/BHkcaXRLDlnX+p C1YWPUmrvOPcxDHtPEjzoQZaMD0xpNQeQxUEnDXZ/WkqOs884EcO/sEsf kql7I0C/9fpCtBOaMb882+MYRPMYMsmwk0JOupfq97ohMIev9Ku/rpJbF Q==; X-CSE-ConnectionGUID: WXuXvHyUS4av7cVln+ky+Q== X-CSE-MsgGUID: u+QyvOegRGC5tTXYI4GMzw== X-IronPort-AV: E=McAfee;i="6800,10657,11982"; a="4878930" X-IronPort-AV: E=Sophos;i="6.27,244,1787036400"; d="scan'208";a="4878930" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 23:44:57 -0800 X-CSE-ConnectionGUID: uQ2o4OXrS5KpsX1IF7Lk/Q== X-CSE-MsgGUID: wCitiaM2Td++yOINfoNXZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,244,1787036400"; d="scan'208";a="13466161" Received: from black.igk.intel.com ([10.91.253.5]) by fmviesa006.fm.intel.com with ESMTP; 30 Nov 2026 23:44:52 -0800 Received: by black.igk.intel.com (Postfix, from userid 1001) id 5B11898; Tue, 01 Dec 2026 08:44:51 +0100 (CET) Date: Tue, 1 Dec 2026 08:44:51 +0100 From: Mika Westerberg To: Konrad Dybcio Cc: Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Stephen Boyd , Brian Masney , Jerome Brunet , Andreas Noever , Mika Westerberg , Yehezkel Bernat , Mario Limonciello , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-clk@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, usb4-upstream@oss.qualcomm.com Subject: Re: [PATCH RFC DNM 09/15] thunderbolt: nhi: Resume the domain if the NHI suspend op fails Message-ID: <20261201074451.GT953667@black.igk.intel.com> References: <20261124-topic-next-20261116-fsm-mvp-v1-0-a9b45c69cd38@oss.qualcomm.com> <20261124-topic-next-20261116-fsm-mvp-v1-9-a9b45c69cd38@oss.qualcomm.com> X-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20261124-topic-next-20261116-fsm-mvp-v1-9-a9b45c69cd38@oss.qualcomm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261130_234457_809873_0A80C72D X-CRM114-Status: GOOD ( 13.03 ) X-Spam-Score: -4.2 (----) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi, On Tue, Nov 24, 2026 at 09:01:38PM +0100, Konrad Dybcio wrote: > nhi_suspend_noirq() and nhi_runtime_suspend() suspend the domain first > and then call the NHI specific suspend op. If that op fails, the error > is returned with the domain still suspended. The control channel is > stopped and the switches are marked as suspended, but the PM core routers Note once the domain sleep is started, there is no way going back until it enters sleep. > treats the device as active: it does not call resume_noirq for a device > whose suspend_noirq failed, nor runtime_resume after a failed > runtime_suspend. Nothing ever resumes the domain. Hotplug and config > space accesses stop working, and the next runtime suspend attempt > suspends an already suspended domain. > > This happens on Qualcomm USB4 routers whenever the router firmware does > not acknowledge the sleep request in time. The op then returns -EBUSY > with the router still up. Is there a reason why the firmware does not ack it in time? -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy