Lines Matching refs:vmcs_write32
2393 static __always_inline void vmcs_write32(unsigned long field, u32 value) in vmcs_write32() function
2451 vmcs_write32(VM_ENTRY_CONTROLS, val); in vm_entry_controls_init()
2484 vmcs_write32(VM_EXIT_CONTROLS, val); in vm_exit_controls_init()
2597 vmcs_write32(EXCEPTION_BITMAP, eb); in update_exception_bitmap()
2692 vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, m->guest.nr); in clear_atomic_switch_msr()
2701 vmcs_write32(VM_EXIT_MSR_LOAD_COUNT, m->host.nr); in clear_atomic_switch_msr()
2764 vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, m->guest.nr); in add_atomic_switch_msr()
2774 vmcs_write32(VM_EXIT_MSR_LOAD_COUNT, m->host.nr); in add_atomic_switch_msr()
3228 vmcs_write32(GUEST_INTERRUPTIBILITY_INFO, interruptibility); in vmx_set_interrupt_shadow()
3318 vmcs_write32(GUEST_ACTIVITY_STATE, GUEST_ACTIVITY_ACTIVE); in vmx_clear_hlt()
3330 vmcs_write32(VM_ENTRY_EXCEPTION_ERROR_CODE, error_code); in vmx_queue_exception()
3346 vmcs_write32(VM_ENTRY_INSTRUCTION_LEN, in vmx_queue_exception()
3352 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, intr_info); in vmx_queue_exception()
4183 vmcs_write32(GUEST_SYSENTER_CS, data); in vmx_set_msr()
5011 vmcs_write32(sf->limit, var.limit); in fix_rmode_seg()
5012 vmcs_write32(sf->ar_bytes, vmx_segment_access_rights(&var)); in fix_rmode_seg()
5042 vmcs_write32(GUEST_TR_LIMIT, RMODE_TSS_SIZE - 1); in enter_rmode()
5043 vmcs_write32(GUEST_TR_AR_BYTES, 0x008b); in enter_rmode()
5096 vmcs_write32(GUEST_TR_AR_BYTES, in enter_lmode()
5242 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, in ept_update_paging_mode_cr0()
5250 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, in ept_update_paging_mode_cr0()
5524 vmcs_write32(sf->limit, var->limit); in vmx_set_segment()
5541 vmcs_write32(sf->ar_bytes, vmx_segment_access_rights(var)); in vmx_set_segment()
5563 vmcs_write32(GUEST_IDTR_LIMIT, dt->size); in vmx_set_idt()
5575 vmcs_write32(GUEST_GDTR_LIMIT, dt->size); in vmx_set_gdt()
5863 vmcs_write32(sf->limit, 0xffff); in seg_setup()
5868 vmcs_write32(sf->ar_bytes, ar); in seg_setup()
6334 vmcs_write32(HOST_IA32_SYSENTER_CS, low32); in vmx_set_constant_host_state()
6374 vmcs_write32(PIN_BASED_VM_EXEC_CONTROL, vmx_pin_based_exec_ctrl(vmx)); in vmx_refresh_apicv_exec_ctrl()
6587 vmcs_write32(PIN_BASED_VM_EXEC_CONTROL, vmx_pin_based_exec_ctrl(vmx)); in vmx_vcpu_setup()
6590 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, vmx_exec_control(vmx)); in vmx_vcpu_setup()
6594 vmcs_write32(SECONDARY_VM_EXEC_CONTROL, in vmx_vcpu_setup()
6611 vmcs_write32(PLE_GAP, ple_gap); in vmx_vcpu_setup()
6616 vmcs_write32(PAGE_FAULT_ERROR_CODE_MASK, 0); in vmx_vcpu_setup()
6617 vmcs_write32(PAGE_FAULT_ERROR_CODE_MATCH, 0); in vmx_vcpu_setup()
6618 vmcs_write32(CR3_TARGET_COUNT, 0); /* 22.2.1 */ in vmx_vcpu_setup()
6629 vmcs_write32(VM_EXIT_MSR_STORE_COUNT, 0); in vmx_vcpu_setup()
6630 vmcs_write32(VM_EXIT_MSR_LOAD_COUNT, 0); in vmx_vcpu_setup()
6632 vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, 0); in vmx_vcpu_setup()
6714 vmcs_write32(GUEST_TR_LIMIT, 0xffff); in vmx_vcpu_reset()
6715 vmcs_write32(GUEST_TR_AR_BYTES, 0x008b); in vmx_vcpu_reset()
6719 vmcs_write32(GUEST_LDTR_LIMIT, 0xffff); in vmx_vcpu_reset()
6720 vmcs_write32(GUEST_LDTR_AR_BYTES, 0x00082); in vmx_vcpu_reset()
6723 vmcs_write32(GUEST_SYSENTER_CS, 0); in vmx_vcpu_reset()
6733 vmcs_write32(GUEST_GDTR_LIMIT, 0xffff); in vmx_vcpu_reset()
6736 vmcs_write32(GUEST_IDTR_LIMIT, 0xffff); in vmx_vcpu_reset()
6738 vmcs_write32(GUEST_ACTIVITY_STATE, GUEST_ACTIVITY_ACTIVE); in vmx_vcpu_reset()
6739 vmcs_write32(GUEST_INTERRUPTIBILITY_INFO, 0); in vmx_vcpu_reset()
6746 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, 0); /* 22.2.1 */ in vmx_vcpu_reset()
6753 vmcs_write32(TPR_THRESHOLD, 0); in vmx_vcpu_reset()
6837 vmcs_write32(VM_ENTRY_INSTRUCTION_LEN, in vmx_inject_irq()
6841 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, intr); in vmx_inject_irq()
6872 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, in vmx_inject_nmi()
10216 vmcs_write32(TPR_THRESHOLD, 0); in update_cr8_intercept()
10220 vmcs_write32(TPR_THRESHOLD, irr); in update_cr8_intercept()
10262 vmcs_write32(SECONDARY_VM_EXEC_CONTROL, sec_exec_control); in vmx_set_virtual_apic_mode()
10599 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, 0); in vmx_cancel_injection()
10622 vmcs_write32(VMX_PREEMPTION_TIMER_VALUE, val); in vmx_arm_hv_timer()
10676 vmcs_write32(PLE_WINDOW, vmx->ple_window); in vmx_vcpu_run()
11211 vmcs_write32(SECONDARY_VM_EXEC_CONTROL, in vmcs_set_secondary_exec_control()
11974 vmcs_write32(GUEST_ES_LIMIT, vmcs12->guest_es_limit); in prepare_vmcs02_full()
11975 vmcs_write32(GUEST_SS_LIMIT, vmcs12->guest_ss_limit); in prepare_vmcs02_full()
11976 vmcs_write32(GUEST_DS_LIMIT, vmcs12->guest_ds_limit); in prepare_vmcs02_full()
11977 vmcs_write32(GUEST_FS_LIMIT, vmcs12->guest_fs_limit); in prepare_vmcs02_full()
11978 vmcs_write32(GUEST_GS_LIMIT, vmcs12->guest_gs_limit); in prepare_vmcs02_full()
11979 vmcs_write32(GUEST_LDTR_LIMIT, vmcs12->guest_ldtr_limit); in prepare_vmcs02_full()
11980 vmcs_write32(GUEST_TR_LIMIT, vmcs12->guest_tr_limit); in prepare_vmcs02_full()
11981 vmcs_write32(GUEST_GDTR_LIMIT, vmcs12->guest_gdtr_limit); in prepare_vmcs02_full()
11982 vmcs_write32(GUEST_IDTR_LIMIT, vmcs12->guest_idtr_limit); in prepare_vmcs02_full()
11983 vmcs_write32(GUEST_ES_AR_BYTES, vmcs12->guest_es_ar_bytes); in prepare_vmcs02_full()
11984 vmcs_write32(GUEST_SS_AR_BYTES, vmcs12->guest_ss_ar_bytes); in prepare_vmcs02_full()
11985 vmcs_write32(GUEST_DS_AR_BYTES, vmcs12->guest_ds_ar_bytes); in prepare_vmcs02_full()
11986 vmcs_write32(GUEST_FS_AR_BYTES, vmcs12->guest_fs_ar_bytes); in prepare_vmcs02_full()
11987 vmcs_write32(GUEST_GS_AR_BYTES, vmcs12->guest_gs_ar_bytes); in prepare_vmcs02_full()
11988 vmcs_write32(GUEST_LDTR_AR_BYTES, vmcs12->guest_ldtr_ar_bytes); in prepare_vmcs02_full()
11989 vmcs_write32(GUEST_TR_AR_BYTES, vmcs12->guest_tr_ar_bytes); in prepare_vmcs02_full()
11999 vmcs_write32(GUEST_SYSENTER_CS, vmcs12->guest_sysenter_cs); in prepare_vmcs02_full()
12026 vmcs_write32(PAGE_FAULT_ERROR_CODE_MASK, in prepare_vmcs02_full()
12028 vmcs_write32(PAGE_FAULT_ERROR_CODE_MATCH, in prepare_vmcs02_full()
12054 vmcs_write32(VM_EXIT_MSR_STORE_COUNT, 0); in prepare_vmcs02_full()
12055 vmcs_write32(VM_EXIT_MSR_LOAD_COUNT, vmx->msr_autoload.host.nr); in prepare_vmcs02_full()
12057 vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, vmx->msr_autoload.guest.nr); in prepare_vmcs02_full()
12119 vmcs_write32(GUEST_CS_LIMIT, vmcs12->guest_cs_limit); in prepare_vmcs02()
12120 vmcs_write32(GUEST_CS_AR_BYTES, vmcs12->guest_cs_ar_bytes); in prepare_vmcs02()
12133 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, in prepare_vmcs02()
12135 vmcs_write32(VM_ENTRY_EXCEPTION_ERROR_CODE, in prepare_vmcs02()
12137 vmcs_write32(VM_ENTRY_INSTRUCTION_LEN, in prepare_vmcs02()
12139 vmcs_write32(GUEST_INTERRUPTIBILITY_INFO, in prepare_vmcs02()
12144 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, 0); in prepare_vmcs02()
12163 vmcs_write32(PIN_BASED_VM_EXEC_CONTROL, exec_control); in prepare_vmcs02()
12205 vmcs_write32(SECONDARY_VM_EXEC_CONTROL, exec_control); in prepare_vmcs02()
12230 vmcs_write32(TPR_THRESHOLD, vmcs12->tpr_threshold); in prepare_vmcs02()
12245 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, exec_control); in prepare_vmcs02()
12259 vmcs_write32(VM_EXIT_CONTROLS, vmcs_config.vmexit_ctrl); in prepare_vmcs02()
13201 vmcs_write32(GUEST_SYSENTER_CS, vmcs12->host_ia32_sysenter_cs); in load_vmcs12_host_state()
13206 vmcs_write32(GUEST_IDTR_LIMIT, 0xFFFF); in load_vmcs12_host_state()
13207 vmcs_write32(GUEST_GDTR_LIMIT, 0xFFFF); in load_vmcs12_host_state()
13335 vmcs_write32(VM_EXIT_MSR_LOAD_COUNT, vmx->msr_autoload.host.nr); in nested_vmx_vmexit()
13336 vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, vmx->msr_autoload.guest.nr); in nested_vmx_vmexit()