[PATCH v2] arm64: cpucaps: Remove stale comment about keeping capabilities sorted
Will Deacon
will at kernel.org
Thu Jul 30 06:27:57 PDT 2026
There is no functional requirement to keep the entries in arm64's
tools/cpucaps file sorted alphabetically and, in fact, they have fallen
out of order over time. Given that only the arm64 tree touches this file
and the perceived benefit of sorting was to help with conflicts, just
remove the stale comment and accept that we're collectively not very
good at the alphabet.
In the limited cases where a specific ordering is important, we enforce
it through build-time assertions (e.g. in can_use_gic_priorities()).
Cc: Catalin Marinas <catalin.marinas at arm.com>
Acked-by: Mark Rutland <mark.rutland at arm.com>
Reviewed-by: Fuad Tabba <fuad.tabba at linux.dev>
Reported-by: Marc Zyngier <maz at kernel.org>
Signed-off-by: Will Deacon <will at kernel.org>
---
v1: https://lore.kernel.org/r/20260723130233.3123-1-will@kernel.org
arch/arm64/tools/cpucaps | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/tools/cpucaps b/arch/arm64/tools/cpucaps
index 9b85a84f6fd4..3fcac789b0a4 100644
--- a/arch/arm64/tools/cpucaps
+++ b/arch/arm64/tools/cpucaps
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
#
-# Internal CPU capabilities constants, keep this list sorted
+# Internal CPU capabilities constants
ALWAYS_BOOT
ALWAYS_SYSTEM
--
2.55.0.508.g3f0d502094-goog
More information about the linux-arm-kernel
mailing list