Searched refs:xfeatures (Results 1 – 13 of 13) sorted by relevance
/linux-5.19.10/arch/x86/kernel/fpu/ |
D | xstate.c | 403 if (hdr->xfeatures & ~fpstate->user_xfeatures) in validate_user_xstate_header() 564 static unsigned int xstate_calculate_size(u64 xfeatures, bool compacted) in xstate_calculate_size() argument 566 unsigned int topmost = fls64(xfeatures) - 1; in xstate_calculate_size() 573 offset = xfeature_get_offset(xfeatures, topmost); in xstate_calculate_size() 769 u64 xfeatures; in fpu__init_system_xstate() local 843 xfeatures = fpu_kernel_cfg.max_features; in fpu__init_system_xstate() 884 if (xfeatures != fpu_kernel_cfg.max_features) { in fpu__init_system_xstate() 886 xfeatures, fpu_kernel_cfg.max_features); in fpu__init_system_xstate() 990 if (!(xsave->header.xfeatures & BIT_ULL(xfeature_nr))) in get_xsave_addr() 1075 header.xfeatures = xsave->header.xfeatures; in __copy_xstate_to_uabi_buf() [all …]
|
D | signal.c | 62 fx_sw->xfeatures = XFEATURE_MASK_FPSSE; in check_xstate_in_sigframe() 110 sw_bytes->xfeatures = fpstate->user_xfeatures; in save_sw_bytes() 122 u32 xfeatures; in save_xstate_epilog() local 139 err |= __get_user(xfeatures, (__u32 __user *)&x->header.xfeatures); in save_xstate_epilog() 152 xfeatures |= XFEATURE_MASK_FPSSE; in save_xstate_epilog() 154 err |= __put_user(xfeatures, (__u32 __user *)&x->header.xfeatures); in save_xstate_epilog() 353 user_xfeatures = fx_sw_user.xfeatures; in __fpu_restore_sig() 417 fpregs->xsave.header.xfeatures |= XFEATURE_MASK_FPSSE; in __fpu_restore_sig() 436 fpregs->xsave.header.xfeatures &= mask; in __fpu_restore_sig()
|
D | core.c | 97 if (fpu->fpstate->regs.xsave.header.xfeatures & AVX512_TRACKING_MASK) in update_avx_timestamp() 235 gfpu->xfeatures = fpu_user_cfg.default_features; in fpu_alloc_guest_fpstate() 281 int fpu_enable_guest_xfd_features(struct fpu_guest *guest_fpu, u64 xfeatures) in fpu_enable_guest_xfd_features() argument 286 xfeatures &= ~guest_fpu->xfeatures; in fpu_enable_guest_xfd_features() 287 if (!xfeatures) in fpu_enable_guest_xfd_features() 290 return __xfd_enable_feature(xfeatures, guest_fpu); in fpu_enable_guest_xfd_features() 384 ustate->xsave.header.xfeatures = XFEATURE_MASK_FPSSE; in fpu_copy_guest_fpstate_to_uabi() 398 if (ustate->xsave.header.xfeatures & ~XFEATURE_MASK_FPSSE) in fpu_copy_uabi_to_guest_fpstate() 406 if (ustate->xsave.header.xfeatures & ~xcr0) in fpu_copy_uabi_to_guest_fpstate() 414 if (kstate->regs.xsave.header.xfeatures & XFEATURE_MASK_PKRU) { in fpu_copy_uabi_to_guest_fpstate() [all …]
|
D | regset.c | 124 fpu->fpstate->regs.xsave.header.xfeatures |= XFEATURE_MASK_FPSSE; in xfpregs_set() 381 fpu->fpstate->regs.xsave.header.xfeatures |= XFEATURE_MASK_FP; in fpregs_set()
|
D | init.c | 217 init_fpstate.xfeatures = fpu_kernel_cfg.max_features; in fpu__init_init_fpstate()
|
D | xstate.h | 179 u64 mask = fpstate->xfeatures; in os_xsave()
|
/linux-5.19.10/arch/x86/include/asm/trace/ |
D | fpu.h | 17 __field(u64, xfeatures) 25 __entry->xfeatures = fpu->fpstate->regs.xsave.header.xfeatures; 32 __entry->xfeatures,
|
/linux-5.19.10/tools/testing/selftests/x86/ |
D | corrupt_xstate_header.c | 49 uint64_t *xfeatures = (uint64_t *)(fpstate + 512); in sigusr1() local 53 *(xfeatures + 2) = 0xfffffff; in sigusr1()
|
/linux-5.19.10/arch/x86/include/asm/fpu/ |
D | types.h | 301 u64 xfeatures; member 352 u64 xfeatures; member 511 u64 xfeatures; member
|
D | api.h | 141 extern int fpu_enable_guest_xfd_features(struct fpu_guest *guest_fpu, u64 xfeatures);
|
/linux-5.19.10/arch/x86/include/asm/ |
D | user.h | 19 __u64 xfeatures; member
|
/linux-5.19.10/arch/x86/include/uapi/asm/ |
D | sigcontext.h | 60 __u64 xfeatures; member 175 __u64 xfeatures; member
|
/linux-5.19.10/arch/x86/kvm/ |
D | cpuid.c | 93 u64 xfeatures; in kvm_check_cpuid() local 115 xfeatures = best->eax | ((u64)best->edx << 32); in kvm_check_cpuid() 116 xfeatures &= XFEATURE_MASK_USER_DYNAMIC; in kvm_check_cpuid() 117 if (!xfeatures) in kvm_check_cpuid() 120 return fpu_enable_guest_xfd_features(&vcpu->arch.guest_fpu, xfeatures); in kvm_check_cpuid()
|