Skip to content

Commit 747d5b6

Browse files
geertuwilldeacon
authored andcommitted
arm64: topology: Do not warn on missing AMU in cpuhp_topology_online()
When CONFIG_CPUMASK_OFFSTACK is not enabled, and resuming from s2ram on Renesas R-Car H3 (big.LITTLE 4x Cortex-A57 + 4x Cortex-A53), during enabling of the first little core, a warning message is printed: AMU: CPU[4] doesn't support AMU counters This confuses users, as during boot amu_fie_setup() does not print such a message, unless debugging is enabled (freq_counters_valid() prints "CPU%d: counters are not supported.\n" at debug level in that case). Hence drop the warning, freq_counters_valid() has already printed a debug message anyway. Fixes: 6fd9be0 ("arm64: topology: Handle AMU FIE setup on CPU hotplug") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Lifeng Zheng <zhenglifeng1@huawei.com> Signed-off-by: Will Deacon <will@kernel.org>
1 parent 6fd9be0 commit 747d5b6

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

arch/arm64/kernel/topology.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ static int cpuhp_topology_online(unsigned int cpu)
332332
* may use different source of the freq scale.
333333
*/
334334
if (!freq_counters_valid(cpu)) {
335-
pr_warn("CPU[%u] doesn't support AMU counters\n", cpu);
336335
topology_clear_scale_freq_source(SCALE_FREQ_SOURCE_ARCH,
337336
policy->related_cpus);
338337
cpumask_andnot(amu_fie_cpus, amu_fie_cpus, policy->related_cpus);

0 commit comments

Comments
 (0)