From nobody Mon Oct 14 05:40:57 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 4XRmL16Q51z5ZCdw; Mon, 14 Oct 2024 05:40:57 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRmL14Zv3z40n6; Mon, 14 Oct 2024 05:40:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728884457; 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=mlEoj2lNf5uFBGj1livGKqz33TCFuhVY7aTh79iiBKs=; b=pXyIE343t2lrN8SDOvsYgpTLr6i7OybHG4Py3aye0DwH6AShZ4EmYNFlWVRydmDDvQGR9t iNBKV5a2o6fPtn0gKosdEQf+XkHSN8f5d9isY0FYzRMz4/thkf1A/3coyptZuLaCaclw39 Q5gMiEX+maGB+hATjSek/fzt4QfBZ1IzSK0c77RQCnJiyl/UqVEJi4jcK5ZdhAAahNfpLB vClP/nxrkn4OzQXLVTZAqJjIBUOtsIyvIDJjzwYFF2iou+Qv/eYnnQHHUvFRwfIzSOmOR1 Vp8Y1xyFBswBMcb6Bx+tP20TzYS5Nci8SK1Etu/FLzBfxITPx3RCtrWadSTaKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728884457; 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=mlEoj2lNf5uFBGj1livGKqz33TCFuhVY7aTh79iiBKs=; b=ETD1TtIcX2MbPahLaVCxH5kmqJk/ePFaPdAI5aiIxHAw2kI6loU5Q8sVygxpKSCmAD1mWq XYGV+whHve4h6mg/Vlx2UyP/j3ahoh7gnLKPRpSwmNOC6Hzo6uzIL7oBNe4jY+LqVaBnbZ Af6bBTYKO2s8frQR1lI77/N1AcvPzF3oFBV/XMFbZlJWHqttEMZNq9QRIcVdS5gobnge6Q GpygFi6u//vjjZwLzQALYCSf3cUz1EIGBG8FaUJmCpE0304+8hMc31ldu/1aisCHdgSQ7e nYAHpbtfc5CYr7fySFZFXGbm9J83RDkigwHdK5UiSh0LmbByQo2cJDZmDRGTgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728884457; a=rsa-sha256; cv=none; b=TURDtgE33Z/CFQeG7rcmdwNM2OfMOAZgu+GpU9h+ntvt9+n4Tz64qW++edZja1bSP/8kPD +wScx2PE9mPgJhdeyHm5eOZKBA4z8irv0VGnVlyoR16EItapLIyE8fzSBAH20hod/WrVaD E2uTI3+Wvb/aqzkC8+UV33KYRf2jwsc4TN+2D3XV/Ulv28rpTJBnXj/8F17d99j0t5JBSa nTSmN5QF4BQbitKEjcZ+wBRv7ZQkqYBjcv0UWU+W3BeBHPSv+WTkYewSJ07NDEY4iKNZY3 bG29SPmTIwENp7rr/JNvEMxssvxw4Ldw//1rmSGEmLZhaihd3pxdI+Kbsg0Rkw== 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 4XRmL12w4ZzQgq; Mon, 14 Oct 2024 05:40:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49E5evSX089543; Mon, 14 Oct 2024 05:40:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49E5ev2k089540; Mon, 14 Oct 2024 05:40:57 GMT (envelope-from git) Date: Mon, 14 Oct 2024 05:40:57 GMT Message-Id: <202410140540.49E5ev2k089540@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: cec58bba6425 - main - ciss: Expose tunable hw.ciss.nop_message_heartbeat as 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: 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=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cec58bba6425d4b9cf19a9ede9ca0dc00c1d48e3 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=cec58bba6425d4b9cf19a9ede9ca0dc00c1d48e3 commit cec58bba6425d4b9cf19a9ede9ca0dc00c1d48e3 Author: Peter Eriksson AuthorDate: 2024-10-14 04:01:33 +0000 Commit: Warner Losh CommitDate: 2024-10-14 05:23:45 +0000 ciss: Expose tunable hw.ciss.nop_message_heartbeat as sysctl Expose the hw.ciss.nop_message_heartbeat tuneable as a sysctl and make it writeable at runtime. PR: 246279 Reviewed by: imp Tested by: Marek Zarychta Differential Revision: https://reviews.freebsd.org/D25155 --- sys/dev/ciss/ciss.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 1875c056f32d..67d74ba65526 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -271,6 +271,9 @@ SYSCTL_INT(_hw_ciss, OID_AUTO, expose_hidden_physical, CTLFLAG_RWTUN, static unsigned int ciss_nop_message_heartbeat = 0; TUNABLE_INT("hw.ciss.nop_message_heartbeat", &ciss_nop_message_heartbeat); +SYSCTL_INT(_hw_ciss, OID_AUTO, nop_message_heartbeat, CTLFLAG_RWTUN, + &ciss_nop_message_heartbeat, 0, + "nop heartbeat messages"); /* * This tunable can force a particular transport to be used: