aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOliver O'Halloran <[email protected]>2020-02-06 17:26:22 +1100
committerMichael Ellerman <[email protected]>2020-03-13 21:13:11 +1100
commit966c08de7c2c9bcac13e2cb9e769a39582d5389f (patch)
treef0b09544f7574ffa1a0776c7cf7d47e64de1c936 /tools/perf/scripts/python/export-to-postgresql.py
parentd0a72efac89d1c35ac55197895201b7b94c5e6ef (diff)
cpufreq: powernv: Fix unsafe notifiers
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. Right now we register both notifiers before we've initialised the driver. This seems to work, but we should head off any protential problems by registering the notifiers after the driver is initialised. Signed-off-by: Oliver O'Halloran <[email protected]> Reviewed-by: Gautham R. Shenoy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions