From nobody Thu Jul 23 10:01:07 2026 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 4h5RTc3XD3z6lWGY for ; Thu, 23 Jul 2026 10:01:08 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h5RTb63Yhz3Wkl for ; Thu, 23 Jul 2026 10:01:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784800868; 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=luYSfZ9/ZMnlh6Uqa+r9T+hmO2MiIAbWbDYLU4AuOZs=; b=L9rI5qwI2WbYmBvUapAzr1QOEO3EI2h2KRzibXTIAN3MirLleXltToqH/4YZD8p12E1VCG V2jYH4NQJ+mWaQ+HAVxW+aZTLCi7sbubXA1ZMuv3lD9cc56zOyRxieJpbZicMXZKcVSckB /jjuRZvX8X2BPyBO9UTcZdz8ErTi5ILZw+RRPdd9yCOcH8a0zJCWMfVjY5MKMgNZZOY0VG 81BKs6Zsu4vCjumpCoSsqbz2XLLiellS83tAw9+ZQRXGK+X9bqK3tkL5elK9JZYVwv0Kie dB8xdAbGLgVq0ick3lHdXWzCM3ce4s+NaqOlNicxo5lEGTBGG16Owlbr0mtT7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1784800868; a=rsa-sha256; cv=none; b=l7GxII5wWQumUrJqcJSfOtAepoUqrMOsstcrd/qiBKOvOPIVs8FWJiSvvO8yVkiW3kPoXN ZSJF4SgLtZYl/ZFCy0mBi+9iaw4YwoMcvCdN9Mim9W/4oNY5QRZELUWRiGWPpS5N9Akh4X LzPyrceHA79u3YUaqdglqLe5xiBG0yZJkJWjgCgz57HPdznP40dDG99dNhadG2KYASnRrN 8EVrAdyg6No1LiCrjLGF1Xeh9jX9OWOZqC96LuCUthLGl+5bHJHUPzMCKwHLNm6c85sV+n ZlJ6vvLFtzB3S7SLt25fBrUiFvEGiu+y8qthyAwsHL/s3d9sAMJ14sTPnpk+Qw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784800868; 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=luYSfZ9/ZMnlh6Uqa+r9T+hmO2MiIAbWbDYLU4AuOZs=; b=HpGcR4GmfBzDNPTUjj+1Q0VgXZNZvjP1Ckf30UVTQRdUpjCDHgN6zZl8iSWPw+ievRCiE5 DE3a2ISrntMJth8SJIOegasz3xl51PXzyilm+XVQN1UtsO56GpZ0qQ9HYmoyrQrOBLokgb NkOINyBSx3bo8GXMYdkI0QzBakJqIHAXDMVKNjXOOPN1OyJi6i5B6L7kpbO0HLpvTxMHlb oVGv+53arfAB7PiGC/kO02//AjOAeXHikvK/CixhekJklAYgp7gUk3GJPdoygFm69naU1r e0cMhx8j9ASaay447jyuc9kn/Z1Q67B3XVi2h7Kh8Eg3aGaPD24BSgKGBfxxSg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4h5RTb542Lz10sy for ; Thu, 23 Jul 2026 10:01:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3d39e by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 23 Jul 2026 10:01:07 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: cd289575964e - stable/14 - acpi_timer(4): Remove unused 'acpi_timer_disabled' boolean 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olce X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: cd289575964eb3b358399ec820ead3a48403465a Auto-Submitted: auto-generated Date: Thu, 23 Jul 2026 10:01:07 +0000 Message-Id: <6a61e663.3d39e.6972e3c@gitrepo.freebsd.org> The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=cd289575964eb3b358399ec820ead3a48403465a commit cd289575964eb3b358399ec820ead3a48403465a Author: Olivier Certner AuthorDate: 2026-06-26 15:21:41 +0000 Commit: Olivier Certner CommitDate: 2026-07-23 09:59:13 +0000 acpi_timer(4): Remove unused 'acpi_timer_disabled' boolean Same reason as for the previous commit to acpi_cpu(4). This boolean is not used anywhere. Disabling acpi_timer(4) can be done through the regular ACPI disable mechanism (using the 'debug.acpi.disabled' tunable, see acpi_disabled()). Reviewed by: emaste (implicit) Fixes: ac3ede5371af ("x86/xen: remove PVHv1 code") MFC after: 3 days Event: Halifax Hackathon 202606 Location: Dalhousie CS Faculty building Sponsored by: The FreeBSD Foundation (cherry picked from commit ad26a56cf2f55967cc73d04a6ea17c27892d3141) --- sys/dev/acpica/acpi_timer.c | 6 +----- sys/x86/include/init.h | 3 --- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c index 8f7fabfe19e2..01fab0aa69eb 100644 --- a/sys/dev/acpica/acpi_timer.c +++ b/sys/dev/acpica/acpi_timer.c @@ -63,9 +63,6 @@ static eventhandler_tag acpi_timer_eh; static u_int acpi_timer_frequency = 14318182 / 4; -/* Knob to disable acpi_timer device */ -bool acpi_timer_disabled = false; - static void acpi_timer_identify(driver_t *driver, device_t parent); static int acpi_timer_probe(device_t dev); static int acpi_timer_attach(device_t dev); @@ -127,8 +124,7 @@ acpi_timer_identify(driver_t *driver, device_t parent) ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__); if (acpi_disabled("timer") || (acpi_quirks & ACPI_Q_TIMER) || - acpi_timer_dev || acpi_timer_disabled || - AcpiGbl_FADT.PmTimerLength == 0) + acpi_timer_dev || AcpiGbl_FADT.PmTimerLength == 0) return_VOID; if ((dev = BUS_ADD_CHILD(parent, 2, "acpi_timer", 0)) == NULL) { diff --git a/sys/x86/include/init.h b/sys/x86/include/init.h index 99c472ba10f5..c92e7e0995d5 100644 --- a/sys/x86/include/init.h +++ b/sys/x86/include/init.h @@ -43,7 +43,4 @@ struct init_ops { extern struct init_ops init_ops; -/* Knob to disable acpi_timer device */ -extern bool acpi_timer_disabled; - #endif /* __X86_INIT_H__ */