aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoine Yuusuke <koinec@yahoo.co.jp>2026-05-17 15:58:41 +0000
committerEd Maste <emaste@FreeBSD.org>2026-05-17 21:13:14 +0000
commit436f47a80c20a4d8395d30f81684b2d5dd35991e (patch)
tree17cadbd4cfe77aa929b61e3fd1d5726efde1fecd
parent56bc43f5d02bd0745d597db44c285bf78d083762 (diff)
intelhfi: Add IA32_PM_ENABLE bit flag define
Reviewed by: Minsoo Choo <minsoo@minsoo.io> Differential Revision: https://reviews.freebsd.org/D56919
-rw-r--r--sys/x86/include/specialreg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h
index 4eb4f2c398b2..edf281225180 100644
--- a/sys/x86/include/specialreg.h
+++ b/sys/x86/include/specialreg.h
@@ -904,6 +904,9 @@
/* MSR IA32_MCU_OPT_CTRL */
#define IA32_RNGDS_MITG_DIS 0x00000001
+/* MSR IA32_PM_ENABLE */
+#define IA32_PM_ENABLE_HWP_ENABLE (1ULL << 0)
+
/* MSR IA32_HWP_CAPABILITIES */
#define IA32_HWP_CAPABILITIES_HIGHEST_PERFORMANCE(x) (((x) >> 0) & 0xff)
#define IA32_HWP_CAPABILITIES_GUARANTEED_PERFORMANCE(x) (((x) >> 8) & 0xff)