Searched refs:X86_FEATURE_PKU (Results 1 – 13 of 13) sorted by relevance
84 #define X86_FEATURE_PKU (1<<3) /* Protection Keys for Userspace */ macro96 if (!(ecx & X86_FEATURE_PKU)) { in cpu_has_pkeys()
37 # define DISABLE_PKU (1<<(X86_FEATURE_PKU & 31))
364 #define X86_FEATURE_PKU (16*32+ 3) /* Protection Keys for Userspace */ macro
367 #define X86_FEATURE_PKU (16*32+ 3) /* Protection Keys for Userspace */ macro
28 { X86_FEATURE_PKU, X86_FEATURE_XSAVE },
533 if (pku_disabled || !cpu_feature_enabled(X86_FEATURE_PKU)) in setup_pku()
71 if (kvm_cpu_has(X86_FEATURE_PKU)) in calc_supported_cr4_feature_bits()
467 if (!__cpu_has(__c, X86_FEATURE_PKU)) \
266 if (best && boot_cpu_has(X86_FEATURE_PKU) && best->function == 0x7) in __kvm_update_cpuid_runtime()638 kvm_cpu_cap_clear(X86_FEATURE_PKU); in kvm_set_cpu_caps()
1001 if (static_cpu_has(X86_FEATURE_PKU) && in kvm_load_guest_xsave_state()1016 if (static_cpu_has(X86_FEATURE_PKU) && in kvm_load_host_xsave_state()
109 #define X86_FEATURE_PKU KVM_X86_CPU_FEATURE(0x7, 0, ECX, 3) macro
74 [XFEATURE_PKRU] = X86_FEATURE_PKU,