Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2019 14:19:45 +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-12@freebsd.org
Subject:   svn commit: r345183 - in stable/12/sys/x86: include x86
Message-ID:  <201903151419.x2FEJjRg060150@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Mar 15 14:19:45 2019
New Revision: 345183
URL: https://svnweb.freebsd.org/changeset/base/345183

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

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

Modified: stable/12/sys/x86/include/specialreg.h
==============================================================================
--- stable/12/sys/x86/include/specialreg.h	Fri Mar 15 14:18:19 2019	(r345182)
+++ stable/12/sys/x86/include/specialreg.h	Fri Mar 15 14:19:45 2019	(r345183)
@@ -431,6 +431,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
@@ -489,6 +490,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/12/sys/x86/x86/identcpu.c
==============================================================================
--- stable/12/sys/x86/x86/identcpu.c	Fri Mar 15 14:18:19 2019	(r345182)
+++ stable/12/sys/x86/x86/identcpu.c	Fri Mar 15 14:19:45 2019	(r345183)
@@ -992,6 +992,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?201903151419.x2FEJjRg060150>