[PATCH] kselftest/arm64: add RCpc load-acquire to the tested hwcaps
Mark Brown
broonie at kernel.org
Thu Aug 3 04:36:15 PDT 2023
On Thu, Aug 03, 2023 at 03:02:31PM +0800, Zeng Heng wrote:
> @@ -364,6 +376,20 @@ static const struct hwcap_data {
> .hwcap_bit = HWCAP2_SVE_EBF16,
> .cpuinfo = "sveebf16",
> },
> + {
> + .name = "RCpc load-acquire",
> + .at_hwcap = AT_HWCAP,
> + .hwcap_bit = HWCAP_LRCPC,
> + .cpuinfo = "lrcpc",
> + .sigill_fn = lrcpc_sigill,
> + },
The table is roughly ordered by feature name, it'd be good to keep it
that way (apart from anything else it minimises merge conflicts). It'd
also be good to follow the existing style and use the FEAT_ name for the
feature as the display name, if there isn't one then at least something
similarly all caps like the name of the ID register field?
-------------- 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/20230803/a3d990ee/attachment.sig>
More information about the linux-arm-kernel
mailing list