From nobody Fri Sep 06 18:35:10 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X0lJv0xGwz5VSCH; Fri, 06 Sep 2024 18:35:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0lJv0D89z4VWD; Fri, 6 Sep 2024 18:35:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725647711; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iARwZMnzN5Wnsy+XbehcUFod9Ctt/VZqdAUIHY/Nf+U=; b=SsT7aGYYk1lnJGNokoIVdki7VXvLfbSvd+LhECo8TYjNi1Hxxps39nvRHOh3EaLilsTD/y qSCamx1k92ZEeJWNGglvh0E92lxzTStD43Rw0acckUhRtJ+XRtsbPH1cK1/6thKKOPRBd/ LhLeoBXXJ4tpIPalucBB1FYAioCoI1QjLsPWfiYodh8qLF4Ia+4dJ8UHbP5NsCV00nojtI 8SUzMlNlOYk2VNsmPtuwX2Ac2dq6/G3AKTx6IgkMlbnvzjlGLAGHC3YIqJuii5YG3j0p3u FBL5IcOVRsH3vrVQfWLGZgwnvr6+pe+WD4+IhV4ucif6U9hjxS6w7SjhfxSBFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725647711; a=rsa-sha256; cv=none; b=jZOj7J7v2A8D5N5uFr1qD1Dura77yXlR7qMrMRVvs1K6EKG6dBlZ3mB4H8weNzbOrzSYqM JVv6Qb3TlJ4+IuvnRQ58Ysv+iV8WHonFzSpNIvhVecLI6muroia49R5DqiA/BlRSwwhctj F1v2+Ar0LpTrXmCwGhpDYwtMAH3SoiQkRXVKu0Hvv3/xY4vPTb2Vt78687lKFAy7Nola+j TXR/OqlkdcrF5GPCZfI/nIPlUTLAjhgc5t9XyBFVBzMblpLEALuAZvKgOrx8NDTB2Vr18j rSS3IYmFMrXzEfffyF/Fq1KzlPXi8ctFdctfsfjzKcrJm+MMsAxukcKNBW1rHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725647711; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iARwZMnzN5Wnsy+XbehcUFod9Ctt/VZqdAUIHY/Nf+U=; b=t/JCASKwgSjSzEt6LQCUAG1sQST75qICZFeCCnPc4QHja6QngYw1EZmMC23FMsZ/Ca55vr KkoP2VmbcFppjdxlw0fbiGt2kNdVui8/KHbSRXZ2IWN//IHKLUV0bpVeQeAw6IluFPhLgp 6q27m6zcYei7Wl0nkLw71NdWRHtF4fNydLA+fsVls7wRUSS5NLoRFuN2DflQVsk3sDwWOO HK5/qcD6PuLKs6DxTWmV4cOu/hpyLXptC/kVBczwCH4BkDpl/uL6Gnlm51pLbpir9dKr+z pE+QBjR9Ud4HIgKdctOpTlhW79VU0WvPbfc9e3NX7zG5TytnvSPm+ZiNeCzl0w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X0lJt6xXtz12r3; Fri, 6 Sep 2024 18:35:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 486IZAdd010585; Fri, 6 Sep 2024 18:35:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 486IZAKU010582; Fri, 6 Sep 2024 18:35:10 GMT (envelope-from git) Date: Fri, 6 Sep 2024 18:35:10 GMT Message-Id: <202409061835.486IZAKU010582@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: e152944f1a16 - main - usb: increase USB_PORT_RESET_RECOVERY List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e152944f1a16a4ff33b4e20b813ce4a54b884b90 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=e152944f1a16a4ff33b4e20b813ce4a54b884b90 commit e152944f1a16a4ff33b4e20b813ce4a54b884b90 Author: Ahmad Khalifa AuthorDate: 2024-07-16 17:38:12 +0000 Commit: Warner Losh CommitDate: 2024-09-06 18:34:30 +0000 usb: increase USB_PORT_RESET_RECOVERY 10ms seems to be too strict for some configurations, so increase to 20ms. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1327 --- sys/dev/usb/usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index 3d00cda27d18..a6c3c8030c73 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -114,7 +114,7 @@ MALLOC_DECLARE(M_USBDEV); /* Allow for marginal and non-conforming devices. */ #define USB_PORT_RESET_DELAY 50 /* ms */ #define USB_PORT_ROOT_RESET_DELAY 200 /* ms */ -#define USB_PORT_RESET_RECOVERY 10 /* ms */ +#define USB_PORT_RESET_RECOVERY 20 /* ms */ #define USB_PORT_POWERUP_DELAY 300 /* ms */ #define USB_PORT_RESUME_DELAY (20*2) /* ms */ #define USB_SET_ADDRESS_SETTLE 10 /* ms */