Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163131826
D57759.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
984 B
Referenced Files
None
Subscribers
None
D57759.id.diff
View Options
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h
--- a/sys/x86/include/specialreg.h
+++ b/sys/x86/include/specialreg.h
@@ -420,6 +420,7 @@
#define AMDPM_TSC_INVARIANT 0x00000100
#define AMDPM_CPB 0x00000200
#define AMDPM_PWR_REPORT 0x00001000
+#define AMDPM_RAPL 0x00004000
/*
* AMD extended function 8000_0008h ebx info (amd_extended_feature_extensions)
@@ -1269,6 +1270,9 @@
#define MSR_SMM_MASK 0xc0010113 /* SMM TSEG address mask */
#define MSR_VM_CR 0xc0010114 /* SVM: feature control */
#define MSR_VM_HSAVE_PA 0xc0010117 /* SVM: host save area address */
+#define MSR_AMD_RAPL_POWER_UNIT 0xc0010299 /* RAPL unit shifts */
+#define MSR_AMD_CORE_ENERGY_STATUS 0xc001029a /* RAPL per-core energy */
+#define MSR_AMD_PKG_ENERGY_STATUS 0xc001029b /* RAPL package energy */
#define MSR_AMD_CPUID07 0xc0011002 /* CPUID 07 %ebx override */
#define MSR_EXTFEATURES 0xc0011005 /* Extended CPUID Features override */
#define MSR_LS_CFG 0xc0011020
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 21, 9:08 AM (2 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34270455
Default Alt Text
D57759.id.diff (984 B)
Attached To
Mode
D57759: x86: add AMD RAPL MSR and feature-bit definitions
Attached
Detach File
Event Timeline
Log In to Comment