From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Subject: Re: [PATCH v5 2/7] cpufreq: Add boost frequency support in core Date: Wed, 17 Jul 2013 09:00:44 +0200 Message-ID: <20130717090044.4392d86a@amdc308.digital.local> References: <1370502472-7249-1-git-send-email-l.majewski@samsung.com> <1372927830-2949-1-git-send-email-l.majewski@samsung.com> <1372927830-2949-3-git-send-email-l.majewski@samsung.com> <20130716140632.70fb2838@amdc308.digital.local> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-reply-to: Sender: cpufreq-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Viresh Kumar Cc: "Rafael J. Wysocki" , Zhang Rui , Eduardo Valentin , "cpufreq@vger.kernel.org" , Linux PM list , Jonghwa Lee , l.majewski@majess.pl, linux-kernel , Andre Przywara , Daniel Lezcano , Kukjin Kim , Myungjoo Ham On Wed, 17 Jul 2013 10:58:40 +0530 Viresh Kumar viresh.kumar@linaro.org wrote, > On 16 July 2013 17:36, Lukasz Majewski wrote: > > On Tue, 16 Jul 2013 15:11:54 +0530 Viresh Kumar > > viresh.kumar@linaro.org wrote, > >> On 4 July 2013 14:20, Lukasz Majewski > >> wrote: > > >> > +void cpufreq_set_boost_enabled(int state) > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [*] > > > >> > >> Maybe cpufreq_block_boost? As suggested by Rafael. > > > > What do you mean by cpufreq_block_boost()? This name would reverse > > the logic. > > > > Function [*] is used to change boost_enabled static flag (defined at > > cpufreq.c file) state according to acpi-cpufreq.c boost support > > status. > > I misread it again :( > > So, what about adding another field in struct cpufreq_driver: > boost_enabled? And get rid of the global boost_enabled we have used? > Similar to how boost_supported is used, then we don't need this > routine. Ok, I will implement this. -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group