diff options
author | Marc Zyngier <maz@kernel.org> | 2022-04-20 14:21:12 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-04-20 14:24:44 +0200 |
commit | 69bb02ebc38ace438c9cd7c5315cfe43862b51fe (patch) | |
tree | a40971e4b2c56ea563a3c573a2ad5f606982021f /arch/arm64/include/uapi/asm/hwcap.h | |
parent | arm64: Add RV and RN fields for ESR_ELx_WFx_ISS (diff) | |
download | linux-69bb02ebc38ace438c9cd7c5315cfe43862b51fe.tar.xz linux-69bb02ebc38ace438c9cd7c5315cfe43862b51fe.zip |
arm64: Add HWCAP advertising FEAT_WFXT
In order to allow userspace to enjoy WFET, add a new HWCAP that
advertises it when available.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20220419182755.601427-9-maz@kernel.org
Diffstat (limited to 'arch/arm64/include/uapi/asm/hwcap.h')
-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 99cb5d383048..9dddde1d046c 100644 --- a/arch/arm64/include/uapi/asm/hwcap.h +++ b/arch/arm64/include/uapi/asm/hwcap.h @@ -79,5 +79,6 @@ #define HWCAP2_AFP (1 << 20) #define HWCAP2_RPRES (1 << 21) #define HWCAP2_MTE3 (1 << 22) +#define HWCAP2_WFXT (1 << 23) #endif /* _UAPI__ASM_HWCAP_H */ |