From nobody Mon Jul 20 20:53:23 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 4h3t5b431Hz6dQ4G for ; Mon, 20 Jul 2026 20:53:23 +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 4h3t5b1STjz46qV for ; Mon, 20 Jul 2026 20:53:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784580803; 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=DEbgGJ/S5UgC6543o0lTNlwwdtu8njMxQwIPTrGqgKY=; b=eadjH2w1JLhjKncnsfezd6XsPsTbHW3ZKxhC/Rc7NkLP6rh8l2AVNj9qePvc7byHd3XLV9 fuRZOK4OOQtPL7vrCzNY0gCLNaCcx5uELv4B08PNtmC5S/4+S6z22/HJpmivdTcAF2YYTT EmR3xsKm8RUE72sbxhFIQ13gpijXod7DkzUN+vS0O0sRoFCxjuzyaelrHtL4i71zXY/OvN x4+m+kJ3x5DWENU9E142WOl5X0C0wPI/guDmG4w1GdTxwDRwpmBQZPZDVpisHcMUKQOXog GyHG+HFMF5Z0MynAFRkiV+2nZfexABu1VgwOKGdJ9hlxGnaHUKyTQXkL4E/b2A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1784580803; a=rsa-sha256; cv=none; b=DWedMgxuOZz/b4N4fVcnZmv2fkneItqFhb0K4obeYv1N+hH+vj1TBBY6YxYA4r2/Q7ILIU xfUevR4ke9W5KNpYNcN/ObxGQGiUNqJe7f64qxlpU4Yv1VhLpBH0kVaTSJ8dsdKZYInbBc +aRX/hOwlQOkYAlN86+Tr62CAWg1avlJiUx96KFedTdoq6LkWoLCrSoCKAsCg0UtDjU9UK Q14EFrBh41COZry6/YVbUjLK+XAwMSAf/QNlM+w6DGyoCPKXym2FCkY4iG/5gcQhz9Wua8 vM23az58Gyyv18Gkkbsw+3Nck9JrS/e3c7YAaLGiJ2ZczJaim+841O3ia+kv0Q== 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=1784580803; 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=DEbgGJ/S5UgC6543o0lTNlwwdtu8njMxQwIPTrGqgKY=; b=ITF84VmfKpM1cdDS6tCIn0+Vntrj8azRxNWAMKQgIz8Xw6CwSrTs0U3L2BPbZeI7DZHj3O 68onmRVnAt2khEfQT+5+eX61M9FDRZiRlZwrJIrQbzTk9kOTpoBqENkHwo81DiV+c+5ovL NNLMo2myJ1tKhMh0Js/2DLqqE+QiR7blARKJ9J2RmDdEK60hvx9VpenudvHwtF4hC1kXYr +NSJs7fLJtFw2cKqiq3Jq2pQgyepd9nhrfVlpEsLrXDfJ1/7VuEtgczXVzl3z/GRE+2vo4 mFvNF5k/GB6VDyMSBXjuKPqg2ivI66u3OQ3nCM2EfXm0aYvsKHqsFFyQL3fwew== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4h3t5b0LK8z3K2 for ; Mon, 20 Jul 2026 20:53:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1e394 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 20 Jul 2026 20:53:23 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 842e271b7b8b - stable/15 - amd64 efirt: register all runtime regions as fictitious 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 842e271b7b8bf8a3bb039db57dce2107600ab883 Auto-Submitted: auto-generated Date: Mon, 20 Jul 2026 20:53:23 +0000 Message-Id: <6a5e8ac3.1e394.9793c1c@gitrepo.freebsd.org> The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=842e271b7b8bf8a3bb039db57dce2107600ab883 commit 842e271b7b8bf8a3bb039db57dce2107600ab883 Author: Konstantin Belousov AuthorDate: 2026-07-16 06:49:21 +0000 Commit: Konstantin Belousov CommitDate: 2026-07-20 20:24:27 +0000 amd64 efirt: register all runtime regions as fictitious PR: 296348 (cherry picked from commit a2f50c4b32d1c126cf2309dab61d27d6329908f8) --- sys/amd64/amd64/efirt_machdep.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/amd64/amd64/efirt_machdep.c b/sys/amd64/amd64/efirt_machdep.c index 203b2b264587..c7a207e81151 100644 --- a/sys/amd64/amd64/efirt_machdep.c +++ b/sys/amd64/amd64/efirt_machdep.c @@ -54,6 +54,7 @@ #include #include #include +#include #include /* The EFI regions we're allowed to map. */ @@ -253,6 +254,8 @@ efi_create_1t1_map(struct efi_md *map, int ndesc, int descsz) "attributes unsupported\n", i); mode = VM_MEMATTR_UNCACHEABLE; } + (void)vm_phys_fictitious_reg_range(p->md_phys, p->md_phys + + p->md_pages * EFI_PAGE_SIZE, mode); bits = pmap_cache_bits(kernel_pmap, mode, false) | X86_PG_RW | X86_PG_V; VM_OBJECT_WLOCK(obj_1t1_pt);