Searched refs:xsave (Results 1 – 10 of 10) sorted by relevance
| /tools/testing/selftests/kvm/x86/ |
| A D | sev_smoke_test.c | 85 struct kvm_xsave __attribute__((aligned(64))) xsave = { 0 }; in test_sync_vmsa() local 99 : "=m"(xsave) in test_sync_vmsa() 100 : "A"(XFEATURE_MASK_X87_AVX), "r"(&xsave), "m" (x87val) in test_sync_vmsa() 102 vcpu_xsave_set(vcpu, &xsave); in test_sync_vmsa() 118 compare_xsave((u8 *)&xsave, (u8 *)hva); in test_sync_vmsa()
|
| A D | state_test.c | 299 xstate_bv = (void *)&((uint8_t *)state->xsave->region)[512]; in main() 303 vcpu_xsave_set(vcpuN, state->xsave); in main() 305 vcpu_xsave_set(vcpuN, state->xsave); in main() 308 vcpu_xsave_set(vcpuN, state->xsave); in main() 310 vcpu_xsave_set(vcpuN, state->xsave); in main()
|
| A D | amx_test.c | 276 void *amx_start = (void *)state->xsave + amx_offset; in main()
|
| /tools/testing/selftests/mm/ |
| A D | protection_keys.c | 1490 void *xsave; in test_ptrace_modifies_pkru() local 1530 xsave = (void *)malloc(xsave_size); in test_ptrace_modifies_pkru() 1531 pkey_assert(xsave > 0); in test_ptrace_modifies_pkru() 1534 iov.iov_base = xsave; in test_ptrace_modifies_pkru() 1539 pkey_register = (u32 *)(xsave + pkey_offset); in test_ptrace_modifies_pkru() 1548 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru() 1563 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru() 1569 xstate_bv = (u64 *)(xsave + 512); in test_ptrace_modifies_pkru() 1576 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru() 1590 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru() [all …]
|
| /tools/testing/selftests/x86/ |
| A D | xstate.h | 78 static inline void xsave(struct xsave_buffer *xbuf, uint64_t rfbm) in xsave() function
|
| A D | amx.c | 415 xsave(xbuf2, XFEATURE_MASK_XTILEDATA); in __validate_tiledata_regs()
|
| A D | xstate.c | 101 xsave(xbuf2, xstate.mask); in validate_xregs_same()
|
| /tools/testing/selftests/kvm/include/x86/ |
| A D | processor.h | 416 struct kvm_xsave *xsave; member 902 struct kvm_xsave *xsave) in vcpu_xsave_get() argument 904 vcpu_ioctl(vcpu, KVM_GET_XSAVE, xsave); in vcpu_xsave_get() 907 struct kvm_xsave *xsave) in vcpu_xsave2_get() argument 909 vcpu_ioctl(vcpu, KVM_GET_XSAVE2, xsave); in vcpu_xsave2_get() 912 struct kvm_xsave *xsave) in vcpu_xsave_set() argument 914 vcpu_ioctl(vcpu, KVM_SET_XSAVE, xsave); in vcpu_xsave_set()
|
| /tools/testing/selftests/kvm/lib/x86/ |
| A D | processor.c | 1057 state->xsave = malloc(size); in vcpu_save_xsave_state() 1058 vcpu_xsave2_get(vcpu, state->xsave); in vcpu_save_xsave_state() 1060 state->xsave = malloc(sizeof(struct kvm_xsave)); in vcpu_save_xsave_state() 1061 vcpu_xsave_get(vcpu, state->xsave); in vcpu_save_xsave_state() 1130 vcpu_xsave_set(vcpu, state->xsave); in vcpu_load_state() 1142 free(state->xsave); in kvm_x86_state_cleanup()
|
| /tools/arch/x86/kcpuid/ |
| A D | cpuid.csv | 58 …0x1, 0, ecx, 26, xsave , XSAVE (and related instructions) support
|
Completed in 21 milliseconds