From nobody Fri Jun 26 15:07:25 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 4gmzYT5vrjz6jdJh for ; Fri, 26 Jun 2026 15:07:25 +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 4gmzYT4dsnz3kKT for ; Fri, 26 Jun 2026 15:07:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782486445; 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=KApHv2lCj5RG/qnEzKkZvJNwZnIbfb4LurltkD2vziSV2G3c6FrNY2dkD9pi6cF6dP2ys5 m3R0E6BdtIkIujtnixI+Zmlfn29PDDBGtZUy/PtbsPZ/f0t2Ioks0pJNp30m/rQ4ijrSMC fffA6vWtHwMMlOYLxsH7tVMc8CVr8E92nNgtsCkERyLbHQ+URqlxcQFQxw5lqr8doF34au 8468r4hsQQOYB4lA7404qWjEaYmHbHeZlhxRUxQKjf4T7XQtrF2wllwcjcQ6+hlQKO1zg+ b4UPz5bKTdEjLIn1VxKQSqtNddyVVECWMyLKngDVLM3Qqi4l+sJdf5HJJep1LQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782486445; a=rsa-sha256; cv=none; b=DJHjyg6Y53OYoSvb/D40xx1KnYbv94M5E5bF0mYaWlfV4MFlL8kMhmSm81+kF5blFjiLfx 7BgYfw/0KS4xcuQ7f6C2L+NLdNaJalBtxnpBQ2zMoWiGSCkNEIPdppuXArVsLhl2jtuBV+ L+csWwvhdJS7QI1nPcYL6cw9KN5lbNzjQE1vg4oOYxeEKmy+HBMdg2fKrrJnhpUdWKn/1I uOOybxP3zKEPWWZSYL6v7+/mw7jVO4opOfuDkLHYvPOS6xsA8xb0FwZyNM3Ea/FyH31rsC 0pgGGkcLqRIDKJ3/4NxT5mSOTjgiE4kOOXOnzHCdjk3PCS6ZTbhJpddi763z9A== 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=1782486445; 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=MDnYLSGh4SCGiZBZ1NDCVkUBMSioWNUco2HfgqCqm2V3hHjKfzHV12e0xvRUL+f8UZnwrC B4oz+jUs4OoziGMYMhYrisnneE++eTrgQHghcO/eLhzfgzm6e35FUgr4nzSmASuaG1VqiL qQm/bE/MOsP/zSx7vMdQ6ArtAT7g4noi+vfVewqwH+tRAvO9/vzgxlo/kIMw4LXLs0ztBd PI+IHfaJ7/b8y35cttjvZ4dXX5tVsSEhRdVNZfAA65Aq7Hq8XjcNaIs60kQ92vSi1/BgSv +zZRs+FqWqULpnsXuXKGw8QRpJ+/pvckAG29lMuNjGaTHibBv7GqeD7m7zLFZw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gmzYT39Vtzj7p for ; Fri, 26 Jun 2026 15:07:25 +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 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: 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;