Home
last modified time | relevance | path

Searched refs:vmx (Results 1 – 25 of 34) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c78 struct vmx_pages *vmx = addr_gva2hva(vm, vmx_gva); in vcpu_alloc_vmx() local
81 vmx->vmxon = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx()
82 vmx->vmxon_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
83 vmx->vmxon_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
86 vmx->vmcs = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx()
87 vmx->vmcs_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx()
88 vmx->vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx()
91 vmx->msr = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx()
92 vmx->msr_hva = addr_gva2hva(vm, (uintptr_t)vmx->msr); in vcpu_alloc_vmx()
93 vmx->msr_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->msr); in vcpu_alloc_vmx()
[all …]
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dvmx_set_nested_state_test.c85 state->hdr.vmx.vmxon_pa = 0x1000; in set_default_vmx_state()
86 state->hdr.vmx.vmcs12_pa = 0x2000; in set_default_vmx_state()
87 state->hdr.vmx.smm.flags = 0; in set_default_vmx_state()
116 state->hdr.vmx.vmxon_pa = -1ull; in test_vmx_nested_state()
119 state->hdr.vmx.vmcs12_pa = -1ull; in test_vmx_nested_state()
136 state->hdr.vmx.vmxon_pa = -1ull; in test_vmx_nested_state()
137 state->hdr.vmx.vmcs12_pa = -1ull; in test_vmx_nested_state()
148 state->hdr.vmx.smm.flags = 1; in test_vmx_nested_state()
153 state->hdr.vmx.vmxon_pa = -1ull; in test_vmx_nested_state()
159 state->hdr.vmx.vmxon_pa = 1; in test_vmx_nested_state()
[all …]
Dvmx_dirty_log_test.c50 void l1_guest_code(struct vmx_pages *vmx) in l1_guest_code() argument
55 GUEST_ASSERT(vmx->vmcs_gpa); in l1_guest_code()
56 GUEST_ASSERT(prepare_for_vmx_operation(vmx)); in l1_guest_code()
57 GUEST_ASSERT(load_vmcs(vmx)); in l1_guest_code()
59 prepare_vmcs(vmx, l2_guest_code, in l1_guest_code()
72 struct vmx_pages *vmx; in main() local
86 vmx = vcpu_alloc_vmx(vm, &vmx_pages_gva); in main()
111 prepare_eptp(vmx, vm, 0); in main()
112 nested_map_memslot(vmx, vm, 0, 0); in main()
113 nested_map(vmx, vm, NESTED_TEST_MEM1, GUEST_TEST_MEM, 4096, 0); in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-vsx.h31 int validate_vmx(unsigned long vmx[][2], unsigned long *load) in validate_vmx()
37 if ((vmx[i][0] != load[64 + 2 * i]) || in validate_vmx()
38 (vmx[i][1] != load[65 + 2 * i])) { in validate_vmx()
40 i, vmx[i][0], 64 + 2 * i, in validate_vmx()
43 i, vmx[i][1], 65 + 2 * i, in validate_vmx()
51 if ((vmx[i][0] != load[65 + 2 * i]) || in validate_vmx()
52 (vmx[i][1] != load[64 + 2 * i])) { in validate_vmx()
54 i, vmx[i][0], 65 + 2 * i, in validate_vmx()
57 i, vmx[i][1], 64 + 2 * i, in validate_vmx()
109 unsigned long vmx[][2]) in load_vsx_vmx()
[all …]
Dptrace-tm-vsx.c87 unsigned long vmx[VMX_MAX + 2][2]; in trace_tm_vsx() local
92 FAIL_IF(show_vmx(child, vmx)); in trace_tm_vsx()
93 FAIL_IF(validate_vmx(vmx, fp_load)); in trace_tm_vsx()
96 FAIL_IF(show_vmx_ckpt(child, vmx)); in trace_tm_vsx()
97 FAIL_IF(validate_vmx(vmx, fp_load_ckpt)); in trace_tm_vsx()
99 memset(vmx, 0, sizeof(vmx)); in trace_tm_vsx()
101 load_vsx_vmx(fp_load_ckpt_new, vsx, vmx); in trace_tm_vsx()
104 FAIL_IF(write_vmx_ckpt(child, vmx)); in trace_tm_vsx()
Dptrace-tm-spd-vsx.c99 unsigned long vmx[VMX_MAX + 2][2]; in trace_tm_spd_vsx() local
104 FAIL_IF(show_vmx(child, vmx)); in trace_tm_spd_vsx()
105 FAIL_IF(validate_vmx(vmx, fp_load)); in trace_tm_spd_vsx()
108 FAIL_IF(show_vmx_ckpt(child, vmx)); in trace_tm_spd_vsx()
109 FAIL_IF(validate_vmx(vmx, fp_load_ckpt)); in trace_tm_spd_vsx()
112 memset(vmx, 0, sizeof(vmx)); in trace_tm_spd_vsx()
114 load_vsx_vmx(fp_load_ckpt_new, vsx, vmx); in trace_tm_spd_vsx()
117 FAIL_IF(write_vmx_ckpt(child, vmx)); in trace_tm_spd_vsx()
Dptrace-vsx.c40 unsigned long vmx[VMX_MAX + 2][2]; in trace_vsx() local
45 FAIL_IF(show_vmx(child, vmx)); in trace_vsx()
46 FAIL_IF(validate_vmx(vmx, fp_load)); in trace_vsx()
49 memset(vmx, 0, sizeof(vmx)); in trace_vsx()
50 load_vsx_vmx(fp_load_new, vsx, vmx); in trace_vsx()
53 FAIL_IF(write_vmx(child, vmx)); in trace_vsx()
Dptrace.h529 int show_vmx(pid_t child, unsigned long vmx[][2]) in show_vmx()
533 ret = ptrace(PTRACE_GETVRREGS, child, 0, vmx); in show_vmx()
541 int show_vmx_ckpt(pid_t child, unsigned long vmx[][2]) in show_vmx_ckpt()
554 memcpy(vmx, regs, sizeof(regs)); in show_vmx_ckpt()
559 int write_vmx(pid_t child, unsigned long vmx[][2]) in write_vmx()
563 ret = ptrace(PTRACE_SETVRREGS, child, 0, vmx); in write_vmx()
571 int write_vmx_ckpt(pid_t child, unsigned long vmx[][2]) in write_vmx_ckpt()
577 memcpy(regs, vmx, sizeof(regs)); in write_vmx_ckpt()
/external/linux-kselftest/tools/testing/selftests/kvm/include/x86_64/
Dvmx.h579 bool prepare_for_vmx_operation(struct vmx_pages *vmx);
580 void prepare_vmcs(struct vmx_pages *vmx, void *guest_rip, void *guest_rsp);
581 bool load_vmcs(struct vmx_pages *vmx);
585 void nested_pg_map(struct vmx_pages *vmx, struct kvm_vm *vm,
587 void nested_map(struct vmx_pages *vmx, struct kvm_vm *vm,
590 void nested_map_memslot(struct vmx_pages *vmx, struct kvm_vm *vm,
592 void prepare_eptp(struct vmx_pages *vmx, struct kvm_vm *vm,
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
DMakefile3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
6 tm-vmxcopy tm-fork tm-tar tm-tmspr tm-vmx-unavail tm-unavailable tm-trap \
20 $(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64
D.gitignore12 tm-signal-context-chk-vmx
16 tm-vmx-unavail
/external/cpuinfo/test/cpuinfo/
Dzenfone-2e.log23 …n pebs bts nonstop_tsc aperfmperf nonstop_tsc_s3 pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr …
52 …n pebs bts nonstop_tsc aperfmperf nonstop_tsc_s3 pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr …
81 …n pebs bts nonstop_tsc aperfmperf nonstop_tsc_s3 pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr …
110 …n pebs bts nonstop_tsc aperfmperf nonstop_tsc_s3 pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr …
Dzenfone-c.log23 …n pebs bts nonstop_tsc aperfmperf nonstop_tsc_s3 pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr …
52 …n pebs bts nonstop_tsc aperfmperf nonstop_tsc_s3 pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr …
81 …n pebs bts nonstop_tsc aperfmperf nonstop_tsc_s3 pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr …
110 …n pebs bts nonstop_tsc aperfmperf nonstop_tsc_s3 pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr …
Dalldocube-iwork8.log20 … nonstop_tsc aperfmperf nonstop_tsc_s3 pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
46 … nonstop_tsc aperfmperf nonstop_tsc_s3 pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
72 … nonstop_tsc aperfmperf nonstop_tsc_s3 pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
98 … nonstop_tsc aperfmperf nonstop_tsc_s3 pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
Dzenfone-2.log20 … nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
46 … nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
72 … nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
98 … nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
Dmemo-pad-7.log23 … nonstop_tsc aperfmperf nonstop_tsc_s3 pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
52 … nonstop_tsc aperfmperf nonstop_tsc_s3 pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
81 … nonstop_tsc aperfmperf nonstop_tsc_s3 pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
110 … nonstop_tsc aperfmperf nonstop_tsc_s3 pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 …
/external/swiftshader/third_party/marl/src/
Dosfiber_asm_ppc64.h123 uintptr_t vmx[12 * 2]; member
215 static_assert((offsetof(marl_fiber_context, vmx) % 16) == 0,
217 static_assert(offsetof(marl_fiber_context, vmx) == MARL_REG_VMX,
/external/toolchain-utils/crosperf/test_cache/test_input/
Dmachine.txt1vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave lahf_lm…
/external/toolchain-utils/crosperf/test_cache/test_puretelemetry_input/
Dmachine.txt1vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave lahf_lm…
/external/kernel-headers/original/uapi/asm-x86/asm/
Dkvm.h460 struct kvm_vmx_nested_state_hdr vmx; member
473 struct kvm_vmx_nested_state_data vmx[0]; member
/external/linux-kselftest/tools/testing/selftests/kvm/
DMakefile11 LIBKVM_x86_64 = lib/x86_64/processor.c lib/x86_64/vmx.c lib/x86_64/ucall.c
/external/zstd/lib/common/
Dcpu.h122 C(vmx, 5)
/external/llvm-project/llvm/lib/Target/VE/
DVEInstrVec.td28 def VFMKyal : Pseudo<(outs VM512:$vmx), (ins I32:$vl),
29 "# pseudo-vfmk.at $vmx">;
30 def VFMKynal : Pseudo<(outs VM512:$vmx), (ins I32:$vl),
31 "# pseudo-vfmk.af $vmx">;
32 def VFMKWyvl : Pseudo<(outs VM512:$vmx),
34 "# pseudo-vfmk.w.$cf $vmx, $vz">;
35 def VFMKWyvyl : Pseudo<(outs VM512:$vmx),
37 "# pseudo-vfmk.w.$cf $vmx, $vz, $vm">;
38 def VFMKSyvl : Pseudo<(outs VM512:$vmx),
40 "# pseudo-vfmk.s.$cf $vmx, $vz">;
[all …]
/external/llvm-project/llvm/test/MC/SystemZ/
Dinsn-good-z13.s5128 #CHECK: vmx %v0, %v0, %v0, 0 # encoding: [0xe7,0x00,0x00,0x00,0x00,0xff]
5129 #CHECK: vmx %v0, %v0, %v0, 15 # encoding: [0xe7,0x00,0x00,0x00,0xf0,0xff]
5130 #CHECK: vmx %v0, %v0, %v31, 0 # encoding: [0xe7,0x00,0xf0,0x00,0x02,0xff]
5131 #CHECK: vmx %v0, %v31, %v0, 0 # encoding: [0xe7,0x0f,0x00,0x00,0x04,0xff]
5132 #CHECK: vmx %v31, %v0, %v0, 0 # encoding: [0xe7,0xf0,0x00,0x00,0x08,0xff]
5133 #CHECK: vmx %v18, %v3, %v20, 11 # encoding: [0xe7,0x23,0x40,0x00,0xba,0xff]
5135 vmx %v0, %v0, %v0, 0
5136 vmx %v0, %v0, %v0, 15
5137 vmx %v0, %v0, %v31, 0
5138 vmx %v0, %v31, %v0, 0
[all …]
/external/crosvm/kvm_sys/src/x86/
Dbindings.rs3810 pub vmx: kvm_vmx_nested_state_hdr,
3828 &(*(::std::ptr::null::<kvm_nested_state__bindgen_ty_1>())).vmx as *const _ as usize in bindgen_test_layout_kvm_nested_state__bindgen_ty_1()
3835 stringify!(vmx) in bindgen_test_layout_kvm_nested_state__bindgen_ty_1()
3858 pub vmx: __BindgenUnionField<[kvm_vmx_nested_state_data; 0usize]>, field
3875 &(*(::std::ptr::null::<kvm_nested_state__bindgen_ty_2>())).vmx as *const _ as usize in bindgen_test_layout_kvm_nested_state__bindgen_ty_2()
3882 stringify!(vmx) in bindgen_test_layout_kvm_nested_state__bindgen_ty_2()

12