Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2019 18:53:36 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r345199 - in stable/11/sys/x86: include x86
Message-ID:  <201903151853.x2FIrata006316@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Mar 15 18:53:36 2019
New Revision: 345199
URL: https://svnweb.freebsd.org/changeset/base/345199

Log:
  MFC r345075:
  Add register number, CPUID bits, and print identification for TSX
  force abort errata.

Modified:
  stable/11/sys/x86/include/specialreg.h
  stable/11/sys/x86/x86/identcpu.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/x86/include/specialreg.h
==============================================================================
--- stable/11/sys/x86/include/specialreg.h	Fri Mar 15 18:50:36 2019	(r345198)
+++ stable/11/sys/x86/include/specialreg.h	Fri Mar 15 18:53:36 2019	(r345199)
@@ -390,6 +390,7 @@
 /*
  * CPUID instruction 7 Structured Extended Features, leaf 0 edx info
  */
+#define	CPUID_STDEXT3_TSXFA	0x00002000
 #define	CPUID_STDEXT3_IBPB	0x04000000
 #define	CPUID_STDEXT3_STIBP	0x08000000
 #define	CPUID_STDEXT3_L1D_FLUSH	0x10000000
@@ -448,6 +449,7 @@
 #define	MSR_MTRRcap		0x0fe
 #define	MSR_IA32_ARCH_CAP	0x10a
 #define	MSR_IA32_FLUSH_CMD	0x10b
+#define	MSR_TSX_FORCE_ABORT	0x10f
 #define	MSR_BBL_CR_ADDR		0x116
 #define	MSR_BBL_CR_DECC		0x118
 #define	MSR_BBL_CR_CTL		0x119

Modified: stable/11/sys/x86/x86/identcpu.c
==============================================================================
--- stable/11/sys/x86/x86/identcpu.c	Fri Mar 15 18:50:36 2019	(r345198)
+++ stable/11/sys/x86/x86/identcpu.c	Fri Mar 15 18:53:36 2019	(r345199)
@@ -991,6 +991,7 @@ printcpuinfo(void)
 				printf("\n  Structured Extended Features3=0x%b",
 				    cpu_stdext_feature3,
 				       "\020"
+				       "\016TSXFA"
 				       "\033IBPB"
 				       "\034STIBP"
 				       "\035L1DFL"



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