- Add Haswell support
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=23
This commit is contained in:
parent
8a92fa8cbf
commit
d6e67a5eab
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3f7a05b0026ff6ca37400f8c2dc1e282b6d26439bdca087fa11885f18cc0edec
|
||||
size 68302
|
3
cpupower-3.8.tar.bz2
Normal file
3
cpupower-3.8.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8e790e3e6f8bf3e3b9c444a59277300cd8e6e7804268567834e9e7be412f01e0
|
||||
size 68590
|
14
cpupower-haswell_support.patch
Normal file
14
cpupower-haswell_support.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Index: cpupower-3.8/utils/idle_monitor/snb_idle.c
|
||||
===================================================================
|
||||
--- cpupower-3.8.orig/utils/idle_monitor/snb_idle.c
|
||||
+++ cpupower-3.8/utils/idle_monitor/snb_idle.c
|
||||
@@ -155,6 +155,9 @@ static struct cpuidle_monitor *snb_regis
|
||||
case 0x2D: /* SNB Xeon */
|
||||
case 0x3A: /* IVB */
|
||||
case 0x3E: /* IVB Xeon */
|
||||
+ case 0x3C: /* HSW */
|
||||
+ case 0x3F: /* HSW */
|
||||
+ case 0x45: /* HSW */
|
||||
break;
|
||||
default:
|
||||
return NULL;
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 13 14:57:44 UTC 2013 - trenn@suse.de
|
||||
|
||||
- Add Haswell support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 23 10:49:30 UTC 2013 - trenn@suse.de
|
||||
|
||||
|
@ -22,13 +22,14 @@ Name: cpupower
|
||||
Url: http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
|
||||
# Use this as version when things are in mainline kernel
|
||||
%define version %(rpm -q --qf '%{VERSION}' kernel-source)
|
||||
Version: 3.7
|
||||
Version: 3.8
|
||||
Release: 0
|
||||
Summary: Tools to determine and set CPU Power related Settings
|
||||
License: GPL-2.0
|
||||
Group: System/Base
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: cpupower_export_tarball_from_git.sh
|
||||
Patch1: cpupower-haswell_support.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gettext-tools
|
||||
BuildRequires: pciutils
|
||||
@ -72,6 +73,7 @@ powersave module.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
# This package failed when testing with -Wl,-as-needed being default.
|
||||
|
Loading…
Reference in New Issue
Block a user