summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2024-05-27 17:25:52 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2024-08-05 14:14:52 +0300
commitb87eee38605c396f0e1fa435939960e5c6cd41d6 (patch)
tree501a68ef31f884a95c246ec895128bab89b29c47 /tools/perf/scripts/python/stackcollapse.py
parentd7bdb8e6aabe218fd980768a1486434e42761539 (diff)
downloadlinux-b87eee38605c396f0e1fa435939960e5c6cd41d6.tar.xz
pmdomain: core: Don't hold the genpd-lock when calling dev_pm_domain_set()
There is no need to hold the genpd-lock, while assigning the dev->pm_domain. In fact, it becomes a problem on a PREEMPT_RT based configuration as the genpd-lock may be a raw spinlock, while the lock acquired through the call to dev_pm_domain_set() is a regular spinlock. To fix the problem, let's simply move the calls to dev_pm_domain_set() outside the genpd-lock. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com> # qcm6490 with PREEMPT_RT set Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Link: https://lore.kernel.org/r/20240527142557.321610-3-ulf.hansson@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions