[PATCH 15/37] arm64: Avoid cpus_have_const_cap() for ARM64_HAS_BTI

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


On Tue, Sep 19, 2023 at 10:28:28AM +0100, Mark Rutland wrote:
> In system_supports_bti() we use cpus_have_const_cap() to check for
> ARM64_HAS_BTI, but this is not necessary and alternative_has_cap_*() or
> cpus_have_final_*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/451a4bed/attachment.sig>


More information about the linux-arm-kernel mailing list