]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq/amd-pstate: Update asym_prefer_cpu when core rankings change
authorK Prateek Nayak <kprateek.nayak@amd.com>
Wed, 9 Apr 2025 05:34:45 +0000 (05:34 +0000)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 16 Apr 2025 19:09:11 +0000 (21:09 +0200)
commit8157fbc907452aa5674df2de23c1c7305c907006
tree3f035613faeca1f99a4cb2ccadf1d7ec8fa24a13
parent0e3f6c3696424fa90d6f512779d617a05a1cf031
cpufreq/amd-pstate: Update asym_prefer_cpu when core rankings change

A subset of AMD systems supporting Preferred Core rankings can have
their rankings changed dynamically at runtime. Update the
"sg->asym_prefer_cpu" across the local hierarchy of CPU when the
preferred core ranking changes.

Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20250409053446.23367-4-kprateek.nayak@amd.com
drivers/cpufreq/amd-pstate.c