From nobody Fri Dec 10 02:16:32 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 42D2B18E305A; Fri, 10 Dec 2021 02:16:33 +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 4J9Dzj01ZSz4qNG; Fri, 10 Dec 2021 02:16:33 +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 D49D9121E9; Fri, 10 Dec 2021 02:16:32 +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 1BA2GWiI034954; Fri, 10 Dec 2021 02:16:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BA2GWIv034953; Fri, 10 Dec 2021 02:16:32 GMT (envelope-from git) Date: Fri, 10 Dec 2021 02:16:32 GMT Message-Id: <202112100216.1BA2GWIv034953@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: 35efbedc9853 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 35efbedc98539fa655c3fb8df146fb6f7784df57 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639102593; 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=rGBUlkendgJ+nrYjVu/f+YSEuSBu81d/oJwmnTHiDCs=; b=PpUkXvNwZiEdX3dHgzB1ys4o9Nz1qFLBDbJQknwGlymkjPZvIv9kJ/xC8FPVxQTGaIeXtL 5wsT3Fgg/Mg0mY7t0wcE5QJzzChVl289wfflkfyUurkUw1hgepFXSMbpGidT92jdkbo1Y9 YtPTRHNIOe2BDSHuhmf1b2gWk8sQyk50dmvvSvDW3wlFO+6J9kF/AYys1Yo7vYcnU9UU+5 unsJ9eIyvhoSIICkCw1+zCsq5tX8b4+uRH04Di1ZdvwLQNPOcI3RtEqYj1kYtZlOfdLXKU TajCMOF9UNVUZjgyjUnawxoDOqtUbFqmT5XrEXQzoKKzN7zzf0OfA1qk2qtLnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639102593; a=rsa-sha256; cv=none; b=NczEM5whGw4jtoN7S7dxOAPPWWGwjlV6kLLb4fXkKyXhdsLmTRRRfaPr8jP7jzS/6UhQ3M NleLCVuSq5K8pMwdipPoeBhXAqIX4ZFtJQzeCpQd/6K9nWyW+cQ0qkH+VsfNv7Q23ePNaX XjVN4Ne9EqtSr09BfKwcIl3BeiEP7xncPOjK1Sc7XXZ2FLxIeVqn9RZIWmYqQ+j3526/u2 obihgcLBOE1O3pJ8is7rcmNTQUm05BPJx2rffMdjFS/xRoSCs/XdtjKTd8KdFWuSn1JYIL Mf2leQYUdM4ynO7Ylq8qN2sxREjZFP0l2hUoD21B1NgdXr3VzSamlsBFjpboNA== 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=35efbedc98539fa655c3fb8df146fb6f7784df57 commit 35efbedc98539fa655c3fb8df146fb6f7784df57 Author: Alexander Motin AuthorDate: 2021-12-10 02:16:16 +0000 Commit: Alexander Motin CommitDate: 2021-12-10 02:16:16 +0000 fxp: Mark sysctls with CTLFLAG_MPSAFE. MFC after: 2 weeks --- 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 6def42343804..a5cd909408d7 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -3149,11 +3149,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,