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

Michael Ellerman mpe at ellerman.id.au
Tue Nov 8 11:21:23 AEDT 2016


Denis Kirjanov <kda at linux-powerpc.org> writes:
> On 11/7/16, Michael Ellerman <mpe at ellerman.id.au> wrote:
>> Denis Kirjanov <kda at linux-powerpc.org> writes:
>>>     [   67.700897] BUG: using smp_processor_id() in preemptible [00000000] code: cat/7343
>>>     [   67.700988] caller is .powernv_cpufreq_throttle_check+0x2c/0x710
>>
>> When did this break?
>
> I think that problem exists since commit
> 09a972d1620934142d30cfda455ffe429af751c4 ("cpufreq: powernv: Report
> cpu frequency throttling") but I can be wrong

Yep that looks right to me, thanks.

Gautham, how bad is the bug here, do we want to send this to stable?

cheers


More information about the Linuxppc-dev mailing list