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

From: Mark Brown
Date: Thu Feb 16 2023 - 11:23:09 EST


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@xxxxxxx>
> ---
> 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.

Attachment: signature.asc
Description: PGP signature