diff options
| author | Rafael J. Wysocki <[email protected]> | 2025-05-12 13:23:30 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-05-13 12:27:11 +0000 |
| commit | f7e9228532beb5c0cbb11101384ed977806ef691 (patch) | |
| tree | ab9de094d0f356fd290ad3279a76b8bd3920fa67 /rust/helpers/clk.c | |
| parent | Merge tag 'amd-pstate-v6.16-2025-05-08' of ssh://gitolite.kernel.org/pub/scm/... (diff) | |
| download | kernel-f7e9228532beb5c0cbb11101384ed977806ef691.tar.gz kernel-f7e9228532beb5c0cbb11101384ed977806ef691.zip | |
cpufreq: Drop policy locking from cpufreq_policy_is_good_for_eas()
Policy locking was added to cpufreq_policy_is_good_for_eas() by commit
4854649b1fb4 ("cpufreq/sched: Move cpufreq-specific EAS checks to
cpufreq") to address a theoretical race condition, but it turned out to
introduce a circular locking dependency between the policy rwsem and
sched_domains_mutex via cpuset_mutex. This leads to a board lockup on
OdroidN2 that is based on the ARM64 Amlogic Meson SoC.
Drop the policy locking from cpufreq_policy_is_good_for_eas() to address
this issue.
Fixes: 4854649b1fb4 ("cpufreq/sched: Move cpufreq-specific EAS checks to cpufreq")
Closes: https://lore.kernel.org/linux-pm/[email protected]/
Reported-by: Marek Szyprowski <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'rust/helpers/clk.c')
0 files changed, 0 insertions, 0 deletions
