From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-power/powertop/files: powertop-2.7-baytrail-msr.patch |
Date: | Mon, 02 Mar 2015 21:40:15 |
Message-Id: | 20150302214010.022A712E76@oystercatcher.gentoo.org |
1 | vapier 15/03/02 21:40:09 |
2 | |
3 | Added: powertop-2.7-baytrail-msr.patch |
4 | Log: |
5 | Add fix from upstream for running on newer Baytrail systems. |
6 | |
7 | (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-power/powertop/files/powertop-2.7-baytrail-msr.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/files/powertop-2.7-baytrail-msr.patch?rev=1.1&view=markup |
13 | 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 |
14 | |
15 | Index: powertop-2.7-baytrail-msr.patch |
16 | =================================================================== |
17 | From 037906c55374cbf045f197b43c22314617dbfc21 Mon Sep 17 00:00:00 2001 |
18 | From: Daniel Leung <daniel.leung@×××××××××××.com> |
19 | Date: Wed, 25 Feb 2015 16:36:45 -0800 |
20 | Subject: [PATCH] Baytrail does not have core C7 MSR to read |
21 | |
22 | So do not acquire core C7 from MSR, or else it fails |
23 | and stops the program. |
24 | |
25 | Reported-by: Eoff, Ullysses A <ullysses.a.eoff@×××××.com> |
26 | Signed-off-by: Daniel Leung <daniel.leung@×××××××××××.com> |
27 | --- |
28 | src/cpu/intel_cpus.cpp | 5 ----- |
29 | 1 file changed, 5 deletions(-) |
30 | |
31 | diff --git a/src/cpu/intel_cpus.cpp b/src/cpu/intel_cpus.cpp |
32 | index 04275e5..72ecd50 100644 |
33 | --- a/src/cpu/intel_cpus.cpp |
34 | +++ b/src/cpu/intel_cpus.cpp |
35 | @@ -135,11 +135,6 @@ nhm_core::nhm_core(int model) |
36 | if (model == 0x37) { |
37 | has_c3_res = 0; |
38 | has_c1_res = 1; |
39 | - this->byt_has_ahci(); |
40 | - if ((this->get_byt_ahci_support()) == 0) |
41 | - has_c7_res = 1;/*BYT-T PC7 <- S0iX*/ |
42 | - else |
43 | - has_c7_res = 0; |
44 | } else { |
45 | has_c3_res = 1; |
46 | has_c1_res = 0; |
47 | -- |
48 | 2.3.1 |