[PATCH 28/37] arm64: Avoid cpus_have_const_cap() for ARM64_{SVE,SME,SME2,FA64}

Mark Brown broonie at kernel.org
Tue Sep 19 04:27:03 PDT 2023


On Tue, Sep 19, 2023 at 10:28:41AM +0100, Mark Rutland wrote:
> In system_supports_{sve,sme,sme2,fa64}() we use cpus_have_const_cap() to
> check for the relevant cpucaps, but this is only necessary so that
> sve_setup() and sme_setup() can run prior to alternatives being patched,
> and otherwise alternative_has_cap_*() would be preferable.

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- 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/257b4560/attachment.sig>


More information about the linux-arm-kernel mailing list