From nobody Sat Jul 02 14:04:09 2022 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 1AB0A87B739; Sat, 2 Jul 2022 14:04:10 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LZv215rTtz3DqQ; Sat, 2 Jul 2022 14:04:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656770650; 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=4WxkIspbHPQuwpTUWmWDuZNCoo2nrB1O3cOUbGpUV3k=; b=EoWLolrna72W7zJRkLJ1rIQkpahWbv1zNcl9DwRmhO+jPy1FKzVHkNmCeagY3dd6V4PzSH WPMussMpxKG3lfwczPhH0adDmUBzvHhG1KwAsztdJsMa5jb351c6yN8UwgR15rbCShhuzx Odr5onYfpQprd4FXLjgmnJzcsp1NJkpK39HmkVxaWGF/lUMFAzZfUWZxgWh6etJkpeGcdl cNirdlOpv2CuRMNAx1TrTr4vvnZeQON9aOX8h7rwiAkFQl7nXKHNQYcVFlC6LwpqFJGOup O9WKKn/mqa9wXZioQ1foyYgKi/LQRrVpwAFzomCxrRgTdnfU5snJiMKcPPMjRA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 95DF711797; Sat, 2 Jul 2022 14:04:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 262E49aa038876; Sat, 2 Jul 2022 14:04:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 262E49n1038875; Sat, 2 Jul 2022 14:04:09 GMT (envelope-from git) Date: Sat, 2 Jul 2022 14:04:09 GMT Message-Id: <202207021404.262E49n1038875@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 26031009cf6d - main - amd64/efi: Stop falling back to hints for RSDP 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 26031009cf6d68d4dc51b462d0bc77472c610e1d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656770650; 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=4WxkIspbHPQuwpTUWmWDuZNCoo2nrB1O3cOUbGpUV3k=; b=XFkWj5Cw+12TcM7J3NbPiS7ZXND1LmIcaGWuVjfBUpJ24z+k3WJ/wSTnXC0eKm3V51wcIA SPNQfg9gdEzQTrsE6PLHhJmkyevrupoYH77Oy+FaV7l4BzvIBp6XVEzpXdms//dvhkBQ+c dYB9GLcxcrQJ4Uzxm2zjtIUY5xWWJm4gOTJoijx46FyCztVVSiRI9AJ//kUewJ23k81oSY dxkrehiFZru3RAdlr0tG0H7HyKZpPqoBISTNIVfVhCh9R8wBPUU+tdmX4y1Zt3SWFoOS4N 9/PHIVlrMuDzSAcuvFG4dE50yHONgZ5clV4I6R1H/aQdBGC5JOHNe4KunbrXyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656770650; a=rsa-sha256; cv=none; b=UGSgrkHyHHF/+O9J/Qvvb8McdB5/b9wMHOhCXWuipbD0wgUG6ZpU6b3YFvux87iB/PNT9y PiTwcUwWmZwbN8EwQeosRcOs6xv3tVQZffx8jRbQfHjRjLcwznwv3CDgkejK2PF3it22B9 VtPtTr6uPZ8vRcU6aLoTmfa2HOGrCoV1kPlstMHuXw9xHT7j5vwVSCiaG0jn/4Fp8PIJAd VT28Qki6xL+JCxqGY0gCIueduw9DCP6YoigZUciDAsoBXUotKOGJQXo0KECRhRdlvG5mcY 4/jdSUR+GENrNdZpQK4/f3tlBveP58AWe9nnJbE0KvKkm6xmiayv/BjCTZcrwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=26031009cf6d68d4dc51b462d0bc77472c610e1d commit 26031009cf6d68d4dc51b462d0bc77472c610e1d Author: Warner Losh AuthorDate: 2022-07-02 14:01:02 +0000 Commit: Warner Losh CommitDate: 2022-07-02 14:02:12 +0000 amd64/efi: Stop falling back to hints for RSDP All boot loaders for the last 6 years set acpi.rsdp in addition to the hints. This was planned for removal ~5 years ago. Belatedly remove it from here. Sponsored by: Netflix Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D35633 --- sys/x86/acpica/OsdEnvironment.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sys/x86/acpica/OsdEnvironment.c b/sys/x86/acpica/OsdEnvironment.c index c9b22f25a28a..89d240d9ac41 100644 --- a/sys/x86/acpica/OsdEnvironment.c +++ b/sys/x86/acpica/OsdEnvironment.c @@ -66,16 +66,6 @@ acpi_get_root_from_loader(void) if (TUNABLE_ULONG_FETCH("acpi.rsdp", &acpi_root)) return (acpi_root); - /* - * The hints mechanism is unreliable (it fails if anybody ever - * compiled in hints to the kernel). It has been replaced - * by the tunable method, but is used here as a fallback to - * retain maximum compatibility between old loaders and new - * kernels. It can be removed after 11.0R. - */ - if (resource_long_value("acpi", 0, "rsdp", &acpi_root) == 0) - return (acpi_root); - return (0); }