]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: cpufeature: Display the set of cores with a feature
authorJeremy Linton <jeremy.linton@arm.com>
Tue, 17 Oct 2023 05:23:20 +0000 (00:23 -0500)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 23 Oct 2023 15:40:37 +0000 (16:40 +0100)
commit23b727dc2092d4b0604347ff3f0a75705078058a
treef1c9f169a4146fa8301dfd5f4d965d4e0b036d33
parent6465e260f48790807eef06b583b38ca9789b6072
arm64: cpufeature: Display the set of cores with a feature

The AMU feature can be enabled on a subset of the cores in a system.
Because of that, it prints a message for each core as it is detected.
This becomes tedious when there are hundreds of cores. Instead, for
CPU features which can be enabled on a subset of the present cores,
lets wait until update_cpu_capabilities() and print the subset of cores
the feature was enabled on.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Ionela Voinescu <ionela.voinescu@arm.com>
Tested-by: Ionela Voinescu <ionela.voinescu@arm.com>
Reviewed-by: Punit Agrawal <punit.agrawal@bytedance.com>
Tested-by: Punit Agrawal <punit.agrawal@bytedance.com>
Link: https://lore.kernel.org/r/20231017052322.1211099-2-jeremy.linton@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpufeature.c