From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6A5D0355F58 for ; Tue, 10 Mar 2026 19:42:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773171745; cv=none; b=ed/koIJrNtS0IIeOsz5rXZRzwUxIHhQVe+kvbNTb/Wra3JEEAKFEZ+sMqaUB8pC2tRZXfXgUCVkPHX8Tu7FoUlJLmNCOIVXgyHsehvMYv0gSQxHDfgcGQPJzyfEgo12VeS9ahoXuFNMzyySaAfXWsRxxka9uRGYu5UpIC/arUBo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773171745; c=relaxed/simple; bh=PqgCPx8NCpVmXWoCynu5qqwmj6LVIaejA73Hp5EXa/I=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=j7KY1PqfWKi9YRATTsaPqaGFUi8198VWjX165L2OLa6NWWRwdkTnIsTZrE+8z+YuMpP5uouQR9PJDX6T2dRwklFJrmMC2UKOF0Nx/Ue3Ikf6K87IigGeB9vcVmHpP7LmgU/VMizVFZppIwB4ZwUVBx/ipg0YI7/gNsZRHDEtgvY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VRuGaQCH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VRuGaQCH" Received: by smtp.kernel.org (Postfix) with ESMTPS id 17BA9C2BCAF for ; Tue, 10 Mar 2026 19:42:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773171745; bh=PqgCPx8NCpVmXWoCynu5qqwmj6LVIaejA73Hp5EXa/I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VRuGaQCHm4R90M9X2d4/OLEPdtHOa/8h70ABuHzDG5Q9MlTlAC65fIq2lQMqinlbv upfiT8NzLXm2G6GRBqKKKFGa1Vy39N3XS/CNkQuM0BvViXh/+Ifr1/hYAVOMjdDGV9 iA8J6yP/mnanqx8D+MBjNDEbk4jC91aGLQfKkgzyCuigvv+gKuiKb2ics3MjBbPJBh tOn6yElrJBsQInggqdK37DNCo7LZwhDewLJ9p3M1GEUXUw/CsdqacnUC9nYhuAdSmT RStp9O4OuHabjoAwHJ9K+7IISr28natibJ61J+i/QkOvP7bDrcdhJNv2wVDdS7llvi 7BE3AxCv1517Q== Received: by aws-us-west-2-korg-bugzilla-1.web.codeaurora.org (Postfix, from userid 48) id 12407C41614; Tue, 10 Mar 2026 19:42:25 +0000 (UTC) From: bugzilla-daemon@kernel.org To: linux-usb@vger.kernel.org Subject: [Bug 221184] mouse/keyboard (connected via hub) usb reset under system load with weak cpu Date: Tue, 10 Mar 2026 19:42:24 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo drivers_usb@kernel-bugs.kernel.org X-Bugzilla-Product: Drivers X-Bugzilla-Component: USB X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mitchell.liam@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: drivers_usb@kernel-bugs.kernel.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 https://bugzilla.kernel.org/show_bug.cgi?id=3D221184 --- Comment #34 from Liam Mitchell (mitchell.liam@gmail.com) --- (In reply to Alan Stern from comment #33) > One of Micha=C5=82 Pecio's points is that if you want to retry following a > -EPROTO error, it is necessary to reset the endpoint first by calling > usb_clear_halt() -- just like with a -EPIPE error. I think usbhid may not > do this; if it doesn't then it needs to be fixed. That doesn't match what I'm reading. In Documentation/driver-api/usb/error-codes.rst: > -EPIPE Endpoint stalled. For non-control endpoints, reset this status with > usb_clear_halt(). >From what I understand "stalled" is a device state and requires communicati= on with the device to clear. EPROTO/EILSEQ are host controller errors representing communication failure. They can't be fixed, only acknowledged and retried. Calling usb_clear_halt() for these would unnecessarily delay retry. --=20 You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.=