[PATCH v2] arm64: cpucaps: Remove stale comment about keeping capabilities sorted
Marc Zyngier
maz at kernel.org
Thu Jul 30 06:41:00 PDT 2026
On Thu, 30 Jul 2026 14:27:57 +0100,
Will Deacon <will at kernel.org> wrote:
>
> 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>
Acked-by: Marc Zyngier <maz at kernel.org>
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list