linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] arm64: cpufeatures: Display enabled cores
@ 2023-10-17  5:23 Jeremy Linton
  2023-10-17  5:23 ` [PATCH v2 1/3] arm64: cpufeature: Display the set of cores with a feature Jeremy Linton
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Jeremy Linton @ 2023-10-17  5:23 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: catalin.marinas, will, mark.rutland, maz, anshuman.khandual,
	krisman, broonie, james.morse, ionela.voinescu, linux-kernel,
	Jeremy Linton

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.

Since the infrastructure now exists to display the subset of cores
where a feature is enabled, lets also enable it for the Dirty Bit Management
and 32-bit EL0. The 32-bit EL0 patch is only lightly tested as the AEM/TFA
model firmware doesn't like mismatched AARCH32 support. Its also the least
ugly version of the three or so options I considered.

v1->v2:
	Add DBM and 32-bit EL0 code so they now display the core subset
	Add Ionela Voinescu review/testing tags
	Small comment tweak in the first patch

Jeremy Linton (3):
  arm64: cpufeature: Display the set of cores with a feature
  arm64: cpufeature: Change DBM to display enabled cores
  arm64: cpufeature: Change 32-bit EL0 to display enabled cores

 arch/arm64/include/asm/cpufeature.h |  2 +
 arch/arm64/kernel/cpufeature.c      | 70 ++++++++++++++---------------
 2 files changed, 36 insertions(+), 36 deletions(-)

-- 
2.41.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-10-23 17:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-17  5:23 [PATCH v2 0/3] arm64: cpufeatures: Display enabled cores Jeremy Linton
2023-10-17  5:23 ` [PATCH v2 1/3] arm64: cpufeature: Display the set of cores with a feature Jeremy Linton
2023-10-20 13:06   ` Punit Agrawal
2023-10-17  5:23 ` [PATCH v2 2/3] arm64: cpufeature: Change DBM to display enabled cores Jeremy Linton
2023-10-17  5:23 ` [PATCH v2 3/3] arm64: cpufeature: Change 32-bit EL0 " Jeremy Linton
2023-10-17 18:01   ` Marc Zyngier
2023-10-17 19:15     ` Jeremy Linton
2023-10-18 12:43       ` Marc Zyngier
2023-10-18 15:42         ` Jeremy Linton
2023-10-19 10:14           ` Robin Murphy
2023-10-23 17:33 ` (subset) [PATCH v2 0/3] arm64: cpufeatures: Display " Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).