summaryrefslogtreecommitdiff
path: root/src/include/cpu
diff options
context:
space:
mode:
authorVenkateswarlu Vinjamuri <venkateswarlu.v.vinjamuri@intel.com>2016-10-31 17:03:55 -0700
committerAaron Durbin <adurbin@chromium.org>2016-11-02 18:27:46 +0100
commit362180a8a99705caedf9e2843a43d898cb1960af (patch)
treec74fe503c316a595396d1f9bf2080f1e62225957 /src/include/cpu
parent318ed6f8188c3f797fd2fbbc8122f5e2cb8b63d3 (diff)
downloadcoreboot-362180a8a99705caedf9e2843a43d898cb1960af.tar.xz
soc/intel/apollolake: Disable Monitor and Mwait feature
Monitor/Mwait is broken on APL. So, it needs to be disabled. BUG=chrome-os-partner:56922 BRANCH=None Change-Id: I12cd4280de62e0a639b43538171660ee4c0a0265 Signed-off-by: Venkateswarlu Vinjamuri <venkateswarlu.v.vinjamuri@intel.com> Reviewed-on: https://review.coreboot.org/17200 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include/cpu')
-rw-r--r--src/include/cpu/intel/turbo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cpu/intel/turbo.h b/src/include/cpu/intel/turbo.h
index 8a93b3cf96..6626cb13c0 100644
--- a/src/include/cpu/intel/turbo.h
+++ b/src/include/cpu/intel/turbo.h
@@ -21,6 +21,9 @@
#define PM_CAP_TURBO_MODE (1 << 1)
#define MSR_IA32_MISC_ENABLES 0x1a0
+/* Disable the Monitor Mwait FSM feature */
+#define MONITOR_MWAIT_DIS_MASK 0x40000
+
#define H_MISC_DISABLE_TURBO (1 << 6)
enum {