aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristian 'Ansuel' Marangi <[email protected]>2022-06-14 13:06:59 +0200
committerChanwoo Choi <[email protected]>2022-06-30 05:11:17 +0900
commit57e00b40033a376de3f3cf0bb9bf7590d2dd679d (patch)
treea91b93798e013ff7c8c95739a43148aae7318a1a /tools/perf/scripts/python/export-to-postgresql.py
parent03c765b0e3b4cb5063276b086c76f7a612856a9a (diff)
PM / devfreq: Fix kernel panic with cpu based scaling to passive gov
The cpufreq passive register notifier can PROBE_DEFER and the devfreq struct is freed and then reallocaed on probe retry. The current logic assume that the code can't PROBE_DEFER so the devfreq struct in the this variable in devfreq_passive_data is assumed to be (if already set) always correct. This cause kernel panic as the code try to access the wrong address. To correctly handle this, update the this variable in devfreq_passive_data to the devfreq reallocated struct. Fixes: a03dacb0316f ("PM / devfreq: Add cpu based scaling support to passive governor") Signed-off-by: Christian 'Ansuel' Marangi <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions