From nobody Thu Oct 24 02:41:45 2024 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 4XYqtd3xNWz5Zy12; Thu, 24 Oct 2024 02:41:45 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XYqtd1YHqz45BG; Thu, 24 Oct 2024 02:41:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729737705; 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=/8iirjKw7o+l9DogDtsyE5xeqv1tM4M0hKiULCkLiZY=; b=fItFORzOX5TbzS93TRgwCkZwZ+OZq2TN+X2qWA/zCEWPMs9qa1ytfSyVRLgiT70B3zSsR/ rTrceYtriKSCmaXh1esw7WdDJG83SAaWZJj3Ie4fMPMLSoFwZJ8DWUbnCSAoH+b5eAHwOi 8NuulPGRHtkFvGckwFDwEBAmkRr8EAK0xzvc7020Ln/oKt71NWnjmQuPZJCxvx6KuA/50W ofd2bM3XqaYzdZYe65TBLhw5Ejl0CYSw2E6Aa4646OiH885Kku5r3vmrTwS0MmyV17vPnE 5HKfdI+hIs0rn55wn2+VijfLUO1rNU19JhKl/sYMLY1qrEtbFGXOgEYwzcdOrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729737705; 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=/8iirjKw7o+l9DogDtsyE5xeqv1tM4M0hKiULCkLiZY=; b=UBI9rGE3nfiqXLqBdes7cFPCYdjleqaKThDpnHx3CS74unZ4OISSfPbxhEDq1xWr8flTHM m/Yd4oo7DP/Kga4Kki7ipkCC+wnsjBtvzA6QdnPcNV2WKuSXGZscpxB3BLw+jVO7kpRBzI l0kh5khlmzhxEyW6axjsO0KTVzAIMTPohQFFmsN9myiYdvxTb+UIVXOBjY/w44Y+Hfj+cK qOz3n5OtYIb3OGReEAE9jd6Brpn+2Qc6DYckbu9uP4KkiTomTTHvH53iH55TuY2t+GDnpl sqjfNXiiBLfxcP21XAODTFYElEtN/fJY2DMf4h4zTeTL1NuEE+r0zTq+jniayg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729737705; a=rsa-sha256; cv=none; b=SVmgR9G3xmjb5cn0RqTuEqGedgeDe9J/KPaQAWkrWdKfgPnK8rbzcTMzjTq3dHJZrHnxCk u3dKhwCB708CQDOAncIXi+ar/bfuC4Umq1DMGZtTIgOgBwGZNMh85QBLkuQ7P9bCfaZP5O ZYhdhjmyaYMohbxNoVdUZZPKSRsqKs2JGjTFeqY5bUXcWCx8zBCz07ow1K12H3Xw6Id+3d WI/fe2ysst5aPrJiastgWHVeeRkeTUYOzWk6PMDZ0aVKgbgqnzCxIK/7QW9xPGz5bQ5Krv yUQTAJ6m/tb8T2D9GsxzsstfAJB3vTP3OJB48wP+NB3r50RO0kWtU0FmnQhWWA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XYqtd18d6zPD1; Thu, 24 Oct 2024 02:41:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49O2fjmj078675; Thu, 24 Oct 2024 02:41:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49O2fjYf078672; Thu, 24 Oct 2024 02:41:45 GMT (envelope-from git) Date: Thu, 24 Oct 2024 02:41:45 GMT Message-Id: <202410240241.49O2fjYf078672@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 5999b74e9637 - main - x86 specialreg: add bit masks definitions for LAM in %cr3 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 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: 5999b74e963769cbd12eadbe1cebcd34fb312f01 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=5999b74e963769cbd12eadbe1cebcd34fb312f01 commit 5999b74e963769cbd12eadbe1cebcd34fb312f01 Author: Konstantin Belousov AuthorDate: 2024-10-23 23:16:47 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-24 02:41:10 +0000 x86 specialreg: add bit masks definitions for LAM in %cr3 Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/x86/include/specialreg.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index cddda2df617d..197ae4bba7a1 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -52,6 +52,8 @@ #define CR0_CD 0x40000000 /* Cache Disable */ #define CR3_PCID_MASK 0x0000000000000fff +#define CR3_LAM_U57 0x2000000000000000 +#define CR3_LAM_U48 0x4000000000000000 #define CR3_PCID_SAVE 0x8000000000000000 /*