From nobody Wed Oct 30 03:09:06 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 4XdXCR3F8jz5bSZd; Wed, 30 Oct 2024 03:09:07 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdXCR0frbz4XcZ; Wed, 30 Oct 2024 03:09:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730257747; 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=FMBzZfx9DZ9nUbqk+QYk6Gy2JSsB4sNOnzQmJrMlB8o=; b=SpMPQnRqvcpiEjYxWasA/IEmp0YYTIblxQmvlJ5FW6Rp24LI8t40Py5f+sxkUtlHm+hSz0 zKo/m8HRnK4WhvHSDVCmp9us/qupEqiqJqGjtlwg2sZiVzKIAts6v+16LkpYERYWoyDSUF /gNqN+Du4FduxYjtsQUYDKtYP7dT66wIUHX5vElMBO4TPoXNj+N6LYQFhMqg5wvfD/9eYq 8mEq8AqdxNHvdDF1O0337XXQ1BHcVN1ZT75VdiSZLl3G2ciMyW77cH/lrCQfrLQ8qNcXnE i+a6Hjl/3B7rmt1s47fvd89mF0KU2hD0sch5nbbnICszd4pArTigBEPvaSVAnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730257747; 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=FMBzZfx9DZ9nUbqk+QYk6Gy2JSsB4sNOnzQmJrMlB8o=; b=fTOzBM8X5MDrkxXH7y1rbHI03dyhBT0F9jX6sh89wllTUhujkGuXzKPN6JcDyp7F/owsU6 p0QBa+53YMFf3yiBg39v/TMRUVdN3rK39t5xokwvLPuwym8H4oX0HAVdFI0BnPYjmu6NRB gN0ps41GvYDoBanDL1mVg1JuKjP6nVfhCJ0AeFBgaHduynSlR2x3EUfzdmn9RmaAHWdQb0 O2ddncHPOMA7omIKYy4BfDRP/G1vx0rUeBqEXAK2od+PiB29U+UA8e+KmIzmTNZ3VxLXsL GB9iVEJs+Y02kIhe2LqPkmUTvSJ2xZWAeoRRoNPpwgDsbEFQ09h2nsyWj6+RWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730257747; a=rsa-sha256; cv=none; b=mgsnTwvw5ujZbwHtxFUl8NaHlHoStizqgsCFP9l73Cq1IA8yd+/L/XhCw8gcCLYvV1i7MX axTjfcZNpW91HKN0C8eXoW+iA0xW7tRPFFFV+ES0FKRrqBqUvyhSvNg26pnyqHclg9ZpN/ +zd8MiCFtUx2FoXLTVTu1h0ixcAg41LXkxz9D2Vf64Rg6si+B0HBByht8ZPy6dgMEQlKwW FDPRehwdKtpySgl/wYv9ak6vVMX49M6ZfzNLCWN7TxV0JXmycL2raaC9invZMQqtQI9C+N NJuM9ey0Xp8YRVH4I+LRjkqdYjy+qJWJu6GywBmDfXAz+vbqHwzNptItvDIBnw== 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 4XdXCR0H0MzqVr; Wed, 30 Oct 2024 03:09:07 +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 49U396El048823; Wed, 30 Oct 2024 03:09:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49U396Vg048820; Wed, 30 Oct 2024 03:09:06 GMT (envelope-from git) Date: Wed, 30 Oct 2024 03:09:06 GMT Message-Id: <202410300309.49U396Vg048820@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 6f26bce4680e - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 6f26bce4680e3497b2a4cf3640cdaaa85fed5b3b Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6f26bce4680e3497b2a4cf3640cdaaa85fed5b3b commit 6f26bce4680e3497b2a4cf3640cdaaa85fed5b3b Author: Konstantin Belousov AuthorDate: 2024-10-23 23:16:47 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-30 02:40:30 +0000 x86 specialreg: add bit masks definitions for LAM in %cr3 (cherry picked from commit 5999b74e963769cbd12eadbe1cebcd34fb312f01) --- 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 a8ff7aa2b30d..87461bdeafea 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -54,6 +54,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 /*