Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2024 13:03:48 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e6fa60a77bfb - stable/14 - la57: do not set global bit for PML5 entry
Message-ID:  <202409231303.48ND3m6B007290@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=e6fa60a77bfb8d43feb53bd5f6d7153332f91ad2

commit e6fa60a77bfb8d43feb53bd5f6d7153332f91ad2
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-09-14 17:15:51 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-09-23 13:03:07 +0000

    la57: do not set global bit for PML5 entry
    
    (cherry picked from commit 678bc2281c3727e920604545240d9115de3d1bd3)
---
 sys/amd64/amd64/pmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 9058fa405771..0db1af00874c 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -2227,7 +2227,7 @@ pmap_bootstrap_la57(void *arg __unused)
 	 * entering all existing kernel mappings into level 5 table.
 	 */
 	v_pml5[pmap_pml5e_index(UPT_MAX_ADDRESS)] = KPML4phys | X86_PG_V |
-	    X86_PG_RW | X86_PG_A | X86_PG_M | pg_g;
+	    X86_PG_RW | X86_PG_A | X86_PG_M;
 
 	/*
 	 * Add pml5 entry for 1:1 trampoline mapping after LA57 is turned on.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409231303.48ND3m6B007290>