[PATCH 09/10] arm64: mops: detect and enable FEAT_MOPS

Mark Brown broonie at kernel.org
Thu Feb 16 08:22:59 PST 2023


On Thu, Feb 16, 2023 at 04:00:11PM +0000, Kristina Martsenko wrote:

> The Arm v8.8/9.3 FEAT_MOPS feature provides new instructions that
> perform a memory copy or set. Wire up the cpufeature code to detect the
> presence of FEAT_MOPS and enable it.
> 
> Signed-off-by: Kristina Martsenko <kristina.martsenko at arm.com>
> ---
>  Documentation/arm64/cpu-feature-registers.rst |  2 ++
>  Documentation/arm64/elf_hwcaps.rst            |  3 +++
>  arch/arm64/include/asm/hwcap.h                |  1 +
>  arch/arm64/include/uapi/asm/hwcap.h           |  1 +
>  arch/arm64/kernel/cpufeature.c                | 19 +++++++++++++++++++
>  arch/arm64/kernel/cpuinfo.c                   |  1 +
>  arch/arm64/tools/cpucaps                      |  1 +
>  7 files changed, 28 insertions(+)

Please also add this to the hwcaps selftest.
-------------- 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/20230216/1cfcff93/attachment.sig>


More information about the linux-arm-kernel mailing list