From nobody Wed Oct 30 03:09:09 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 4XdXCT4nwJz5bSyy; Wed, 30 Oct 2024 03:09:09 +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 4XdXCT37gcz4XZl; Wed, 30 Oct 2024 03:09:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730257749; 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=pOnlMK5A4UNVT8sbhMKkV7f2QrZo0rF7o1FHpEpgMng=; b=P00FpDPyPtJ77ngWjIlTrcpSwMDgD7AmJbmNE4Tjqe1wBmEGP+kXj7Rxz69uuA3nxMwFh1 DrfU2UXtnbxCdLp9+KgMu9dtMDM8HaMeAijRyuM482jPUVzfe0FG1tXui3l5XJnjbutyoE dfu+Ff7MdodzKgMz2yP7Bcv9BH+/9mjmj3JOSuEccaf9ZfKncQE6thnM54sZrCnEa8A3zy cMolYzm0ZtRvXhIMpzkWt/yNtUoqv/BEJo6rmkgjR8WT57LAx1v1GKJ89QfmL5Gl9v3G6m 7VlyCVBqaNJjaO5shm/Leuk9pzpsriYL6lkK/MP9AAOoLMkUppEDO7Wl0aKOZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730257749; 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=pOnlMK5A4UNVT8sbhMKkV7f2QrZo0rF7o1FHpEpgMng=; b=fwYCekya4bOhtQatahuDZYqS/qOxcvMeF7dIFlF1+QEAbB3eHB/eEcTax7e4yH++jqQ6cy 45Aqe5VvE1EKqFWc9l7ZSW3ZxR/zucb5N9r1Rs1d1NkPqg+qKGSkgwVwMEfHEEhxQb06dE GYLRmmpvy59OPD8iaxbSUt+WcaiesIwBKLoD3pxihSKWJNn8fhWxwdiDyQmrNQvabGdM4l G8uNG05s+NUbD+diyzX5GVWfv0ggcck8Pr1u4f+8WMa3wfcfm9FM+prduHzjOlxfH9e+2g 973SgOFaiLhKHmyf8o/i6nf5j0ujt6Z0OT0SbWQnn0jg8lC7YKKPpEZWriazHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730257749; a=rsa-sha256; cv=none; b=DpBEJ2kbOtqDxO/Xy4kgHB+xmD96FAMfJ72Xu1OTUUH5GVrq+419F3OTjuv95tXtRaLGBL 0MsnnNelGRpbldNVjOvfvGo1BEN1S/rVIZMYR0fQdiC2ebtozOTEGYdLbHzRSoWkxIOuZ4 /ZyKBjSq8ZvWKvlC/au6lXmv+hU+C3VpGoRplcKu2ok1ealhh+y44befR/GzEGvlGEXdee MTFkmV2ZfnRe6PdM3y1/3PWLqJCYQNj1m5cvL+ZbcB3YITk5ORsOh6OiEwhlIv0LgDCafg RnOcsBkxJq17tZelYxdMsQA1xr3wcp9S4toNtPYDfTEnuPgjuKyERIjfiskurg== 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 4XdXCT2hYHzqVs; Wed, 30 Oct 2024 03:09:09 +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 49U3999o048947; Wed, 30 Oct 2024 03:09:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49U399VZ048944; Wed, 30 Oct 2024 03:09:09 GMT (envelope-from git) Date: Wed, 30 Oct 2024 03:09:09 GMT Message-Id: <202410300309.49U399VZ048944@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: 90d8c39d22e0 - stable/14 - x86 specialreg: add bit masks definitions for LASS and LAM features 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: 90d8c39d22e0e939b48a062cad27859e951aede0 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=90d8c39d22e0e939b48a062cad27859e951aede0 commit 90d8c39d22e0e939b48a062cad27859e951aede0 Author: Konstantin Belousov AuthorDate: 2024-10-23 23:40:01 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-30 02:40:30 +0000 x86 specialreg: add bit masks definitions for LASS and LAM features (cherry picked from commit 9f718b57b846b8e1fa562584747fdae42ffed8f4) --- sys/x86/include/specialreg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index 1f9069e3c1e1..bd98aa31c9a8 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -536,6 +536,12 @@ #define CPUID_STDEXT3_CORE_CAP 0x40000000 #define CPUID_STDEXT3_SSBD 0x80000000 +/* + * CPUID instruction 7 Structured Extended Features, leaf 1 eax info + */ +#define CPUID_STDEXT4_LASS 0x00000040 +#define CPUID_STDEXT4_LAM 0x04000000 + /* CPUID_HYBRID_ID leaf 0x1a */ #define CPUID_HYBRID_CORE_MASK 0xff000000 #define CPUID_HYBRID_SMALL_CORE 0x20000000