Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1438007 > unrolled thread

[PATCH 1/3] cpufreq: intel_pstate: Replace MSR_NHM_TURBO_RATIO_LIMIT

Started bySrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
First post2016-07-07 01:10 +0200
Last post2016-07-07 01:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/3] cpufreq: intel_pstate: Replace MSR_NHM_TURBO_RATIO_LIMIT Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> - 2016-07-07 01:10 +0200

#1438007 — [PATCH 1/3] cpufreq: intel_pstate: Replace MSR_NHM_TURBO_RATIO_LIMIT

FromSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Date2016-07-07 01:10 +0200
Subject[PATCH 1/3] cpufreq: intel_pstate: Replace MSR_NHM_TURBO_RATIO_LIMIT
Message-ID<rS477-7bp-5@gated-at.bofh.it>
Replace MSR_NHM_TURBO_RATIO_LIMIT with MSR_TURBO_RATIO_LIMIT.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
 drivers/cpufreq/intel_pstate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index f6dd072..facf05c 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -973,7 +973,7 @@ static int core_get_turbo_pstate(void)
 	u64 value;
 	int nont, ret;
 
-	rdmsrl(MSR_NHM_TURBO_RATIO_LIMIT, value);
+	rdmsrl(MSR_TURBO_RATIO_LIMIT, value);
 	nont = core_get_max_pstate();
 	ret = (value) & 255;
 	if (ret <= nont)
@@ -1002,7 +1002,7 @@ static int knl_get_turbo_pstate(void)
 	u64 value;
 	int nont, ret;
 
-	rdmsrl(MSR_NHM_TURBO_RATIO_LIMIT, value);
+	rdmsrl(MSR_TURBO_RATIO_LIMIT, value);
 	nont = core_get_max_pstate();
 	ret = (((value) >> 8) & 0xFF);
 	if (ret <= nont)
-- 
2.5.5

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web