From nobody Wed Nov 27 14:24:33 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 4Xz1st2Ljfz5fGkH; Wed, 27 Nov 2024 14:24:34 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xz1st1NQ0z4Y1x; Wed, 27 Nov 2024 14:24:34 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732717474; 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: in-reply-to:in-reply-to:references:references; bh=pFMSCjU/Oo1Mt6IZiB2rGKlGEYzpLE4xosPhAZ87+PA=; b=o7eOtSNzXyaHyat1bIOKQ3kOdSX90X3INnJcEi4fSOEApxIBLBC8E2ipGkG1chFlCOTv3P CCVeBGQPi7QD4z2tjYThCDgfj3S4unvNgv0MQGVHQuMwedYXj8U0090i3ap2D6GaubSJYR cASA5gZK5PtFRTjwgErJ1wCOtuZ1mEpU+CaEKC7oF+/HU2WkLIVPOrWUkgN+lAb5tL5S8U bev0smeTxEAhjzmJum1VRPTImweiND6khyPxioUGJukA2GqSe6EXeUml9CCilV563SNxFC AgimfZ0WXRiKJfcf7/oNRaRsX+huN25EwLADhjFkzbdJel8UgThcVdFuIgg5Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732717474; 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: in-reply-to:in-reply-to:references:references; bh=pFMSCjU/Oo1Mt6IZiB2rGKlGEYzpLE4xosPhAZ87+PA=; b=WoR+DjSBIDE6OLcCcf6pcXdGn/tJgGf5xoLG1i/EQJ7rlE55t3sh6KSBuP+2KE8JskNEGB nbNyxB6GeS2UOeBVyrtQb83XDmbJv6lBydIOx2qNCAS6tmOY2x5Zkal2sIHKbix8Yi6/PJ zIJgDmCYz08Ake0UYiCxyd3HfxfeJy4LSqgSyE1BVQafE6ojBG8CcWAQDV+JX/8bMJPiU7 wlMpWAdCsxWCUMC2Yloc3vB8xzsB7moMsHdC5b/1jEZwxRfeP37y0vP93KO88lsn5FD8EK qmGdBS0CdPdLr4LZ89IcWy6iXAT2p6/2VpulBwnk3CyiRP7rEBvxx/3kZ1wESA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732717474; a=rsa-sha256; cv=none; b=Jt1hjdLrsve3lv/Ohs/9mHPrltj6BxTduOIquJcatUEWnYqsfndSW6b4Uq1wSB6AqCjspo 2MFZHwk8+oVux7Kg9AKYzOpT6BRHEJBHYMb9du/8R8A2PQYRU8AVzRQ6zeSIsTs8b7Tv47 WzMT8Jlt1V1PMaduXqujeK1DjA6zKs+HJfA6CBhh1wBAXucHV6Caw5dwIz+2Q6uP+0TQ9a MXQiIj726pPJXDxWox/1jDNh508oRIOaS8CKQZSJ6fARt+wEKOwXtSiOJ73Xg3mZ07SQRa NQ/N69Y33j1FgHoGtAFjFHM238zYpkMXauv6h3la0HhWB5/9JZ/mMOqVNJoHVQ== Received: from ralga.knownspace (unknown [IPv6:2600:2b00:a720:d301:9f03:382a:d672:81f0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhibbits) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Xz1ss71ZQzDv8; Wed, 27 Nov 2024 14:24:33 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Date: Wed, 27 Nov 2024 09:24:33 -0500 From: Justin Hibbits To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 09ef538713e0 - main - uart: Add primitive noise filtering on RX Message-ID: <20241127092433.56704700@ralga.knownspace> In-Reply-To: <202411271417.4AREHTKe014440@gitrepo.freebsd.org> References: <202411271417.4AREHTKe014440@gitrepo.freebsd.org> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; powerpc64le-unknown-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 27 Nov 2024 14:17:29 GMT Justin Hibbits wrote: > The branch main has been updated by jhibbits: > > URL: https://cgit.FreeBSD.org/src/commit/?id=09ef538713e08a98584dbcf66ff80290cc1b41a2 > > commit 09ef538713e08a98584dbcf66ff80290cc1b41a2 > Author: Justin Hibbits > AuthorDate: 2024-11-20 17:08:26 +0000 > Commit: Justin Hibbits > CommitDate: 2024-11-27 14:17:09 +0000 > > uart: Add primitive noise filtering on RX > > A long cable attached to the UART can act as an antenna if > disconnected from the other end. This can cause noise on the receive > side, possibly as reflections from the transmit side, leading to an > interrupt storm. Filter this by adding a threshold of received > characters without TX ready, above which characters are dropped. > This is disabled by default, but has been tested with a threshold of > 1000+. A high threshold is recommended to avoid dropping characters > during, for instance, a large copy/paste from the other end. > > Sponsored by: Juniper Networks, Inc. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D47685 - Justin