git: e1a358aa72af - main - Revert "amd64: re-enable la57"

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 17 Aug 2025 13:41:28 UTC
The branch main has been updated by kib:

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

commit e1a358aa72afe978492d7f58d2a1a79393e87a11
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-08-17 13:33:50 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-08-17 13:41:18 +0000

    Revert "amd64: re-enable la57"
    
    This reverts commit 2abf24b3698c08c9fc906580fd5be67be65c9feb.
    The la57 should be not force-enabled.
    
    Sponsored by:   The FreeBSD Foundation
---
 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 9867bb7fdbac..243a6625bece 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -424,7 +424,7 @@ static int __read_frequently pg_ps_enabled = 1;
 SYSCTL_INT(_vm_pmap, OID_AUTO, pg_ps_enabled, CTLFLAG_RDTUN | CTLFLAG_NOFETCH,
     &pg_ps_enabled, 0, "Are large page mappings enabled?");
 
-int __read_frequently la57 = 1;
+int __read_frequently la57 = 0;
 SYSCTL_INT(_vm_pmap, OID_AUTO, la57, CTLFLAG_RDTUN | CTLFLAG_NOFETCH,
     &la57, 0,
     "5-level paging for host is enabled");