From nobody Fri Dec 24 01:03:16 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 B1F01190AEFF; Fri, 24 Dec 2021 01:03:16 +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 4JKphh314hz58x6; Fri, 24 Dec 2021 01:03:16 +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 48B771AEC6; Fri, 24 Dec 2021 01:03:16 +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 1BO13G7C017620; Fri, 24 Dec 2021 01:03:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BO13GeJ017619; Fri, 24 Dec 2021 01:03:16 GMT (envelope-from git) Date: Fri, 24 Dec 2021 01:03:16 GMT Message-Id: <202112240103.1BO13GeJ017619@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: 951183ac836e - stable/13 - fxp: Mark sysctls with CTLFLAG_MPSAFE. 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 951183ac836ee6f64880f20d6063c045a634701c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640307796; 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=+l5XmN7Ju5dAfiAdmgR4u+cyVK9pSSMTxeL2a+OYE4I=; b=iwOusGEoVfKWQGn1VDoi2ic+TjFeEC0+d8yKICVx7zhhGFhXjAxJZSVxqlMPw0FGE38zQ0 5JHQ9iHqcywTuBCHtgx2wreGaou4m9hNy+STWOmHi7d8HIgDy8hG8aY96S+jjws9Xjc+7J kycMIYoL95BNDn1hFRedhA8Xj6gXkG+IWSAbqKMh214UmIXmEp0lK84aB+fWstZEcxg4VH Bif2gv0kcSzpSfSgDzjQcut39jDrH7Y9fVOcbB4ktQM2y7NmnNmZv5b2auAhi0LSb/YljY QMoOhQRAI/4PT65mOaHX6lrC5OBKwoIcc26fN5/6w8Q5rYnpsFABsMh4v4RIYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640307796; a=rsa-sha256; cv=none; b=nI4xlkWVHpdddcAfsW9VdiHk2rbFXe68LzgQguuUSNaT0+kfmOps8ZoJcuLUIVPAjfJTqN E/fR94AuGoVPrZn3drkM9tAouk+NeLoxxAVKz/IGvydKcAIGLU7GEHE7IRfTfO7NB8CBsO JbkQCk/2mOy7/vM9hDfxu3CZIqRlx71kKQ9KLSgrKzr3YcVuLnJpsTYcJnqk25+fAd6h/o VUzst6K/XQXHtZRfK3c6aT5Oau7YF33y5L4r/ELv8TRko9cw+oqO0ewR/mFlJDYSRb5MaP U03nl7ir4GjtsEX98EvlBnygZEX6qLF/iA7bxorYxBMkAwHCVnuYru3zo72Yog== 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=951183ac836ee6f64880f20d6063c045a634701c commit 951183ac836ee6f64880f20d6063c045a634701c Author: Alexander Motin AuthorDate: 2021-12-10 02:16:16 +0000 Commit: Alexander Motin CommitDate: 2021-12-24 01:03:09 +0000 fxp: Mark sysctls with CTLFLAG_MPSAFE. MFC after: 2 weeks (cherry picked from commit 35efbedc98539fa655c3fb8df146fb6f7784df57) --- sys/dev/fxp/if_fxp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 800a6ffdedb1..4ac94229aff0 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -3151,11 +3151,11 @@ fxp_sysctl_node(struct fxp_softc *sc) child = SYSCTL_CHILDREN(device_get_sysctl_tree(sc->dev)); SYSCTL_ADD_PROC(ctx, child, OID_AUTO, "int_delay", - CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, + CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, &sc->tunable_int_delay, 0, sysctl_hw_fxp_int_delay, "I", "FXP driver receive interrupt microcode bundling delay"); SYSCTL_ADD_PROC(ctx, child, OID_AUTO, "bundle_max", - CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, + CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, &sc->tunable_bundle_max, 0, sysctl_hw_fxp_bundle_max, "I", "FXP driver receive interrupt microcode bundle size limit"); SYSCTL_ADD_INT(ctx, child,OID_AUTO, "rnr", CTLFLAG_RD, &sc->rnr, 0,