[PATCH 11/37] arm64: Rename SVE/SME cpu_enable functions
Mark Brown
broonie at kernel.org
Tue Sep 19 03:52:47 PDT 2023
On Tue, Sep 19, 2023 at 10:28:24AM +0100, Mark Rutland wrote:
> The arm64_cpu_capabilities::cpu_enable() callbacks for SVE, SME, SME2,
> and FA64 are named with an unusual "${feature}_kernel_enable" pattern
> rather than the much more common "cpu_enable_${feature}". Now that we
> only use these as cpu_enable() callbacks, it would be nice to have them
> match the usual scheme.
Reviewed-by: Mark Brown <broonie at kernel.org>
However:
> This patch renames the cpu_enable() callbacks to match this scheme. At
> the tsame time, the existing comments regarding ordering requirements
Typo.
> are turned into build-time assertions, matching what we do for
> can_use_gic_priorities() and has_gic_prio_relaxed_sync(), and the newly
> redundant comments are removed.
This should really be a separate commit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230919/91b6ea3f/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list