From nobody Sun Dec 26 02:30:45 2021 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 7BE0E1904BAE; Sun, 26 Dec 2021 02:30:46 +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 4JM4Xk1XBzz4VRN; Sun, 26 Dec 2021 02:30:46 +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 1537C22353; Sun, 26 Dec 2021 02:30:46 +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 1BQ2UjBs075519; Sun, 26 Dec 2021 02:30:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BQ2Ujcw075518; Sun, 26 Dec 2021 02:30:45 GMT (envelope-from git) Date: Sun, 26 Dec 2021 02:30:45 GMT Message-Id: <202112260230.1BQ2Ujcw075518@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Motin Subject: git: c214c2c00494 - main - uart: Remove CTLFLAG_NEEDGIANT from sysctl. 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: c214c2c0049444f5ba22bc9f93546153f4a2f1d8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640485846; 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=TR4sra1aWMlH1MMYv+TNuT1CtgPxPEGxE8qnFLEUaCk=; b=I+9xpTryIZaR+PTPFYewcqZlS74YK2l3IvYNYhqO/NEydUufibwOjsxw9gYhGrV7pui6La mpTPb5hi3ciFxIh8zskOoQ6dLmIYVadS3J5Vy3xabIOeifgS9au5U+eqEFiEw8+PetEUD9 Wk6sUSUshMfzEk4C52DKubO2QMNqoyp7IJzzpkB/A+AUqWpDpa1XxYNd5vkUgWAxKubOHd Ujn+ql8YjNt82gt+p18e5AKC58tpiJze8e7ug2u3N3wVcJW2t2VRf5fUo37BCGj9K7YQzc 3uhTGXrAaPBtmlfvSeIMgzkx0zB8jcdw0L198jUWKaYM5FOfDVE6EOVvk/tSIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640485846; a=rsa-sha256; cv=none; b=pkEhePTtwVR0AYcWy1cBgI/GCnhmrJ8tHD8CMQAXIY29oPwSG80hqOx77Vqwagx13Y7oF/ V+gURVBwp84497otYT+C6NrLQ+p8/QTXT8lrMdf+daojaWhvipk6GUs4SNBZosTZGbnGci crNZBIuGq61MdQd0lhQDcK35yfHq7LRu6yd7cbjf3v4i1kU6jEu73IaJ7yHCXkhP+U3Sa5 NgWfdpR9OcZ+/kmRine3s7rdXU5PeyX3Hi00XdxfvrSyDKKlJgGk06Fb9XqyvOsnKtgfn1 hA+ebWssx3rsbtx0wCq2umLJv6FavP1xRbiIoWAhxqzV8OiLtpEsGtqIjyTB8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=c214c2c0049444f5ba22bc9f93546153f4a2f1d8 commit c214c2c0049444f5ba22bc9f93546153f4a2f1d8 Author: Alexander Motin AuthorDate: 2021-12-26 02:30:02 +0000 Commit: Alexander Motin CommitDate: 2021-12-26 02:30:02 +0000 uart: Remove CTLFLAG_NEEDGIANT from sysctl. MFC after: 2 weeks --- 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");