summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrIng <labs@cyring.fr>2024-08-08 12:12:29 +0200
committerCyrIng <labs@cyring.fr>2024-08-08 12:12:29 +0200
commit5a3c3963ba1f702b18579a2e6c53646c7bd1ed8c (patch)
tree6fc6efa76f4f4a118d4508673851c24b2f8cd44c
parente8fe368fd302b3e2d5bc0c3eef9496fe24ffb410 (diff)
[Intel] Deny `MSR_FLEX_RATIO` access to Nehalem/Bloomfield(06_1A)
-rw-r--r--Makefile2
-rw-r--r--x86_64/corefreqk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 539fbe6..856279f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
COREFREQ_MAJOR = 1
COREFREQ_MINOR = 98
-COREFREQ_REV = 1
+COREFREQ_REV = 2
HW = $(shell uname -m)
CC ?= cc
WARNING = -Wall -Wfatal-errors
diff --git a/x86_64/corefreqk.c b/x86_64/corefreqk.c
index 7f499df..f843168 100644
--- a/x86_64/corefreqk.c
+++ b/x86_64/corefreqk.c
@@ -2718,7 +2718,7 @@ static void Intel_FlexRatio(bool OC_ENABLED)
{_Atom_Merrifield, 1, 1, 0, 0}, /* 06_4A */
{_Atom_Moorefield, 1, 1, 0, 0}, /* 06_5A */
- {_Nehalem_Bloomfield, 1, 1, 0, 1}, /* 06_1A */
+ {_Nehalem_Bloomfield, 0, 0, 0, 1}, /* 06_1A */
{_Nehalem_Lynnfield, 1, 1, 0, 1}, /* 06_1E */
{_Nehalem_MB, 1, 1, 0, 1}, /* 06_1F */
{_Nehalem_EX, 1, 1, 0, 1}, /* 06_2E */