Re: [PATCH v2] ppc: cpufreq: disable preemption while checking CPU throttling state

2016-11-08 Thread Michael Ellerman
Gautham R Shenoy writes: > On Tue, Nov 08, 2016 at 11:21:23AM +1100, Michael Ellerman wrote: >> Denis Kirjanov writes: >> > On 11/7/16, Michael Ellerman wrote: >> >> Denis Kirjanov writes: >> >>>

Re: [PATCH v2] ppc: cpufreq: disable preemption while checking CPU throttling state

2016-11-07 Thread Gautham R Shenoy
Hi Michael, On Tue, Nov 08, 2016 at 11:21:23AM +1100, Michael Ellerman wrote: > Denis Kirjanov writes: > > On 11/7/16, Michael Ellerman wrote: > >> Denis Kirjanov writes: > >>> [ 67.700897] BUG: using smp_processor_id()

Re: [PATCH v2] ppc: cpufreq: disable preemption while checking CPU throttling state

2016-11-07 Thread Michael Ellerman
Denis Kirjanov writes: > On 11/7/16, Michael Ellerman wrote: >> Denis Kirjanov writes: >>> [ 67.700897] BUG: using smp_processor_id() in preemptible [] >>> code: cat/7343 >>> [ 67.700988] caller is

Re: [PATCH v2] ppc: cpufreq: disable preemption while checking CPU throttling state

2016-11-07 Thread Denis Kirjanov
On 11/7/16, Michael Ellerman wrote: > Denis Kirjanov writes: > >> [ 67.700897] BUG: using smp_processor_id() in preemptible [] >> code: cat/7343 >> [ 67.700988] caller is .powernv_cpufreq_throttle_check+0x2c/0x710 >> [

Re: [PATCH v2] ppc: cpufreq: disable preemption while checking CPU throttling state

2016-11-06 Thread Michael Ellerman
Denis Kirjanov writes: > [ 67.700897] BUG: using smp_processor_id() in preemptible [] > code: cat/7343 > [ 67.700988] caller is .powernv_cpufreq_throttle_check+0x2c/0x710 > [ 67.700998] CPU: 13 PID: 7343 Comm: cat Not tainted 4.8.0-rc5-dirty #1

Re: [PATCH v2] ppc: cpufreq: disable preemption while checking CPU throttling state

2016-11-06 Thread Denis Kirjanov
On Monday, November 7, 2016, Gautham R Shenoy wrote: > Hi Denis, > > On Fri, Nov 04, 2016 at 07:08:38AM -0400, Denis Kirjanov wrote: > > You can provide the config option with which this bug was found in the > change log. I suppose you had enabled CONFIG_DEBUG_PREEMPT. >

Re: [PATCH v2] ppc: cpufreq: disable preemption while checking CPU throttling state

2016-11-06 Thread Gautham R Shenoy
Hi Denis, On Fri, Nov 04, 2016 at 07:08:38AM -0400, Denis Kirjanov wrote: You can provide the config option with which this bug was found in the change log. I suppose you had enabled CONFIG_DEBUG_PREEMPT. > [ 67.700897] BUG: using smp_processor_id() in preemptible [] > code:

[PATCH v2] ppc: cpufreq: disable preemption while checking CPU throttling state

2016-11-04 Thread Denis Kirjanov
[ 67.700897] BUG: using smp_processor_id() in preemptible [] code: cat/7343 [ 67.700988] caller is .powernv_cpufreq_throttle_check+0x2c/0x710 [ 67.700998] CPU: 13 PID: 7343 Comm: cat Not tainted 4.8.0-rc5-dirty #1 [ 67.701038] Call Trace: [ 67.701066]