From nobody Mon Oct 14 05:40:59 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 4XRmL42hF3z5ZCsK; Mon, 14 Oct 2024 05:41:00 +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 4XRmL34ZQnz4113; Mon, 14 Oct 2024 05:40:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728884459; 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=c1wUS1+iejGrNqwWV/Y2OiyhTJH0zICCgZoIS2TH77w=; b=GM3Q2xKyNZeYYwmKDQFGzkzp9VkVT6Eh105yA9Lyr/dAhozP8dobYUvnLYbWTfDlvRVo0m JumM/F+KciHIT2/g1TzTno6VHdZ8nS3/9cdfq0ARgo4iimByF88OB1jbTlmvbkk0k+B5oA rLuyEyo1GlrlKFsfu+aFr/vikpJSveJPjpIIM/7/lwYMu1IDzuOpDP0ZEPp9iBBVsT9uYX jY2pCWyt4TdyfewuFI8V0UgcaT6gbL1GfKpDI2eJGN84WVvLJkhM37kBEqrTkLlNpcco53 9PbEi95nrlPLEUX1ZXV/V5XiiwrFSmrJP5XPQpnlZSuhlUf2dLQ7x/J3ZAjIWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728884459; 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=c1wUS1+iejGrNqwWV/Y2OiyhTJH0zICCgZoIS2TH77w=; b=IqZafpK02h4IxrpXwmWuzRJ4y+haQlwrcMMqAXT1NptVhSsaxK/qEaTx7Z+Xy6Z6iI9T3N I9L24J2U8nJAO8O3f44uqud7NzDguXjST/WZ1uLryO2iZg0GDg5LPF7wQM2J1atQFpxRp9 TnJSQ7M6b7DWXBiWZG7ahx5/ZTVUAayP/CKWiMNMkDapFZabA0rLKsXiqP1/5tszAPBqAP bPEj7on+QyZ3+I8lPiwH3IyQct7nzGLo1ygQj3buG+Rra2IKRonp9HySALClrIqr0bq6Z0 ZRyOeMsG9zxw8Pyk2/CAl0DXm6pWqCIMH0TzVSRLeyVDfp7L0ZFqNf8wYdgPng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728884459; a=rsa-sha256; cv=none; b=aOWOaz60O7J0MDfocoMMzT1IFL/373bOr+tDmrZ2sK2TgZZs+OhMMfiRAwUMQFhAlQxBJL aYXfS/eP2dOCe0Po+Cb4odFQF3vwkg0behdvvL2NbIqKvK8GGfni8HXGOenEXuPdMOl4Ds Pxik7YFGYJub8+I8AY+5x+l87WlSWJ6ytn/opcm8FIlGZ1qc/R6UHzLUEfjUtZ+79wtvkj IADH+iNhRjGVGkoJkrjXaDwMYd28J+7s2cm2DeH4aK+lakegSYFgv8FNrT3J+JleuVnwnu ral1+5OhEhaQv2TNAYauFXkElLDUtdF6ZlFNF89sOy1MFy87ZbZkuDfjEUinwQ== 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 4XRmL348xpzQfq; Mon, 14 Oct 2024 05:40:59 +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 49E5exxT089642; Mon, 14 Oct 2024 05:40:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49E5exaR089639; Mon, 14 Oct 2024 05:40:59 GMT (envelope-from git) Date: Mon, 14 Oct 2024 05:40:59 GMT Message-Id: <202410140540.49E5exaR089639@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: 7c74337e2c3d - main - ciss: Expose tunable hw.ciss.force_interrupt 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: 7c74337e2c3d2269d1559f4e5541c0a3f402d814 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=7c74337e2c3d2269d1559f4e5541c0a3f402d814 commit 7c74337e2c3d2269d1559f4e5541c0a3f402d814 Author: Peter Eriksson AuthorDate: 2024-10-14 04:01:33 +0000 Commit: Warner Losh CommitDate: 2024-10-14 05:24:06 +0000 ciss: Expose tunable hw.ciss.force_interrupt as sysctl Expose the hw.ciss.force_interrupt 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 61f8611e62ec..bb33ad17306f 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -295,6 +295,9 @@ SYSCTL_INT(_hw_ciss, OID_AUTO, force_transport, CTLFLAG_RDTUN, */ static int ciss_force_interrupt = 0; TUNABLE_INT("hw.ciss.force_interrupt", &ciss_force_interrupt); +SYSCTL_INT(_hw_ciss, OID_AUTO, force_interrupt, CTLFLAG_RDTUN, + &ciss_force_interrupt, 0, + "use default (0), force INTx (1) or force MSIx(2) interrupts"); /************************************************************************ * CISS adapters amazingly don't have a defined programming interface