Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: topology: Skip already covered CPUs when setting freq source

The scale freq source of the CPUs in 'amu_fie_cpus' mask are already set to
AMU tick before, so in amu_fie_setup(), only the CPUs in the 'cpus' mask
should be set.

Signed-off-by: Lifeng Zheng <zhenglifeng1@huawei.com>
Reviewed-by: Beata Michalska <beata.michalska@arm.com>
Reviewed-by: Jie Zhan <zhanjie9@hisilicon.com>
Acked-by: Beata Michalska <beata.michalska@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Lifeng Zheng and committed by
Will Deacon
af15bc25 8f0b4cce

+1 -1
+1 -1
arch/arm64/kernel/topology.c
··· 272 272 273 273 cpumask_or(amu_fie_cpus, amu_fie_cpus, cpus); 274 274 275 - topology_set_scale_freq_source(&amu_sfd, amu_fie_cpus); 275 + topology_set_scale_freq_source(&amu_sfd, cpus); 276 276 277 277 pr_debug("CPUs[%*pbl]: counters will be used for FIE.", 278 278 cpumask_pr_args(cpus));