diff options
author | Marc Zyngier <[email protected]> | 2022-04-20 13:21:12 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-04-20 13:24:44 +0100 |
commit | 69bb02ebc38ace438c9cd7c5315cfe43862b51fe (patch) | |
tree | a40971e4b2c56ea563a3c573a2ad5f606982021f /arch/arm64/include/uapi/asm/hwcap.h | |
parent | bdcc2f280334e4e3f42a5a740494444f1026fb65 (diff) |
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 <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
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 */ |