Re: [PATCH 2/2] cpufreq/powernv: Fix unsafe notifiers

2020-02-24 Thread Gautham R Shenoy
On Thu, Feb 06, 2020 at 05:26:22PM +1100, Oliver O'Halloran wrote: > The PowerNV cpufreq driver registers two notifiers: one to catch throttle > messages from the OCC and one to bump the CPU frequency back to normal > before a reboot. Both require the cpufreq driver to be registered in order > to f

[PATCH 2/2] cpufreq/powernv: Fix unsafe notifiers

2020-02-05 Thread Oliver O'Halloran
The PowerNV cpufreq driver registers two notifiers: one to catch throttle messages from the OCC and one to bump the CPU frequency back to normal before a reboot. Both require the cpufreq driver to be registered in order to function since the notifier callbacks use various cpufreq_*() functions. Ri