Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2022 19:12:07 GMT
From:      Gordon Tetlow <gordon@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: f151464add6f - releng/13.0 - amd64: disable LA57 by default for now
Message-ID:  <202202011912.211JC79L061661@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch releng/13.0 has been updated by gordon:

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

commit f151464add6f04a7b296406e8f095ed8ace01f2c
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-04-28 15:50:16 +0000
Commit:     Gordon Tetlow <gordon@FreeBSD.org>
CommitDate: 2022-02-01 17:43:46 +0000

    amd64: disable LA57 by default for now
    
    (cherry picked from commit 72a42ec63b4a98f812f5f6164415eeb9a55e1933)
    (cherry picked from commit df6241fcef9a8df76839caeaef61520d5f3a7925)
    
    Approved by:    so
    Security:       FreeBSD-EN-22:07.la57
---
 sys/amd64/amd64/pmap.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index bd23fd176e88..f77bec8d7a83 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -2015,8 +2015,7 @@ pmap_bootstrap_la57(void *arg __unused)
 
 	if ((cpu_stdext_feature2 & CPUID_STDEXT2_LA57) == 0)
 		return;
-	if (!TUNABLE_INT_FETCH("vm.pmap.la57", &la57))
-		la57 = 1;
+	TUNABLE_INT_FETCH("vm.pmap.la57", &la57);
 	if (!la57)
 		return;
 



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