[PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-19 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Subject: [PATCH] cpufreq: Support for fast frequency switching Modify the ACPI cpufreq driver to provide a method for switching CPU frequencies from interrupt context and update the cpufreq core to support that method if available. Introduce a

[PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-19 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Subject: [PATCH] cpufreq: Support for fast frequency switching Modify the ACPI cpufreq driver to provide a method for switching CPU frequencies from interrupt context and update the cpufreq core to support that method if available. Introduce a new cpufreq driver

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-19 Thread Peter Zijlstra
On Thu, Mar 17, 2016 at 11:35:07AM +, Juri Lelli wrote: > > + pr_warn("cpufreq: CPU%u: Fast freqnency switching not > > enabled\n", > > Ultra-minor nit: s/freqnency/frequency/ > > Also, is this really a warning or just a debug message? (everything > seems to work fine on Juno

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-19 Thread Peter Zijlstra
On Thu, Mar 17, 2016 at 11:35:07AM +, Juri Lelli wrote: > > + pr_warn("cpufreq: CPU%u: Fast freqnency switching not > > enabled\n", > > Ultra-minor nit: s/freqnency/frequency/ > > Also, is this really a warning or just a debug message? (everything > seems to work fine on Juno

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-19 Thread Juri Lelli
On 17/03/16 12:40, Peter Zijlstra wrote: > On Thu, Mar 17, 2016 at 11:35:07AM +, Juri Lelli wrote: > > > > + pr_warn("cpufreq: CPU%u: Fast freqnency switching not > > > enabled\n", > > > > Ultra-minor nit: s/freqnency/frequency/ > > > > Also, is this really a warning or just a

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-19 Thread Juri Lelli
On 17/03/16 12:40, Peter Zijlstra wrote: > On Thu, Mar 17, 2016 at 11:35:07AM +, Juri Lelli wrote: > > > > + pr_warn("cpufreq: CPU%u: Fast freqnency switching not > > > enabled\n", > > > > Ultra-minor nit: s/freqnency/frequency/ > > > > Also, is this really a warning or just a

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-19 Thread Rafael J. Wysocki
On Thu, Mar 17, 2016 at 12:48 PM, Juri Lelli wrote: > On 17/03/16 12:40, Peter Zijlstra wrote: >> On Thu, Mar 17, 2016 at 11:35:07AM +, Juri Lelli wrote: >> >> > > + pr_warn("cpufreq: CPU%u: Fast freqnency switching not >> > > enabled\n", >> > >> > Ultra-minor

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-19 Thread Rafael J. Wysocki
On Thu, Mar 17, 2016 at 12:48 PM, Juri Lelli wrote: > On 17/03/16 12:40, Peter Zijlstra wrote: >> On Thu, Mar 17, 2016 at 11:35:07AM +, Juri Lelli wrote: >> >> > > + pr_warn("cpufreq: CPU%u: Fast freqnency switching not >> > > enabled\n", >> > >> > Ultra-minor nit:

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-18 Thread Juri Lelli
Hi, On 17/03/16 00:51, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > Subject: [PATCH] cpufreq: Support for fast frequency switching > [...] > +void cpufreq_enable_fast_switch(struct cpufreq_policy *policy) > +{ > + lockdep_assert_held(>rwsem); > + > +

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-18 Thread Juri Lelli
Hi, On 17/03/16 00:51, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > Subject: [PATCH] cpufreq: Support for fast frequency switching > [...] > +void cpufreq_enable_fast_switch(struct cpufreq_policy *policy) > +{ > + lockdep_assert_held(>rwsem); > + > +