From nobody Fri Jun 26 15:07:25 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 4gmzYb033tz6jdK5 for ; Fri, 26 Jun 2026 15:07:31 +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 4gmzYZ6BTZz3k72 for ; Fri, 26 Jun 2026 15:07:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782486450; 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=5gEXmGAm5bPDA4jhUr1ydkOGcyJHIzYMtzhcuigJCBk=; b=E9EuCLICeLtF+8QpoKFrDMiH7RBEto6f7AV5rAafL3HmTBHq/CUBV+ZiuKOxeIK09iVITj 7vIxd5Uqo+c3XTNZsErjD44QewgbWxuYD7mJ3T7wtnvoNMggrjwZD0pkl7IYJlXGNbcnbZ WGPf4cneYkq7Llx0L1g50M2QU5OqFq1N4zDbf6QVJtgGwxgr34ZwZIvAXKcg+xjVKtQd+U UmU9Fe2VtoxzHrI7Eixhu6lMzB9+1CmHfeMxmWZ3ghUpbFnwDgRFqkwk3Yqf3Xs1wFDVZ9 1hcfR2VRnZ0mr7OMlBLsprOpg202i1HVVVX+5RAOp63MV98PxbHERfU6MVJWOA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782486450; a=rsa-sha256; cv=none; b=SNrO3uB0B/NGJCWxUEH8Px87/bvwbuh6Tm6u0fSVFu5drKMRfFjmZWzj2QxvnnVNTn6agU W8XYAFLDkLNYrIsyoH7PxnUsTEqJND8fa/Le3rCQlfPrLSC+jOf2wjxWk75W5mqCH4iiCS 1EmdG8j9///YFf8RFypIAHjbecx/GdZHzahVwJLAJAkLNlpxEw4fNcBMPsARL+yJVdkR6x RDABZp99+YvXqwa28Ecs61rH9SjtZnnx4fqiAqAgPU3l9e0XNumCZrygZN4S+j7pMBfaCJ u5bHjAyS6Z2ozEGWSy9pfSxM/HdRnnAgrTxzP7FB5lEt7MSws1CjlUjSgLoASw== 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=1782486450; 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=5gEXmGAm5bPDA4jhUr1ydkOGcyJHIzYMtzhcuigJCBk=; b=QPC7KJITmzvhdBZ7JkemOPyBkzcXO0PyQ88gM9AXkAv4fc0yU5qFlJvho+Sk85j6QXEFV0 mSd5cTGq3P/OKvCoC4aQi8r/q3MVbu15pCljY3Wp0X+9gI+sorL+BV9lXDXSdw7+3mnS1k EJOUS+ObcZO+uZ7/Z4GdOSWC6Vp4886iWRR9msaL3syi3jPui9112J56D0WvsG7VfYb/jv sSodxPeGxTk1iEZI5DP9scNK32FgjTGcH7qgHAlM/wMJodomzjJHAPbaWOiF0/KbiCtC8e qtUnXYJm7aHyWZrO3z036yOVjU1HekGeLDDzRweXCpzcvzJBb7YyHi1TfEYtLw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gmzYZ59lXzj4N for ; Fri, 26 Jun 2026 15:07:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1f97f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 26 Jun 2026 15:07:25 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: 98a77972381c - main - 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/main X-Git-Reftype: branch X-Git-Commit: 98a77972381c6bb5ceda375fd1db7dccb3a1c89e Auto-Submitted: auto-generated Date: Fri, 26 Jun 2026 15:07:25 +0000 Message-Id: <6a3e95ad.1f97f.5a998cc5@gitrepo.freebsd.org> The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=98a77972381c6bb5ceda375fd1db7dccb3a1c89e commit 98a77972381c6bb5ceda375fd1db7dccb3a1c89e Author: Olivier Certner AuthorDate: 2026-06-26 14:40:50 +0000 Commit: Olivier Certner CommitDate: 2026-06-26 15:06:54 +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 --- 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 6eb364db276b..d2358f7077e5 100644 --- a/sys/dev/acpica/acpi_cpu.c +++ b/sys/dev/acpica/acpi_cpu.c @@ -140,9 +140,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. */ @@ -239,7 +236,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 f8979ca74d7f..1977f4729487 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;