From nobody Sat Jun 20 14:17:22 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 4gjGkV2HzNz6jdV1 for ; Sat, 20 Jun 2026 14:17:22 +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 4gjGkV1fQcz40gg for ; Sat, 20 Jun 2026 14:17:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781965042; 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=PPUWGtzzF4cyM90aYWAo5p9St/vuwtmrKlRvwbf+Mnk=; b=J6MRIcTF8WIPuTDU/AGGXh6eu/g7Af53GT96LrK320QvrbPd/6qEYMYM/XyWpQ+aWdVa2T jYW1Y+SpNXZn5EDqN0PGkY+fIfSrxaeAha2Fw/BANsShWQclFlgCOo3zM0xWZAGsybfTIu QU7SUrN1sQri6V7vndFbEguo+pyDdfuUFDTLfPIGwHaFPnbAGEpv+jqIVKTcVsihWidn4m YZX70kzVyxc9v4lyB+Hs4F8sFwda3PjRQ5gwgLa5k9N1UB6xKGCYLi21BkzeKGogqMekp/ MYyGEUPiTruDJrSkhB2JsWD2jMeY5gE+n+mhksTO3+zGz+SNHCecuJ+NQET2hA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781965042; a=rsa-sha256; cv=none; b=uQjVKkmiiABN64B0zrsK+2GjRvoBfvSLXqSF0quRXqFL6u3FcCOUtPeG8y1VyMgad+55xE 70u5Ld0SDlyjatajW9jdbVUMlHzEY89qDqyfF3gYaG3UwAMOaOObIFDq5BDs36e47XNLWa HB4I/0Q1DsUmJNJYT724M5NN/3nuxax3XCacBaL3hvxyvJVTjuJ45oedUHwk43GIDiq0MW sv/okeRzu9l8KJ48WxIQiUwIq2RZDvoaX5e1fJf7jCTfmiJtVVnffSix196HBC66ASoswT rbAmmBbqFoA2NwZNiCqwRRVxn54KaCWipfbpH2iVg29rDejIGUGie2OcdmHSWQ== 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=1781965042; 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=PPUWGtzzF4cyM90aYWAo5p9St/vuwtmrKlRvwbf+Mnk=; b=Swdbm1QolxKg6+g5rYvJQNPeTfYtS0FhN4dOMa4jiLSJOsNW4nOmjfhi8jHcicDBVl1C01 YDcx2ftOQBEcdNk2vFRio65FtQjRcnGDNpTAsak4XpjWiX6xIYwiE3QoDFp7P6zODytxU+ ruRDBcymamowfrQ9n6DT4YVuWiZi5kuWfsJnLoZ6juqbzCKK9esHLg6Pyf7eooRtHVTUWW DAg0eQb9vFT19tvq7Es9gxqUTaswLeghqZjYA80GSSKtoEJ6OraeFJvplgWKHSMxbyKIZT uG/2rhvyu6661LrGAKOyWoGSYG3DZXb5/pF+KzfaJyczy68EjsEbjRRog0bKOA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gjGkV0TjdzZcP for ; Sat, 20 Jun 2026 14:17:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3bfca by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 20 Jun 2026 14:17:22 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 43fb5b33b00f - main - efirt(9): in verbose mode, announce the attachment and fw spec version 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 43fb5b33b00f3b66ec03ab3e0ea002afd16cb7b3 Auto-Submitted: auto-generated Date: Sat, 20 Jun 2026 14:17:22 +0000 Message-Id: <6a36a0f2.3bfca.5f3f5527@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=43fb5b33b00f3b66ec03ab3e0ea002afd16cb7b3 commit 43fb5b33b00f3b66ec03ab3e0ea002afd16cb7b3 Author: Konstantin Belousov AuthorDate: 2026-06-20 13:52:09 +0000 Commit: Konstantin Belousov CommitDate: 2026-06-20 14:17:07 +0000 efirt(9): in verbose mode, announce the attachment and fw spec version Reviewed by: emaste, imp Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D57710 --- sys/dev/efidev/efirt.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sys/dev/efidev/efirt.c b/sys/dev/efidev/efirt.c index c3ac120c6611..2e9a917de1f0 100644 --- a/sys/dev/efidev/efirt.c +++ b/sys/dev/efidev/efirt.c @@ -234,6 +234,8 @@ efi_init(void) return (ENXIO); } + rtdm = efi_phys_to_kva((uintptr_t)efi_runtime); + #if defined(__aarch64__) || defined(__amd64__) /* * Some UEFI implementations have multiple implementations of the @@ -243,7 +245,6 @@ efi_init(void) * with an old loader.efi, check if the RS->GetTime function is within * the EFI map, and fail to attach if not. */ - rtdm = efi_phys_to_kva((uintptr_t)efi_runtime); if (rtdm == NULL || !efi_is_in_map(map, ndesc, efihdr->descriptor_size, (vm_offset_t)rtdm->rt_gettime)) { if (bootverbose) @@ -255,6 +256,12 @@ efi_init(void) } #endif + if (bootverbose) { + printf("EFI runtime driver, fw spec %d.%d.%d\n", + rtdm->rt_hdr.th_rev >> 16, + (rtdm->rt_hdr.th_rev >> 4) & 0xf, + rtdm->rt_hdr.th_rev & 0xf); + } /* * We use SHUTDOWN_PRI_LAST - 1 to trigger after IPMI, but before ACPI. */