diff options
author | 2023-05-09 15:22:33 +0100 | |
---|---|---|
committer | 2023-06-05 17:05:41 +0100 | |
commit | b7564127ffcb1a26854d7515a0918d775e663639 (patch) | |
tree | 2cc3886f5ac48f7720e78deba727f806823b2b62 /arch/arm64/include/uapi/asm | |
parent | arm64: mops: handle single stepping after MOPS exception (diff) | |
download | linux-b7564127ffcb1a26854d7515a0918d775e663639.tar.gz linux-b7564127ffcb1a26854d7515a0918d775e663639.tar.bz2 linux-b7564127ffcb1a26854d7515a0918d775e663639.zip |
arm64: mops: detect and enable FEAT_MOPS
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.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Kristina Martsenko <kristina.martsenko@arm.com>
Link: https://lore.kernel.org/r/20230509142235.3284028-10-kristina.martsenko@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/uapi/asm')
-rw-r--r-- | arch/arm64/include/uapi/asm/hwcap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h index 69a4fb749c65..a2cac4305b1e 100644 --- a/arch/arm64/include/uapi/asm/hwcap.h +++ b/arch/arm64/include/uapi/asm/hwcap.h @@ -102,5 +102,6 @@ #define HWCAP2_SME_BI32I32 (1UL << 40) #define HWCAP2_SME_B16B16 (1UL << 41) #define HWCAP2_SME_F16F16 (1UL << 42) +#define HWCAP2_MOPS (1UL << 43) #endif /* _UAPI__ASM_HWCAP_H */ |