xref: /openbmc/linux/arch/x86/include/uapi/asm/hwcap2.h (revision 762f99f4f3cb41a775b5157dd761217beba65873)
1d9c52522SMasahiro Yamada /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
20274f955SGrzegorz Andrejczuk #ifndef _ASM_X86_HWCAP2_H
30274f955SGrzegorz Andrejczuk #define _ASM_X86_HWCAP2_H
40274f955SGrzegorz Andrejczuk 
5*d06aca98SJoe Richey #include <linux/const.h>
6*d06aca98SJoe Richey 
70274f955SGrzegorz Andrejczuk /* MONITOR/MWAIT enabled in Ring 3 */
8*d06aca98SJoe Richey #define HWCAP2_RING3MWAIT		_BITUL(0)
90274f955SGrzegorz Andrejczuk 
10742c45c3SAndi Kleen /* Kernel allows FSGSBASE instructions available in Ring 3 */
11*d06aca98SJoe Richey #define HWCAP2_FSGSBASE			_BITUL(1)
12742c45c3SAndi Kleen 
130274f955SGrzegorz Andrejczuk #endif
14