[PATCH] [SRU] [S/master-next] [Config] armhf: CPU_FREQ=y && ARM_HIGHBANK_CPUFREQ=y

Paolo Pisati paolo.pisati at canonical.com
Fri Nov 22 11:09:40 UTC 2013


BugLink: http://bugs.launchpad.net/bugs/1249397

SRU Justification:

Impact: cpufreq was disabled during the transition from Raring to Saucy, this is clearly a regression.

Fix: re-enable cpufreq for highbank applying the attached patch

Test case:

on a kernel with no cpufreq:

ubuntu at c09:~$ ls -la /sys/devices/system/cpu/cpu0/cpufreq
ls: cannot access /sys/devices/system/cpu/cpu0/cpufreq: No such file or directory

on a kernel with cpufreq:

ubuntu at c09:~$ ls -la /sys/devices/system/cpu/cpu0/cpufreq
total 0
drwxr-xr-x 3 root root 0 Nov 22 06:06 .
drwxr-xr-x 5 root root 0 Jan 1 1970 ..
-r--r--r-- 1 root root 4096 Nov 22 06:06 affected_cpus
-r-------- 1 root root 4096 Nov 22 06:06 cpuinfo_cur_freq
-r--r--r-- 1 root root 4096 Nov 22 06:06 cpuinfo_max_freq
-r--r--r-- 1 root root 4096 Nov 22 06:06 cpuinfo_min_freq
-r--r--r-- 1 root root 4096 Nov 22 06:06 cpuinfo_transition_latency
-r--r--r-- 1 root root 4096 Nov 22 06:06 related_cpus
-r--r--r-- 1 root root 4096 Nov 22 06:06 scaling_available_frequencies
-r--r--r-- 1 root root 4096 Nov 22 06:06 scaling_available_governors
-r--r--r-- 1 root root 4096 Nov 22 06:06 scaling_cur_freq
-r--r--r-- 1 root root 4096 Nov 22 06:06 scaling_driver
-rw-r--r-- 1 root root 4096 Nov 22 06:06 scaling_governor
-rw-r--r-- 1 root root 4096 Nov 22 06:06 scaling_max_freq
-rw-r--r-- 1 root root 4096 Nov 22 06:06 scaling_min_freq
-rw-r--r-- 1 root root 4096 Nov 22 06:06 scaling_setspeed
drwxr-xr-x 2 root root 0 Nov 22 06:06 stats

Paolo Pisati (1):
  UBUNTU: [Config] armhf: CPU_FREQ=y && ARM_HIGHBANK_CPUFREQ=y

 debian.master/config/amd64/config.common.amd64 |  1 -
 debian.master/config/armhf/config.common.armhf |  1 -
 debian.master/config/config.common.ubuntu      | 13 +++++++++++++
 debian.master/config/i386/config.common.i386   |  1 -
 4 files changed, 13 insertions(+), 3 deletions(-)

-- 
1.8.3.2





More information about the kernel-team mailing list