aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2021-11-08 07:23:44 +0100
committerRafael J. Wysocki <[email protected]>2021-11-10 21:18:14 +0100
commit4d1cd1443db3d5605ebcde8672869b1944ade92d (patch)
treecf220fbc53828d88e9596e3cdbe01f28e9e69a52 /tools/perf/scripts/python/export-to-sqlite.py
parent881007522c8fcc3785c75432dbb149ca1b78e106 (diff)
powercap: DTPM: Fix suspend failure and kernel warning
When the ENERGY_MODEL and DTPM_CPU are enabled but actually without any energy model, at cpu hotplug time, the dead cpuhp callback fails leading to the warning. Actually, the check could be simplified and we only do an action if the dtpm cpu is enabled, otherwise we bail out without error. Fixes: 7a89d7eacf8e ("powercap/drivers/dtpm: Simplify the dtpm table") Reported-by: Kenneth R. Crudup <[email protected]> Tested-by: Kenneth R. Crudup <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions