Home
last modified time | relevance | path

Searched refs:xsave (Results 1 – 14 of 14) sorted by relevance

/linux/tools/testing/selftests/kvm/x86/
H A Dsev_smoke_test.c115 struct kvm_xsave __attribute__((aligned(64))) xsave = { 0 }; in test_sync_vmsa() local
129 : "=m"(xsave) in test_sync_vmsa()
130 : "A"(XFEATURE_MASK_X87_AVX), "r"(&xsave), "m" (x87val) in test_sync_vmsa()
132 vcpu_xsave_set(vcpu, &xsave); in test_sync_vmsa()
148 compare_xsave((u8 *)&xsave, (u8 *)hva); in test_sync_vmsa()
H A Dstate_test.c327 xstate_bv = (void *)&((u8 *)state->xsave->region)[512]; in main()
331 vcpu_xsave_set(vcpuN, state->xsave); in main()
333 vcpu_xsave_set(vcpuN, state->xsave); in main()
336 vcpu_xsave_set(vcpuN, state->xsave); in main()
338 vcpu_xsave_set(vcpuN, state->xsave); in main()
H A Damx_test.c300 void *amx_start = (void *)tile_state->xsave + amx_offset; in main()
308 vcpu_xsave_set(vcpu, tile_state->xsave); in main()
/linux/arch/x86/include/asm/fpu/
H A Dxstate.h111 void xsaves(struct xregs_state *xsave, u64 mask);
112 void xrstors(struct xregs_state *xsave, u64 mask);
H A Dtypes.h373 struct xregs_state xsave; member
/linux/arch/x86/include/asm/trace/
H A Dfpu.h25 __entry->xfeatures = fpu->fpstate->regs.xsave.header.xfeatures;
26 __entry->xcomp_bv = fpu->fpstate->regs.xsave.header.xcomp_bv;
/linux/tools/testing/selftests/mm/
H A Dprotection_keys.c307 dprintf1("signal pkey_reg from xsave: %08x\n", *pkey_reg_ptr); in si_code_str()
1382 void *xsave; in get_pointer_to_instructions()
1422 xsave = (void *)malloc(xsave_size); in test_executing_on_unreadable_memory()
1423 pkey_assert(xsave > 0); in test_executing_on_unreadable_memory()
1426 iov.iov_base = xsave; in test_executing_on_unreadable_memory()
1431 pkey_register = (u32 *)(xsave + pkey_offset);
1440 memset(xsave, 0xCC, xsave_size); in test_implicit_mprotect_exec_only_memory()
1455 memset(xsave, 0xCC, xsave_size); in test_implicit_mprotect_exec_only_memory()
1461 xstate_bv = (u64 *)(xsave + 512); in test_implicit_mprotect_exec_only_memory()
1468 memset(xsave, in test_implicit_mprotect_exec_only_memory()
1488 void *xsave; test_ptrace_modifies_pkru() local
[all...]
/linux/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h466 struct kvm_xsave *xsave; in rdmsr()
999 struct kvm_xsave *xsave) in kvm_cpu_has_p()
1001 vcpu_ioctl(vcpu, KVM_GET_XSAVE, xsave); in kvm_cpu_has_p()
1004 struct kvm_xsave *xsave) in kvm_cpu_has_p()
1006 vcpu_ioctl(vcpu, KVM_GET_XSAVE2, xsave); in kvm_cpu_has_p()
1009 struct kvm_xsave *xsave)
1011 vcpu_ioctl(vcpu, KVM_SET_XSAVE, xsave); in kvm_pmu_has()
416 struct kvm_xsave *xsave; global() member
931 vcpu_xsave_get(struct kvm_vcpu * vcpu,struct kvm_xsave * xsave) vcpu_xsave_get() argument
936 vcpu_xsave2_get(struct kvm_vcpu * vcpu,struct kvm_xsave * xsave) vcpu_xsave2_get() argument
941 vcpu_xsave_set(struct kvm_vcpu * vcpu,struct kvm_xsave * xsave) vcpu_xsave_set() argument
/linux/tools/testing/selftests/x86/
H A Dxstate.h78 static inline void xsave(struct xsave_buffer *xbuf, uint64_t rfbm) in xsave() function
/linux/include/video/
H A Dnewport.h162 npireg_t xsave; /* copy of xstart integer value for BLOCk addressing MODE */ member
312 unsigned int xsave; member
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dprocessor.c1231 state->xsave = malloc(size); in vcpu_save_state()
1232 vcpu_xsave2_get(vcpu, state->xsave); in vcpu_save_state()
1234 state->xsave = malloc(sizeof(struct kvm_xsave)); in vcpu_save_state()
1235 vcpu_xsave_get(vcpu, state->xsave); in vcpu_save_state()
1304 vcpu_xsave_set(vcpu, state->xsave); in kvm_get_cpu_address_width()
1316 free(state->xsave); in kvm_init_vm_address_properties()
/linux/lib/zstd/common/
H A Dcpu.h123 C(xsave, 26)
/linux/drivers/hv/
H A Dmshv_root_main.c825 &state_data.xsave.states.as_uint64); in mshv_vp_ioctl_get_set_state()
836 state_data.xsave.flags = 0; in mshv_vp_ioctl_get_set_state()
838 state_data.xsave.states.legacy_x87 = 1; in mshv_vp_ioctl_get_set_state()
839 state_data.xsave.states.legacy_sse = 1; in mshv_vp_ioctl_get_set_state()
/linux/tools/arch/x86/kcpuid/
H A Dcpuid.csv58 0x1, 0, ecx, 26, xsave , XSAVE (and related instructions) support