git: 436f47a80c20 - main - intelhfi: Add IA32_PM_ENABLE bit flag define
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 May 2026 21:13:31 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=436f47a80c20a4d8395d30f81684b2d5dd35991e
commit 436f47a80c20a4d8395d30f81684b2d5dd35991e
Author: Koine Yuusuke <koinec@yahoo.co.jp>
AuthorDate: 2026-05-17 15:58:41 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-05-17 21:13:14 +0000
intelhfi: Add IA32_PM_ENABLE bit flag define
Reviewed by: Minsoo Choo <minsoo@minsoo.io>
Differential Revision: https://reviews.freebsd.org/D56919
---
sys/x86/include/specialreg.h | 3 +++
1 file changed, 3 insertions(+)
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)