vapier      15/03/02 21:40:09

  Added:                powertop-2.7-baytrail-msr.patch
  Log:
  Add fix from upstream for running on newer Baytrail systems.
  
  (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.1                  sys-power/powertop/files/powertop-2.7-baytrail-msr.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/files/powertop-2.7-baytrail-msr.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/files/powertop-2.7-baytrail-msr.patch?rev=1.1&content-type=text/plain

Index: powertop-2.7-baytrail-msr.patch
===================================================================
>From 037906c55374cbf045f197b43c22314617dbfc21 Mon Sep 17 00:00:00 2001
From: Daniel Leung <[email protected]>
Date: Wed, 25 Feb 2015 16:36:45 -0800
Subject: [PATCH] Baytrail does not have core C7 MSR to read

So do not acquire core C7 from MSR, or else it fails
and stops the program.

Reported-by: Eoff, Ullysses A <[email protected]>
Signed-off-by: Daniel Leung <[email protected]>
---
 src/cpu/intel_cpus.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/cpu/intel_cpus.cpp b/src/cpu/intel_cpus.cpp
index 04275e5..72ecd50 100644
--- a/src/cpu/intel_cpus.cpp
+++ b/src/cpu/intel_cpus.cpp
@@ -135,11 +135,6 @@ nhm_core::nhm_core(int model)
        if (model == 0x37) {
                has_c3_res = 0;
                has_c1_res = 1;
-               this->byt_has_ahci();
-                if ((this->get_byt_ahci_support()) == 0)
-                        has_c7_res = 1;/*BYT-T PC7 <- S0iX*/
-                else
-                        has_c7_res = 0;
        } else {
                has_c3_res = 1;
                has_c1_res = 0;
-- 
2.3.1





Reply via email to