From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46242D38FF9 for ; Wed, 14 Jan 2026 17:31:36 +0000 (UTC) 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:References:Cc:To:From: Subject:Message-Id:Date:Mime-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KSCAJNx5V2D3ZWnmgzXqfiGByHTdtqZjSFuQ9xAjjn8=; b=BB2oa4n4JJzehC KA5UEW60MkbHqSUiyA2DnXBTu/4BjhOu5U1RAdAs0uo+TnHu/b7gEsLCKwW3girSvRA2S7+MmMttM zeZfMlzIaiGQoPBrql0lmDtQpQwSLI9Lb9wR7j7x+nMIGz8t15lXdEWd2EFaif6GpR/DYwSJTK0rB pCK3MiGJQMQJtZTHrxwuorSjSLuVBVOF4NWkqVjzbr/ba3ozmIpmu+YQEcjO1q+n4/jY1ssuVZI0u 1u+DTq1sjAIsfLFWJe8NiUwXofE1BXeIKWdXdSeXbgEr0A0wp9kRF6ERxpUmY7mHaKTYjjxkRJyo/ dKaiqm1sbqTYYWeDLE/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vg4iR-0000000A99p-0JWO; Wed, 14 Jan 2026 17:31:31 +0000 Received: from out-171.mta0.migadu.com ([91.218.175.171]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vg4iN-0000000A98k-4AJn for linux-rockchip@lists.infradead.org; Wed, 14 Jan 2026 17:31:29 +0000 Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow-tech.com; s=key1; t=1768411885; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0YPRVG2Kt3RIzXwQiUJV9LIgvxAOvSvPHT6ORBbUlgE=; b=AaxY7tfnwX2HhjTNbqdTaSETNtcnp69xmApYFC0xRLe1aYNrAkN36g4+U1K71jPkz/mZnT 5XCGPSsZpGk6qK6lXUbZ/EPRL6GjsNdx10ERPBvdviA9nu2FPKWc4yyLCs/VVBvSbOB56f Rz9U6ZUh6HVlBVg5wN+5TYiwgJFe2Ou4ccK0yZARQ3E+DVrty8bjgmyaMOVeXWJW+WcGxK bTBr8PpUar2hX6gmqZGa+LKM0mNksI9B2A7OkD8s5IriaCnwQMQK7zhQpmPBGL08fEeDwY GjxemZpCwft0F+ZbxxFUht8HDLB/eXdiyfalUTyNlOZtIFUtWGxO7SYKfhkbug== Date: Wed, 14 Jan 2026 18:31:23 +0100 Message-Id: Subject: Re: Track down EHCI and companion errors on rk3xxx systems X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Diederik de Haas" To: "Alan Stern" Cc: "USB mailing list" , References: <073879e4-aea8-4625-bc83-c4b6dd9c9231@rowland.harvard.edu> <38365c37-b125-4ffb-8ce7-bd4f3f7596ba@rowland.harvard.edu> <91fb697a-7bfa-4e26-85cd-40810a8d2be5@rowland.harvard.edu> In-Reply-To: X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260114_093128_456125_91FF667E X-CRM114-Status: GOOD ( 12.39 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Wed Jan 14, 2026 at 5:07 PM CET, Alan Stern wrote: > However, I agree: 30 seconds is _much_ longer than it should take to > detect a newly plugged-in device. It should take less than one second. > One possibility is that something involved in waking up the EHCI host > controller from its runtime suspend may have caused the delay -- that's > why I asked you to try turning off the controller's runtime suspend. It may be completely natural, but I was surprised runtime suspend was involved at all. So I'll definitely do a test by turning it off. > Also, I'm not at all familiar with the particular hardware used by your > platform for receiving wakeup signals. It's possible that a GPIO > responsible for this wasn't working right and that's why you were > getting all those warning messages. Another reason for wanting to know > what will happen if you take suspends and wakeups out of the picture. I think GPIO is involved with wakeup signals ... sometimes at least. I added the linux-rockchip ML precisely because I (strongly) suspect there is Rockchip specific part to all this. Cheers, Diederik PS: I very much appreciate you taking the time for this 'debugging' session :-) _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-172.mta0.migadu.com (out-172.mta0.migadu.com [91.218.175.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20716307494 for ; Wed, 14 Jan 2026 17:31:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768411892; cv=none; b=BP1kQWiZ5cH5TVshBkGGjMykF95k6wIIZQAxqzH7L5pEz4bQBpymwcKek+snKCV6E+AxhGWgoStaz2m8RVBDw24pTa3E5JBjRLOKvHwSXGpzVr7GS3Ngf10AHRfl15oLqRVqeSuZ6oBexRXgDeMCGFQR+BuvW2rsk2bA/pfWIK8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768411892; c=relaxed/simple; bh=ejwhFcDiVubKmUTMYvEWonwx6kfulx8UA93XLL0QL9g=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:From:To:Cc: References:In-Reply-To; b=U8vmvrEvcme0d/iXOuXicShB+mg7TxOJ3FilasUUQzAL0wBHaXMNz7YGtJH4NPGJjoPSzBtL+ty/k44WZ5bC1xPVJiz7zNzMJq39IU1Itz8+tqmVLG01ZQixuacgT7u0sUsFHkj9Vpz19QxuugMTgOEet8+8b43MoZnLgeGiLD8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow-tech.com; spf=pass smtp.mailfrom=cknow-tech.com; dkim=pass (2048-bit key) header.d=cknow-tech.com header.i=@cknow-tech.com header.b=AaxY7tfn; arc=none smtp.client-ip=91.218.175.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow-tech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow-tech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow-tech.com header.i=@cknow-tech.com header.b="AaxY7tfn" Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow-tech.com; s=key1; t=1768411885; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0YPRVG2Kt3RIzXwQiUJV9LIgvxAOvSvPHT6ORBbUlgE=; b=AaxY7tfnwX2HhjTNbqdTaSETNtcnp69xmApYFC0xRLe1aYNrAkN36g4+U1K71jPkz/mZnT 5XCGPSsZpGk6qK6lXUbZ/EPRL6GjsNdx10ERPBvdviA9nu2FPKWc4yyLCs/VVBvSbOB56f Rz9U6ZUh6HVlBVg5wN+5TYiwgJFe2Ou4ccK0yZARQ3E+DVrty8bjgmyaMOVeXWJW+WcGxK bTBr8PpUar2hX6gmqZGa+LKM0mNksI9B2A7OkD8s5IriaCnwQMQK7zhQpmPBGL08fEeDwY GjxemZpCwft0F+ZbxxFUht8HDLB/eXdiyfalUTyNlOZtIFUtWGxO7SYKfhkbug== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 14 Jan 2026 18:31:23 +0100 Message-Id: Subject: Re: Track down EHCI and companion errors on rk3xxx systems X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Diederik de Haas" To: "Alan Stern" Cc: "USB mailing list" , References: <073879e4-aea8-4625-bc83-c4b6dd9c9231@rowland.harvard.edu> <38365c37-b125-4ffb-8ce7-bd4f3f7596ba@rowland.harvard.edu> <91fb697a-7bfa-4e26-85cd-40810a8d2be5@rowland.harvard.edu> In-Reply-To: X-Migadu-Flow: FLOW_OUT On Wed Jan 14, 2026 at 5:07 PM CET, Alan Stern wrote: > However, I agree: 30 seconds is _much_ longer than it should take to=20 > detect a newly plugged-in device. It should take less than one second. = =20 > One possibility is that something involved in waking up the EHCI host=20 > controller from its runtime suspend may have caused the delay -- that's= =20 > why I asked you to try turning off the controller's runtime suspend.=20 It may be completely natural, but I was surprised runtime suspend was involved at all. So I'll definitely do a test by turning it off. > Also, I'm not at all familiar with the particular hardware used by your= =20 > platform for receiving wakeup signals. It's possible that a GPIO=20 > responsible for this wasn't working right and that's why you were=20 > getting all those warning messages. Another reason for wanting to know= =20 > what will happen if you take suspends and wakeups out of the picture. I think GPIO is involved with wakeup signals ... sometimes at least. I added the linux-rockchip ML precisely because I (strongly) suspect there is Rockchip specific part to all this. Cheers, Diederik PS: I very much appreciate you taking the time for this 'debugging' session :-)