From nobody Sun Jan 09 01:27:40 2022 X-Original-To: dev-commits-src-branches@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 A239A193E33E; Sun, 9 Jan 2022 01:27:41 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JWfTT1sQlz3Lgv; Sun, 9 Jan 2022 01:27:41 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 20CF711B7; Sun, 9 Jan 2022 01:27:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2091RfcF001746; Sun, 9 Jan 2022 01:27:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2091RedW001745; Sun, 9 Jan 2022 01:27:40 GMT (envelope-from git) Date: Sun, 9 Jan 2022 01:27:40 GMT Message-Id: <202201090127.2091RedW001745@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Motin Subject: git: cd9fe8d81db5 - stable/13 - uart: Remove CTLFLAG_NEEDGIANT from sysctl. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mav X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: cd9fe8d81db5fd6a0ef66ea3d1f961dc94df8ce5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641691661; 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=2E2AlD84x63XCOCYpa/VcQvJTZdsFYoR+qHnukhNT9Q=; b=aUAH4NOCj/fZCx09I4ef88KEi+eZdHNQ4XHWCvPQXt5IqcAB6Bt7vjgZhB3j/cNHrQY+nE QIBOxKWDU4EaJrXrswVUzc3mARxFlGJRem13waG+j21cABap9LORso8NouLsOE4H4jnnSN EOfJK5ZGB7rwZmMzRknucqTr2vklrkMND0cs1wmcHlUQRsGFdNAkBaVd/MVt7X2nT/6wHU qEmkJjR1bgl5Og2ZubKGvQBPNiiGCB44xdXPNw4774R7X9+jCoSuGmTJh6cfGOcJxL74qk FHDBTQRlD8PcwyvUBpqEHblzHj2oaD+9hbKvnje1xW0SJmBNyJtnvgXYwOrXOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641691661; a=rsa-sha256; cv=none; b=xSfJeA+lO6fbCeqcmSjh8taRVuJ9nd+gnw8qE1ge9hjhlU9KrqbYgjnx/pnkw6OU5kqhoU 8CGuc8jCpQGBvI+R29mXDmSuxdW6z6WQyCElCrUJD+s87qct/w5ocShWmatVDDDBuFvA6U tm+EebJ4ZV+qBKO6A8RsA8Rdddv8E5rb1GkKwOhkF/es+sxcbPNaW/1AqAWOtl99rxxmeu M0XThBPHwMBivEsoHF+axzXZiX3qk9CQ5bZrL0xirZblZ6/BvAkr1amw53CCi7IUar7OyM aTyQtOVFM3bYzr8YUaqK2AFni8fUiCSED2H+2SFC+fNdzjZ73K0+saM4A9pAMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=cd9fe8d81db5fd6a0ef66ea3d1f961dc94df8ce5 commit cd9fe8d81db5fd6a0ef66ea3d1f961dc94df8ce5 Author: Alexander Motin AuthorDate: 2021-12-26 02:30:02 +0000 Commit: Alexander Motin CommitDate: 2022-01-09 01:24:01 +0000 uart: Remove CTLFLAG_NEEDGIANT from sysctl. MFC after: 2 weeks (cherry picked from commit c214c2c0049444f5ba22bc9f93546153f4a2f1d8) --- sys/dev/uart/uart_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c index 89201f3d9463..338c091d8c3d 100644 --- a/sys/dev/uart/uart_core.c +++ b/sys/dev/uart/uart_core.c @@ -209,7 +209,7 @@ uart_pps_init(struct uart_softc *sc) #endif TUNABLE_INT_FETCH("hw.uart.pps_mode", &sc->sc_pps_mode); SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(tree), OID_AUTO, "pps_mode", - CTLTYPE_INT | CTLFLAG_RWTUN | CTLFLAG_NEEDGIANT, sc, 0, + CTLTYPE_INT | CTLFLAG_RWTUN | CTLFLAG_MPSAFE, sc, 0, uart_pps_mode_sysctl, "I", "pulse mode: 0/1/2=disabled/CTS/DCD; " "add 0x10 to invert, 0x20 for narrow pulse");