| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | sev_smoke_test.c | 115 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 D | state_test.c | 327 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 D | amx_test.c | 300 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 D | xstate.h | 111 void xsaves(struct xregs_state *xsave, u64 mask); 112 void xrstors(struct xregs_state *xsave, u64 mask);
|
| H A D | types.h | 373 struct xregs_state xsave; member
|
| /linux/arch/x86/include/asm/trace/ |
| H A D | fpu.h | 25 __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 D | protection_keys.c | 307 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 D | processor.h | 466 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 D | xstate.h | 78 static inline void xsave(struct xsave_buffer *xbuf, uint64_t rfbm) in xsave() function
|
| /linux/include/video/ |
| H A D | newport.h | 162 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 D | processor.c | 1231 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 D | cpu.h | 123 C(xsave, 26)
|
| /linux/drivers/hv/ |
| H A D | mshv_root_main.c | 825 &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/arch/x86/events/ |
| H A D | perf_event.h | 1084 struct xregs_state xsave; 1088 struct xregs_state xsave; global() member
|
| /linux/tools/arch/x86/kcpuid/ |
| H A D | cpuid.csv | 58 0x1, 0, ecx, 26, xsave , XSAVE (and related instructions) support
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 4731 and restore using xsave. The kernel will fallback to 4736 xsave to save the states. By using this parameter, 4738 xsave doesn't support modified optimization while 4743 form of xsave area. The kernel will fall back to use 4745 in standard form of xsave area. By using this 4746 parameter, xsave area per process might occupy more
|