Commit 23b727d
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>1 parent 6465e26 commit 23b727d
2 files changed
Lines changed: 15 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
380 | 381 | | |
381 | 382 | | |
382 | 383 | | |
| 384 | + | |
383 | 385 | | |
384 | 386 | | |
385 | 387 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1944 | 1944 | | |
1945 | 1945 | | |
1946 | 1946 | | |
1947 | | - | |
1948 | | - | |
1949 | 1947 | | |
1950 | 1948 | | |
1951 | 1949 | | |
| |||
2405 | 2403 | | |
2406 | 2404 | | |
2407 | 2405 | | |
2408 | | - | |
2409 | | - | |
2410 | | - | |
2411 | | - | |
2412 | | - | |
2413 | | - | |
| 2406 | + | |
2414 | 2407 | | |
2415 | 2408 | | |
2416 | 2409 | | |
2417 | 2410 | | |
| 2411 | + | |
2418 | 2412 | | |
2419 | 2413 | | |
2420 | 2414 | | |
| |||
2981 | 2975 | | |
2982 | 2976 | | |
2983 | 2977 | | |
2984 | | - | |
| 2978 | + | |
2985 | 2979 | | |
2986 | 2980 | | |
2987 | 2981 | | |
| |||
3330 | 3324 | | |
3331 | 3325 | | |
3332 | 3326 | | |
| 3327 | + | |
3333 | 3328 | | |
3334 | 3329 | | |
3335 | 3330 | | |
| |||
3338 | 3333 | | |
3339 | 3334 | | |
3340 | 3335 | | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
| 3339 | + | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
3341 | 3345 | | |
3342 | 3346 | | |
3343 | 3347 | | |
| |||
0 commit comments