Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2024 03:09:09 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 90d8c39d22e0 - stable/14 - x86 specialreg: add bit masks definitions for LASS and LAM features
Message-ID:  <202410300309.49U399VZ048944@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib:

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

commit 90d8c39d22e0e939b48a062cad27859e951aede0
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-10-23 23:40:01 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
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



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