From nobody Fri Jun 26 15:24:08 2026 X-Original-To: dev-commits-src-main@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 4gmzwm4hwfz6jff7 for ; Fri, 26 Jun 2026 15:24: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 4gmzwm39c5z3sqv for ; Fri, 26 Jun 2026 15:24:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782487448; 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=JInJuF3RZ5iV4+C7obWVN+YZt0BVbxcUWs9xMdJWBw34IfWJmgABQw7GyYdri5KozOwlBs qMLTXEPdciZIz3yjWOkzLDLabI5xRSDXNhOHA3/GcareV7LxtZcwD+dHc0NOqT9UV4tiJK 3dbai6gTzhPW6ZX9XWk9D+tERTjsa51iDzc8EgLF6KSFoSAgxEQdHFn9fshK0nUm/UZPif veu8t5hs2WPUyKvm0S5K4JG605b4E/MqYFSE9knxvPw65b+SyUCclrG/o1/iSARHoojMGT 49d5h02C9iFAiYXO1xujC5kLT40JhlB/VrOMP4qNwNrlCBdHyYoky1/ZARfOFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782487448; a=rsa-sha256; cv=none; b=sfX2iUcG9vJEO9+lQCKK6Wz9CfG+/ZYy9MiVT9Mwik/eFqJVwTgJ1VyhU9RXazHrLOg3v6 soAKQrHfW+GzZzyjl+0N5YE06PAky08B3hDGnYHIgAYNBTa9hcUOvaTsIF88o/nwxAKG4x ypVJJlKrJh0LXvwhQ6ov5szdy62GZkGdBp0iG4FPTvpuZtTR6oDW0esVzl5kVbTGjXkFhS nufpgS1dtRUJw5YjGUnpXjfe0/r/NBvErXbQhHNkEpRT/8myOXTGNgFRytxvTk6vrRYR3q PNzUZB4AJbjENmZTR/TqsA8pRhEqS3qysStoeyMePk/kXMKFqWs8SZKM0r/Msw== 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=1782487448; 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=mZV9hhw8NvLFIPZZeoYYtw+gaJeNu4DuLv06xIiJXu1R62lc7MU9A9huK5m+wbGOezMnLW 6rVgmxy4avFnLqSL8kTRAaP3i1vXZ4+CeeTpccxtNJX5uMsM7te1jsmS6iCHMxgWkHN7m/ I6zQi/ooQ/QPoXnotGrYrR/lbSvYu6skSV6SRLcUf1XxMdJg4biesBkeekAHU22D8gA9s5 ylJT7feey3/iIWsDew7duW/N+NaJdlg2q3HHugDY6S0Fb2YSn8UwL8qwKiroUWESJvVCyM Z/wTb8T3QVJALhum2Sko2ESFTsaaT3UV0WxxqRQt7zBe81UKfde3Evl12OhikQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gmzwm1tHHzk7B for ; Fri, 26 Jun 2026 15:24:08 +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 the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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;