aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorLifeng Zheng <[email protected]>2025-01-10 09:19:49 +0000
committerMario Limonciello <[email protected]>2025-02-03 06:04:23 +0000
commitfa803513ab68ba07369643393f1754b845160030 (patch)
tree74a10f342df0d309b05002999a6cd40d469778a3 /net/unix/unix_bpf.c
parentLinux 6.14-rc1 (diff)
downloadkernel-fa803513ab68ba07369643393f1754b845160030.tar.gz
kernel-fa803513ab68ba07369643393f1754b845160030.zip
cpufreq/amd-pstate: Fix per-policy boost flag incorrect when fail
Commit c8c68c38b56f ("cpufreq: amd-pstate: initialize core precision boost state") sets per-policy boost flag to false when boost fail. However, this boost flag will be set to reverse value in store_local_boost() and cpufreq_boost_trigger_state() in cpufreq.c. This will cause the per-policy boost flag set to true when fail to set boost. Remove the extra assignment in amd_pstate_set_boost() and keep all operations on per-policy boost flag outside of set_boost() to fix this problem. Fixes: c8c68c38b56f ("cpufreq: amd-pstate: initialize core precision boost state") Signed-off-by: Lifeng Zheng <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mario Limonciello <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions