From nobody Thu Jul 23 10:01:05 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 4h5RTZ1rLSz6lWLl for ; Thu, 23 Jul 2026 10:01:06 +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 4h5RTY5svsz3Wf4 for ; Thu, 23 Jul 2026 10:01:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784800865; 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=mo7SMM1DS5YHenMl99Z8vzzPQVMEYnZ7/sXAyl2B7Q8=; b=AoNTV0oAe+Pl4jPpwaB9xzMPfvU4h2TppobcQ4v4AkZBXP9cZN96BGSfGnaOBcFAY4QurS J7GbqY0AUvO+t3zEmf5tlaVxER3TODUOmT+o549anD9seNHOn2ZuVDKhTxF5/Xhy5/B0ei rejUSfj5cJ7WPSOWkCVLOmElfaQXjx+mR/XNzVhoycBS+hZPcOfQtqPHExaBhH0GMc07+8 fEad6Ts+hM/a55Q9nvHi/UqLz2ZI4UdY21rAljs42lTUtJkgHNTanF8P17jadUZn/gTpxf lf+rpF+NS2bS2b5sfTogvz35NaOytEHzLwKHR2pm/f8/idKeRUbSampEv/xdUg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1784800865; a=rsa-sha256; cv=none; b=wX8n8JPGPhBSZjSZoDvXB61pzXs0v5MeRQ8R7HGK3ivR63edcUq0go8htpllHeWRoLx86v C17FPzadOuPECLOEYm041Av+T4H5pnejFIFtngWLCQO0xCCdVjYLR0z60qG5+Nn+AyHLbq gWRPlHRcwcvwccuR+JSQBL3ja9jqnFIFmyheqsbuJQ8pR6WonELlxHbKAsgg7zKnuCfuq0 HW18oCSFCJYTaPgoTrXC2cmEmtk3xzSDRJowByU3k1IS2MOy70k43ufeVyvujLNQOeTSPC FPNxmNpmeMkwksgR2iR5cmlzOsUoYbR2yafnOGbOEXb9bnjCaEswGqHsc2VvvQ== 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=1784800865; 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=mo7SMM1DS5YHenMl99Z8vzzPQVMEYnZ7/sXAyl2B7Q8=; b=LCu3049wqOTeNu80Uy5pD1IvyOKYZBLFB1o15bo2kCVBSC1vJIVIJRsHhhFV/lSl26l9P5 WU9F8HHxbI+FQr5ZoLM4LByQqJznr4SAID230C449mu1I5BPGK62A+FCWlfO6b7T12WLLm u4Ma5116nS88vVZ9jfTAm0T+u5I1+PmImR9lkxpKbuNMrYpIYujYPB6GzhfMpimpNdo2lc JQ11IpHfMmq+14k3iPw0px04oTTNgMvsZgfHMXzthfUQh8hNah21Jo9gE6ml1E7NevmXAd 1JI4tV7va5o/8mlrcEp165ZoqAGJWWj1FE/43ZDBKtdR6U2AokmTExgjUPifqw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4h5RTY3b33z10sw for ; Thu, 23 Jul 2026 10:01:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3aec8 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 23 Jul 2026 10:01:05 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: 0841ba990d08 - stable/14 - acpi_cpu(4): Remove unused 'acpi_cpu_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: 0841ba990d0863dbc000c82bfd97daaf184b152d Auto-Submitted: auto-generated Date: Thu, 23 Jul 2026 10:01:05 +0000 Message-Id: <6a61e661.3aec8.1bc5459b@gitrepo.freebsd.org> The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=0841ba990d0863dbc000c82bfd97daaf184b152d commit 0841ba990d0863dbc000c82bfd97daaf184b152d Author: Olivier Certner AuthorDate: 2026-06-26 14:40:50 +0000 Commit: Olivier Certner CommitDate: 2026-07-23 09:59:12 +0000 acpi_cpu(4): Remove unused 'acpi_cpu_disabled' boolean It is not used anywhere. Disabling acpi_cpu(4) can be done through the regular ACPI disable mechanism (using the 'debug.acpi.disabled' tunable, see acpi_disabled()). Reviewed by: emaste, obiwac 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 Differential Revision: https://reviews.freebsd.org/D57888 (cherry picked from commit 98a77972381c6bb5ceda375fd1db7dccb3a1c89e) --- sys/dev/acpica/acpi_cpu.c | 5 +---- sys/x86/include/init.h | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c index 63e17de1ff28..1ea045c4e812 100644 --- a/sys/dev/acpica/acpi_cpu.c +++ b/sys/dev/acpica/acpi_cpu.c @@ -139,9 +139,6 @@ struct acpi_cpu_device { #define CPUDEV_DEVICE_ID "ACPI0007" -/* Knob to disable acpi_cpu devices */ -bool acpi_cpu_disabled = false; - /* Platform hardware resource information. */ static uint32_t cpu_smi_cmd; /* Value to write to SMI_CMD. */ static uint8_t cpu_cst_cnt; /* Indicate we are _CST aware. */ @@ -237,7 +234,7 @@ acpi_cpu_probe(device_t dev) ACPI_STATUS status; ACPI_OBJECT_TYPE type; - if (acpi_disabled("cpu") || acpi_cpu_disabled) + if (acpi_disabled("cpu")) return (ENXIO); type = acpi_get_type(dev); if (type != ACPI_TYPE_PROCESSOR && type != ACPI_TYPE_DEVICE) diff --git a/sys/x86/include/init.h b/sys/x86/include/init.h index 9869bc1aeff0..4a7ed02e70ee 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_cpu devices */ -extern bool acpi_cpu_disabled; - /* Knob to disable acpi_hpet device */ extern bool acpi_hpet_disabled;