From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH] cpufreq: cpufreq-cpu0: Use a sane boot frequency when booting with a mismatched bootloader configuration Date: Tue, 19 Nov 2013 22:40:29 +0530 Message-ID: References: <1384568535-26611-1-git-send-email-nm@ti.com> <20131116134445.GI11014@S2101-09.ap.freescale.net> <528A27F8.3070402@ti.com> <20131118155753.GU11014@S2101-09.ap.freescale.net> <528A4340.3020508@ti.com> <20131119022133.GB18434@S2101-09.ap.freescale.net> <528B72C1.5060006@ti.com> <528B7CE5.5040502@ti.com> <528B884C.7070908@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mail-ob0-f172.google.com ([209.85.214.172]:33845 "EHLO mail-ob0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753037Ab3KSRKa (ORCPT ); Tue, 19 Nov 2013 12:10:30 -0500 Received: by mail-ob0-f172.google.com with SMTP id gq1so3829657obb.17 for ; Tue, 19 Nov 2013 09:10:30 -0800 (PST) In-Reply-To: <528B884C.7070908@ti.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Nishanth Menon Cc: Shawn Guo , "Rafael J. Wysocki" , "cpufreq@vger.kernel.org" , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List , Carlos Hernandez On 19 November 2013 21:18, Nishanth Menon wrote: > is that true for userspace governor > (CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE)? > /sys/devices/system/cpu/cpu0/cpufreq $ cat scaling_available_frequencies > 500000 1000000 1500000 > > /sys/devices/system/cpu/cpu0/cpufreq $ cat scaling_cur_freq > 1100000 No, but userspace governor must take care of this stuff as it want's to change freq from userspace.. > OMAP5-UEVM will remain at this frequency for a long period of time > with AVS voltage(Adaptive Voltage Scaling technique used in OMAP to > optimize operational voltage) that was meant for 1GHz! that is > definitely not stable if there is no further transition to a valid > frequency. I understand that point, but will this stay for a long time at that freq? Why aren't governors coming into picture here? > An alternative might be to ensure CPUFREQ_GOV_LIMITS takes care of that? Again, I don't see if we really really need to do this at all..