From nobody Fri Jun 26 15:24:08 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 4gmzws5rFQz6jfhG for ; Fri, 26 Jun 2026 15:24:13 +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 4gmzws4wtzz3t4C for ; Fri, 26 Jun 2026 15:24:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782487453; 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=YtmMmMgXjfj/ngg9qvCSe74T3Xqzc6aGSOlKCXSDtpU=; b=ZWLOtYUJjTAs+HUZB7jEK9AKCvgHHgIKJbpVvg8heR4HCfunse3u7aWfOgxqa5hliWYikD XHwX92NmMkuTdD3td6OkEKz+e1YVhHEfrTKZ7zAEr2Ofy3sE9o6/TsBtGWrkxh74BccpMM FAwdADpo308QQiuks1dosjml10dn55IhWyOA0VgCZ+kQgajUeYNY87i3aYQ0x5kPgPpr0A MCx8P3PRC5dC0M3Jbx0qQlu+xVf5KKfnueAGtWyO9yYFsYK+ffmA73SYXzPn1sRushDvcE XXCjhVj8kfpjiWAoSBY01YbujYJYQku+ih8QY8Y4qVUIPq9HYxgF28ZVp1a/5A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782487453; a=rsa-sha256; cv=none; b=x/HdodxKv3+ExxREY6BpoFZnadK9PSYPdaaBMGH9GQ8BH9smejtK6N1LbhxwkUDmQu+h8r H7tw5mPPPEfZs6ooUCijPtGoIOaOFEvz9fGTjCJgWeEYta6yxmXyGFj39iOBtfaAzyswLC X5PxTiIhreeSbL0lu339OoAK9cbEqa1PFcQLDQKegaU9sHe2enCPTR9pKYso0UreibhjYu 5g9qXEGL72a/utWSfXR1eK9L/fEeNrafAAJQ8DvLwoQxrLHBJsxkvjPPGx1Do5/hnSRLh8 yRXOCVbzYSOp5Y/JIoiarrK/QSrMCjN6Vlad2umvJw4bEFc0yzC/sgwxAw+Phg== 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=1782487453; 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=YtmMmMgXjfj/ngg9qvCSe74T3Xqzc6aGSOlKCXSDtpU=; b=syCaoKReN/F7z87L64pQPm2y5YjDOqXAh31v2tnURaoBk8aIzbH17/E1YeYIdL+TBxa7D9 KzUf+7OdFk4fVfmfqJyMpPJgjEXsb+V0eZ8RGkEPEc6+6UBrZMl0/AFrZAWTpC5Op4npQO lBqg6mMtoIPvUAhrJClHMEv2AxeHHE8VLHcnjT7tSuhpQ6zMTvNf7twv7Fh1yPDthi5iIP JibOb8BJ2FHX+Mna966nJKQ73mANK5r4svcjl9IJqvoZ1AlGD5fiD6I6ita0Rk+o9usYX7 zNUbBp33Wy7kKk28uhb91+XfJTiOjPPTjISkI/EWer9LCI6e77SECxh1jiyAvQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gmzws3hvgzjQB for ; Fri, 26 Jun 2026 15:24:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 22a33 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 26 Jun 2026 15:24:08 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: 25df388574ac - main - acpi_hpet(4): Remove unused 'acpi_hpet_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/main X-Git-Reftype: branch X-Git-Commit: 25df388574ac1d295f4014825de0df1d65cbdc53 Auto-Submitted: auto-generated Date: Fri, 26 Jun 2026 15:24:08 +0000 Message-Id: <6a3e9998.22a33.5241a298@gitrepo.freebsd.org> The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=25df388574ac1d295f4014825de0df1d65cbdc53 commit 25df388574ac1d295f4014825de0df1d65cbdc53 Author: Olivier Certner AuthorDate: 2026-06-26 15:12:58 +0000 Commit: Olivier Certner CommitDate: 2026-06-26 15:23:39 +0000 acpi_hpet(4): Remove unused 'acpi_hpet_disabled' boolean Same reason as for the previous commit to acpi_cpu(4). This boolean is not used anywhere. Disabling acpi_hpet(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 --- sys/dev/acpica/acpi_hpet.c | 5 +---- sys/x86/include/init.h | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/dev/acpica/acpi_hpet.c b/sys/dev/acpica/acpi_hpet.c index 9a1abe6ca72d..43fd743fd168 100644 --- a/sys/dev/acpica/acpi_hpet.c +++ b/sys/dev/acpica/acpi_hpet.c @@ -131,9 +131,6 @@ static void hpet_test(struct hpet_softc *sc); static char *hpet_ids[] = { "PNP0103", NULL }; -/* Knob to disable acpi_hpet device */ -bool acpi_hpet_disabled = false; - static u_int hpet_get_timecount(struct timecounter *tc) { @@ -455,7 +452,7 @@ hpet_probe(device_t dev) int rv; ACPI_FUNCTION_TRACE((char *)(uintptr_t) __func__); - if (acpi_disabled("hpet") || acpi_hpet_disabled) + if (acpi_disabled("hpet")) return (ENXIO); if (acpi_get_handle(dev) != NULL) rv = ACPI_ID_PROBE(device_get_parent(dev), dev, hpet_ids, NULL); diff --git a/sys/x86/include/init.h b/sys/x86/include/init.h index 1977f4729487..42b194de26b9 100644 --- a/sys/x86/include/init.h +++ b/sys/x86/include/init.h @@ -43,9 +43,6 @@ struct init_ops { extern struct init_ops init_ops; -/* Knob to disable acpi_hpet device */ -extern bool acpi_hpet_disabled; - /* Knob to disable acpi_timer device */ extern bool acpi_timer_disabled;