Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/arch/x86/include Pull up following revision(s) (reque...



details:   https://anonhg.NetBSD.org/src/rev/a5277397f2ab
branches:  netbsd-8
changeset: 852435:a5277397f2ab
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Jul 17 15:37:33 2019 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #1293):

        sys/arch/x86/include/specialreg.h: revision 1.149

 Define some new bits of CPUID Fn8000_0007 %edx AMD Advanced Power Management
leaf.

diffstat:

 sys/arch/x86/include/specialreg.h |  16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diffs (31 lines):

diff -r c372a38efe90 -r a5277397f2ab sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Wed Jul 17 15:34:31 2019 +0000
+++ b/sys/arch/x86/include/specialreg.h Wed Jul 17 15:37:33 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.98.2.13 2019/05/29 15:43:26 martin Exp $      */
+/*     $NetBSD: specialreg.h,v 1.98.2.14 2019/07/17 15:37:33 martin Exp $      */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -654,12 +654,16 @@
 #define CPUID_APM_TSC  0x00000100      /* TSC invariant */
 #define CPUID_APM_CPB  0x00000200      /* Core performance boost */
 #define CPUID_APM_EFF  0x00000400      /* Effective Frequency (read-only) */
+#define CPUID_APM_PROCFI 0x00000800    /* Proc Feedback Interface */
+#define CPUID_APM_PROCPR 0x00001000    /* Proc Power Reporting  */
+#define CPUID_APM_CONNSTBY 0x00002000  /* Connected Standby */
+#define CPUID_APM_RAPL 0x00004000      /* Running Average Power Limit */
 
-#define CPUID_APM_FLAGS                "\20" \
-       "\1" "TS"       "\2" "FID"      "\3" "VID"      "\4" "TTP" \
-       "\5" "HTC"      "\6" "STC"      "\7" "100"      "\10" "HWP" \
-       "\11" "TSC"     "\12" "CPB"     "\13" "EffFreq" "\14" "B11" \
-       "\15" "B12"
+#define CPUID_APM_FLAGS                "\20"                                         \
+       "\1" "TS"       "\2" "FID"      "\3" "VID"      "\4" "TTP"            \
+       "\5" "HTC"      "\6" "STC"      "\7" "100"      "\10" "HWP"           \
+       "\11" "TSC"     "\12" "CPB"     "\13" "EffFreq" "\14" "PROCFI"        \
+       "\15" "PROCPR"  "\16" "CONNSTBY" "\17" "RAPL"
 
 /* AMD Fn8000000a %edx features (SVM features) */
 #define CPUID_AMD_SVM_NP               0x00000001



Home | Main Index | Thread Index | Old Index