Home
last modified time | relevance | path

Searched refs:accel (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/qemu/target/i386/hvf/
H A Dx86hvf.c80 if (hv_vcpu_write_fpstate(cs->accel->fd, xsave, xsave_len)) { in hvf_put_xsave()
90 wvmcs(cs->accel->fd, VMCS_GUEST_IDTR_LIMIT, env->idt.limit); in hvf_put_segments()
91 wvmcs(cs->accel->fd, VMCS_GUEST_IDTR_BASE, env->idt.base); in hvf_put_segments()
93 wvmcs(cs->accel->fd, VMCS_GUEST_GDTR_LIMIT, env->gdt.limit); in hvf_put_segments()
94 wvmcs(cs->accel->fd, VMCS_GUEST_GDTR_BASE, env->gdt.base); in hvf_put_segments()
96 /* wvmcs(cs->accel->fd, VMCS_GUEST_CR2, env->cr[2]); */ in hvf_put_segments()
97 wvmcs(cs->accel->fd, VMCS_GUEST_CR3, env->cr[3]); in hvf_put_segments()
99 wvmcs(cs->accel->fd, VMCS_GUEST_IA32_EFER, env->efer); in hvf_put_segments()
101 macvm_set_cr4(cs->accel->fd, env->cr[4]); in hvf_put_segments()
102 macvm_set_cr0(cs->accel in hvf_put_segments()
[all...]
H A Dhvf.c77 #include "qemu/accel.h"
90 wreg(cpu->accel->fd, HV_X86_TPR, tpr); in vmx_update_tpr()
92 wvmcs(cpu->accel->fd, VMCS_TPR_THRESHOLD, 0); in vmx_update_tpr()
94 wvmcs(cpu->accel->fd, VMCS_TPR_THRESHOLD, (irr > tpr) ? tpr >> 4 : in vmx_update_tpr()
102 int tpr = rreg(cpu->accel->fd, HV_X86_TPR) >> 4; in update_apic_tpr()
220 hv_vcpu_interrupt(&cpu->accel->fd, 1); in hvf_kick_vcpu_thread()
315 wvmcs(cpu->accel->fd, VMCS_PIN_BASED_CTLS, in hvf_arch_init_vcpu()
320 wvmcs(cpu->accel->fd, VMCS_PRI_PROC_BASED_CTLS, in hvf_arch_init_vcpu()
335 wvmcs(cpu->accel->fd, VMCS_SEC_PROC_BASED_CTLS, in hvf_arch_init_vcpu()
338 wvmcs(cpu->accel in hvf_arch_init_vcpu()
[all...]
H A Dx86.c64 base = rvmcs(cpu->accel->fd, VMCS_GUEST_GDTR_BASE); in x86_read_segment_descriptor()
65 limit = rvmcs(cpu->accel->fd, VMCS_GUEST_GDTR_LIMIT); in x86_read_segment_descriptor()
67 base = rvmcs(cpu->accel->fd, VMCS_GUEST_LDTR_BASE); in x86_read_segment_descriptor()
68 limit = rvmcs(cpu->accel->fd, VMCS_GUEST_LDTR_LIMIT); in x86_read_segment_descriptor()
87 base = rvmcs(cpu->accel->fd, VMCS_GUEST_GDTR_BASE); in x86_write_segment_descriptor()
88 limit = rvmcs(cpu->accel->fd, VMCS_GUEST_GDTR_LIMIT); in x86_write_segment_descriptor()
90 base = rvmcs(cpu->accel->fd, VMCS_GUEST_LDTR_BASE); in x86_write_segment_descriptor()
91 limit = rvmcs(cpu->accel->fd, VMCS_GUEST_LDTR_LIMIT); in x86_write_segment_descriptor()
105 target_ulong base = rvmcs(cpu->accel->fd, VMCS_GUEST_IDTR_BASE); in x86_read_call_gate()
106 uint32_t limit = rvmcs(cpu->accel->fd, VMCS_GUEST_IDTR_LIMIT); in x86_read_call_gate()
[all …]
H A Dx86_descr.c50 return (uint32_t)rvmcs(cpu->accel->fd, vmx_segment_fields[seg].limit); in vmx_read_segment_limit()
55 return (uint32_t)rvmcs(cpu->accel->fd, vmx_segment_fields[seg].ar_bytes); in vmx_read_segment_ar()
60 return rvmcs(cpu->accel->fd, vmx_segment_fields[seg].base); in vmx_read_segment_base()
66 sel.sel = rvmcs(cpu->accel->fd, vmx_segment_fields[seg].selector); in vmx_read_segment_selector()
72 wvmcs(cpu->accel->fd, vmx_segment_fields[seg].selector, selector.sel); in vmx_write_segment_selector()
77 desc->sel = rvmcs(cpu->accel->fd, vmx_segment_fields[seg].selector); in vmx_read_segment_descriptor()
78 desc->base = rvmcs(cpu->accel->fd, vmx_segment_fields[seg].base); in vmx_read_segment_descriptor()
79 desc->limit = rvmcs(cpu->accel->fd, vmx_segment_fields[seg].limit); in vmx_read_segment_descriptor()
80 desc->ar = rvmcs(cpu->accel->fd, vmx_segment_fields[seg].ar_bytes); in vmx_read_segment_descriptor()
87 wvmcs(cpu->accel->fd, sf->base, desc->base); in vmx_write_segment_descriptor()
[all …]
H A Dvmx.h183 wreg(cpu->accel->fd, HV_X86_RIP, rip); in macvm_set_rip()
187 val = rvmcs(cpu->accel->fd, VMCS_GUEST_INTERRUPTIBILITY); in macvm_set_rip()
191 wvmcs(cpu->accel->fd, VMCS_GUEST_INTERRUPTIBILITY, in macvm_set_rip()
203 uint32_t gi = (uint32_t) rvmcs(cpu->accel->fd, VMCS_GUEST_INTERRUPTIBILITY); in vmx_clear_nmi_blocking()
205 wvmcs(cpu->accel->fd, VMCS_GUEST_INTERRUPTIBILITY, gi); in vmx_clear_nmi_blocking()
214 uint32_t gi = (uint32_t)rvmcs(cpu->accel->fd, VMCS_GUEST_INTERRUPTIBILITY); in vmx_set_nmi_blocking()
216 wvmcs(cpu->accel->fd, VMCS_GUEST_INTERRUPTIBILITY, gi); in vmx_set_nmi_blocking()
222 val = rvmcs(cpu->accel->fd, VMCS_PRI_PROC_BASED_CTLS); in vmx_set_nmi_window_exiting()
223 wvmcs(cpu->accel->fd, VMCS_PRI_PROC_BASED_CTLS, val | in vmx_set_nmi_window_exiting()
232 val = rvmcs(cpu->accel->fd, VMCS_PRI_PROC_BASED_CTLS); in vmx_clear_nmi_window_exiting()
[all …]
H A Dx86_task.c64 wvmcs(cpu->accel->fd, VMCS_GUEST_CR3, tss->cr3); in load_state_from_tss32()
113 uint64_t rip = rreg(cpu->accel->fd, HV_X86_RIP); in vmx_handle_task_switch()
117 int ins_len = rvmcs(cpu->accel->fd, VMCS_EXIT_INSTRUCTION_LENGTH); in vmx_handle_task_switch()
176 macvm_set_cr0(cpu->accel->fd, rvmcs(cpu->accel->fd, VMCS_GUEST_CR0) | in vmx_handle_task_switch()
183 hv_vcpu_invalidate_tlb(cpu->accel->fd); in vmx_handle_task_switch()
/openbmc/qemu/accel/
H A Daccel-system.c38 int accel_init_machine(AccelState *accel, MachineState *ms) in accel_init_machine() argument
40 AccelClass *acc = ACCEL_GET_CLASS(accel); in accel_init_machine()
42 ms->accelerator = accel; in accel_init_machine()
44 ret = acc->init_machine(accel, ms); in accel_init_machine()
48 object_unref(OBJECT(accel)); in accel_init_machine()
62 AccelState *accel = ms->accelerator; in accel_setup_post() local
63 AccelClass *acc = ACCEL_GET_CLASS(accel); in accel_setup_post()
65 acc->setup_post(accel); in accel_setup_post()
71 AccelState *accel = ms->accelerator; in accel_pre_resume() local
72 AccelClass *acc = ACCEL_GET_CLASS(accel); in accel_pre_resume()
[all …]
H A Dmeson.build1 common_ss.add(files('accel-common.c'))
2 specific_ss.add(files('accel-target.c'))
3 system_ss.add(files('accel-system.c', 'accel-blocker.c', 'accel-qmp.c', 'accel-irq.c'))
4 user_ss.add(files('accel-user.c'))
H A Daccel-user.c21 static AccelState *accel; in current_accel() local
23 if (!accel) { in current_accel()
27 accel = ACCEL(object_new_with_class(OBJECT_CLASS(ac))); in current_accel()
29 return accel; in current_accel()
H A Daccel-common.c95 AccelState *accel = current_accel(); in accel_cpu_common_realize() local
96 AccelClass *acc = ACCEL_GET_CLASS(accel); in accel_cpu_common_realize()
115 AccelState *accel = current_accel(); in accel_cpu_common_unrealize() local
116 AccelClass *acc = ACCEL_GET_CLASS(accel); in accel_cpu_common_unrealize()
126 AccelState *accel = current_accel(); in accel_supported_gdbstub_sstep_flags() local
127 AccelClass *acc = ACCEL_GET_CLASS(accel); in accel_supported_gdbstub_sstep_flags()
129 return acc->gdbstub_supported_sstep_flags(accel); in accel_supported_gdbstub_sstep_flags()
H A Daccel-qmp.c19 AccelState *accel = current_accel(); in qmp_x_accel_stats() local
20 AccelClass *acc = ACCEL_GET_CLASS(accel); in qmp_x_accel_stats()
24 acc->get_stats(accel, buf); in qmp_x_accel_stats()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/fbset/fbset-modes/om-gta01/
H A Dfb.modes7 accel false
14 accel false
21 accel false
28 accel false
/openbmc/qemu/accel/hvf/
H A Dhvf-accel-ops.c57 #include "accel/accel-cpu-ops.h"
124 int r = hv_vcpu_get_exec_time(cpu->accel->fd, arg.host_ptr); in do_hvf_get_vcpu_exec_time()
130 hv_return_t ret = hv_vcpu_destroy(cpu->accel->fd); in hvf_vcpu_destroy()
134 g_free(cpu->accel); in hvf_vcpu_destroy()
135 cpu->accel = NULL; in hvf_vcpu_destroy()
142 cpu->accel = g_new0(AccelCPUState, 1); in hvf_init_vcpu()
152 pthread_sigmask(SIG_BLOCK, NULL, &cpu->accel->unblock_ipi_mask); in hvf_init_vcpu()
153 sigdelset(&cpu->accel->unblock_ipi_mask, SIG_IPI); in hvf_init_vcpu()
154 cpu->accel in hvf_init_vcpu()
[all...]
H A Dmeson.build4 'hvf-accel-ops.c',
/openbmc/qemu/accel/tcg/
H A Dmeson.build34 'tcg-accel-ops.c',
35 'tcg-accel-ops-icount.c',
36 'tcg-accel-ops-mttcg.c',
37 'tcg-accel-ops-rr.c',
H A Dtcg-stats.c40 static void dump_accel_info(AccelState *accel, GString *buf) in dump_accel_info() argument
42 bool one_insn_per_tb = object_property_get_bool(OBJECT(accel), in dump_accel_info()
209 void tcg_get_stats(AccelState *accel, GString *buf) in tcg_get_stats() argument
211 dump_accel_info(accel, buf); in tcg_get_stats()
/openbmc/qemu/target/arm/hvf/
H A Dhvf.c438 ret = hv_vcpu_get_reg(cpu->accel->fd, hvf_reg_match[i].reg, &val);
444 ret = hv_vcpu_get_simd_fp_reg(cpu->accel->fd, hvf_fpreg_match[i].reg,
451 ret = hv_vcpu_get_reg(cpu->accel->fd, HV_REG_FPCR, &val);
456 ret = hv_vcpu_get_reg(cpu->accel->fd, HV_REG_FPSR, &val);
460 ret = hv_vcpu_get_reg(cpu->accel->fd, HV_REG_CPSR, &val);
468 if (cpu->accel->guest_debug_enabled) {
556 ret = hv_vcpu_get_sys_reg(cpu->accel->fd, hvf_id, &val); in hvf_get_registers()
579 ret = hv_vcpu_set_reg(cpu->accel->fd, hvf_reg_match[i].reg, val); in hvf_get_registers()
585 ret = hv_vcpu_set_simd_fp_reg(cpu->accel->fd, hvf_fpreg_match[i].reg, in hvf_get_registers()
590 ret = hv_vcpu_set_reg(cpu->accel in hvf_get_registers()
[all...]
/openbmc/qemu/docs/devel/migration/
H A Dqpl-compression.rst22 | MultiFD Thread | |accel-config tool |
85 The ``accel-config`` tool is used to enable ``IAA`` devices and configure
90 For ``accel-config`` installation, please refer to `accel-config installation
97 #accel-config config-engine iax1/engine1.0 -g 0
98 #accel-config config-engine iax1/engine1.1 -g 0
99 #accel-config config-engine iax1/engine1.2 -g 0
100 #accel-config config-engine iax1/engine1.3 -g 0
101 #accel-config config-engine iax1/engine1.4 -g 0
102 #accel-config config-engine iax1/engine1.5 -g 0
103 #accel-config config-engine iax1/engine1.6 -g 0
[all …]
/openbmc/qemu/system/
H A Drunstate-hmp-cmds.c46 AccelState *accel = current_accel(); in hmp_one_insn_per_tb() local
49 if (!object_property_find(OBJECT(accel), "one-insn-per-tb")) { in hmp_one_insn_per_tb()
64 object_property_set_bool(OBJECT(accel), "one-insn-per-tb", in hmp_one_insn_per_tb()
/openbmc/qemu/tests/functional/
H A Dtest_aarch64_smmu.py
/openbmc/qemu/qapi/
H A Daccelerator.json42 # @x-accel-stats:
54 { 'command': 'x-accel-stats',
/openbmc/qemu/target/i386/whpx/
H A Dmeson.build4 'whpx-accel-ops.c',
/openbmc/qemu/bsd-user/
H A Dmain.c27 #include "qemu/accel.h"
41 #include "accel/accel-ops.h"
457 AccelState *accel = current_accel(); in main()
458 AccelClass *ac = ACCEL_GET_CLASS(accel); in main()
461 object_property_set_bool(OBJECT(accel), "one-insn-per-tb", in main()
463 object_property_set_int(OBJECT(accel), "tb-size", in main()
465 ac->init_machine(accel, NULL); in main()
470 AccelState *accel = current_accel(); main() local
/openbmc/qemu/target/i386/nvmm/
H A Dmeson.build4 'nvmm-accel-ops.c',
/openbmc/qemu/accel/kvm/
H A Dmeson.build4 'kvm-accel-ops.c',

1234