Date: Thu, 16 Mar 2017 03:06:50 +0000 (UTC) From: Peter Grehan <grehan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r315361 - in head/sys/x86: include x86 Message-ID: <201703160306.v2G36oAX096478@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: grehan Date: Thu Mar 16 03:06:50 2017 New Revision: 315361 URL: https://svnweb.freebsd.org/changeset/base/315361 Log: Add the AMD MONITORX/MWAITX feature definition introduced in Bulldozer/Ryzen CPUs. Reviewed by: kib MFC after: 1 week Modified: head/sys/x86/include/specialreg.h head/sys/x86/x86/identcpu.c Modified: head/sys/x86/include/specialreg.h ============================================================================== --- head/sys/x86/include/specialreg.h Thu Mar 16 02:31:42 2017 (r315360) +++ head/sys/x86/include/specialreg.h Thu Mar 16 03:06:50 2017 (r315361) @@ -227,6 +227,7 @@ #define AMDID2_DBE 0x04000000 #define AMDID2_PTSC 0x08000000 #define AMDID2_PTSCEL2I 0x10000000 +#define AMDID2_MWAITX 0x20000000 /* * CPUID instruction 1 eax info Modified: head/sys/x86/x86/identcpu.c ============================================================================== --- head/sys/x86/x86/identcpu.c Thu Mar 16 02:31:42 2017 (r315360) +++ head/sys/x86/x86/identcpu.c Thu Mar 16 03:06:50 2017 (r315361) @@ -906,7 +906,7 @@ printcpuinfo(void) "\033DBE" /* Data Breakpoint extension */ "\034PTSC" /* Performance TSC */ "\035PL2I" /* L2I perf count */ - "\036<b29>" + "\036MWAITX" /* MONITORX/MWAITX instructions */ "\037<b30>" "\040<b31>" );
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703160306.v2G36oAX096478>