From nobody Thu Jul 23 10:01:06 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 4h5RTb0wL6z6lWJJ for ; Thu, 23 Jul 2026 10:01:07 +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 4h5RTZ5SC6z3WhZ for ; Thu, 23 Jul 2026 10:01:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784800866; 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=KasyzH7z/I76gLAl/8i2KrQoU15RqoYQ8L0FVgcEx0A=; b=MC9YudqXv1OGWwYGKiEbJWHGL7/HeHu2QlDCfDeX6mCcPUHcbiq7GTRwhZ9PdKoeu2k8WX dg8PwpKT0QJZABTcpXFz5BWMjlm9woc1xrFOfkMj7EPHHu9m5xTHauLMwASWsRv77G3f8j Rdhl09H2vpvZrk0qRLeMIex957gz1i1SrHoMyYOfSnznFIuu5WgUK6cJadhody5E+AxEaG waeJ8TTEvsAMM1hEsyAueQq7i4pkg9JvgrtqhZR1ACCDS1/ef0+EqptiiHijDuxzs7IS3t ZdQSF4Br5Ddp7BWEvm/0VN2qVHQI6MiOxRk4dDdN97aHrJEiZmoYniTRbBy+2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1784800866; a=rsa-sha256; cv=none; b=bXiRVYId0nXirVC/oleloWJCk7GVVpSvwnfARpKCcBE0dyl/30A9kyNi2lBRkyZaJivL6u iuaen3IrVfjrcl5YxX9DO8Bm4JvBj2B5z3/ukvNMdw2R4qXY85TGBF44kvqpgYhogPkN/O UHKEZ4ouEZQ8m68Q9GrpMw7rcn0hKT8boZXKhVgoqR5FqPyjw4pTU0HejY0PHM0UhyJgNW IEFDp1eRU+KdZGpGuFBcVI6iaRi1LdwPHRki25mJ8Cde2iTPZgpb30woMyaHkpY9BCIxhi 1DMS+1wZqoDoYm78hpNNs+9v4lK+77T4nhGIkax06RXyGTuPj3byLg9TFwdcsw== 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=1784800866; 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=KasyzH7z/I76gLAl/8i2KrQoU15RqoYQ8L0FVgcEx0A=; b=iCDAdTVIU44KIvZtcugs40iv0IugaqfcKF3WWa8PfXDNL9S9OGErD+62PIHfJj8Zlilq0L cx8OK6GcTSh5piHulVfkg85/TxatcVqwmQZcrJSbB+1+1FFzgUAxJNjTd4rXTRmVeE23O+ WK7ci6S89KsrE19phe3OZ/jUnRx9jvxUVWnM+dgoO69Boz5TdeoqOOT9ou3tnIsiUfaFPT ZV4IyMfGwCuwZp0yaxz/swZxDrFq+sAi5BXCt9rOcCSAx59XXmUSGduK91enEfGp8LVjx4 Cp8HdoSr6AWxXlEqPWy4CyZ7GU2Px0CUTn5oyPZfL5BVL7pxOs4++a0rlOEWLQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4h5RTZ4R5Tz113R for ; Thu, 23 Jul 2026 10:01:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3cf51 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 23 Jul 2026 10:01:06 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: 34c289ede0d8 - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 34c289ede0d8cbbdce0ce64dc5cda7421cb00291 Auto-Submitted: auto-generated Date: Thu, 23 Jul 2026 10:01:06 +0000 Message-Id: <6a61e662.3cf51.36844487@gitrepo.freebsd.org> The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=34c289ede0d8cbbdce0ce64dc5cda7421cb00291 commit 34c289ede0d8cbbdce0ce64dc5cda7421cb00291 Author: Olivier Certner AuthorDate: 2026-06-26 15:12:58 +0000 Commit: Olivier Certner CommitDate: 2026-07-23 09:59:12 +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 (cherry picked from commit 25df388574ac1d295f4014825de0df1d65cbdc53) --- 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 4a7ed02e70ee..99c472ba10f5 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;