Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756367AbcJGW7d (ORCPT ); Fri, 7 Oct 2016 18:59:33 -0400 Received: from emh07.mail.saunalahti.fi ([62.142.5.117]:36702 "EHLO emh07.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021AbcJGW72 (ORCPT ); Fri, 7 Oct 2016 18:59:28 -0400 Date: Sat, 8 Oct 2016 01:59:25 +0300 From: Aaro Koskinen To: Viresh Kumar , "Rafael J. Wysocki" , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: v4.8 cpufreq regression? Message-ID: <20161007225925.GI15204@raspberrypi.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3544 Lines: 74 Hi, I'm upgrading from v4.7 to v4.8 on MIPS/loongson2_cpufreq with cpufreq/ondemand and I noticed that /proc/cpuinfo is always reporting (regardless of system load): BogoMIPS : 697150.20 and sysfs: /sys/devices/system/cpu/cpufreq/policy0/affected_cpus:0 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq:797800 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_max_freq:797800 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_min_freq:199450 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_transition_latency:0 /sys/devices/system/cpu/cpufreq/policy0/related_cpus:0 /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies:199450 299175 398900 498625 598350 698075 797800 /sys/devices/system/cpu/cpufreq/policy0/scaling_available_governors:ondemand performance /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq:797800 /sys/devices/system/cpu/cpufreq/policy0/scaling_driver:loongson2 /sys/devices/system/cpu/cpufreq/policy0/scaling_governor:ondemand /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq:797800 /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq:199450 /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed: although previously they reported (when idle): BogoMIPS : 132.09 /sys/devices/system/cpu/cpufreq/policy0/affected_cpus:0 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq:199445 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_max_freq:797780 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_min_freq:199445 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_transition_latency:0 /sys/devices/system/cpu/cpufreq/policy0/related_cpus:0 /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies:199445 299167 398890 498612 598335 698057 797780 /sys/devices/system/cpu/cpufreq/policy0/scaling_available_governors:ondemand performance /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq:199445 /sys/devices/system/cpu/cpufreq/policy0/scaling_driver:loongson2 /sys/devices/system/cpu/cpufreq/policy0/scaling_governor:ondemand /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq:797780 /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq:199445 /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed: and under full load: BogoMIPS : 528.38 /sys/devices/system/cpu/cpufreq/policy0/affected_cpus:0 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq:797780 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_max_freq:797780 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_min_freq:199445 /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_transition_latency:0 /sys/devices/system/cpu/cpufreq/policy0/related_cpus:0 /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies:199445 299167 398890 498612 598335 698057 797780 /sys/devices/system/cpu/cpufreq/policy0/scaling_available_governors:ondemand performance /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq:797780 /sys/devices/system/cpu/cpufreq/policy0/scaling_driver:loongson2 /sys/devices/system/cpu/cpufreq/policy0/scaling_governor:ondemand /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq:797780 /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq:199445 /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed: The offeding commit (bisected) seems to be: commit da0c6dc00c69d0adaae99c3b3d2ea0c869a3fb35 Author: Viresh Kumar Date: Mon Jun 27 16:04:07 2016 +0530 cpufreq: Handle sorted frequency tables more efficiently Any ideas? A.