Home
last modified time | relevance | path

Searched refs:MSR_TYPE_W (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/arch/x86/kvm/
H A Dx86.h568 MSR_TYPE_W = BIT(1), enumerator
569 MSR_TYPE_RW = MSR_TYPE_R | MSR_TYPE_W,
H A Dx86.c503 const char *op = rw == MSR_TYPE_W ? "wrmsr" : "rdmsr"; in kvm_do_msr_access()
506 BUILD_BUG_ON(rw != MSR_TYPE_R && rw != MSR_TYPE_W); in kvm_do_msr_access()
1872 return kvm_do_msr_access(vcpu, index, &data, host_initiated, MSR_TYPE_W, in kvm_set_msr_ignored_check()
/linux-6.15/arch/x86/kvm/vmx/
H A Dvmx.c4038 if (type & MSR_TYPE_W) in vmx_disable_intercept_for_msr()
4048 if ((type & MSR_TYPE_W) && in vmx_disable_intercept_for_msr()
4051 type &= ~MSR_TYPE_W; in vmx_disable_intercept_for_msr()
4057 if (type & MSR_TYPE_W) in vmx_disable_intercept_for_msr()
4080 if (type & MSR_TYPE_W) in vmx_enable_intercept_for_msr()
4087 if (type & MSR_TYPE_W) in vmx_enable_intercept_for_msr()
4144 vmx_disable_intercept_for_msr(vcpu, X2APIC_MSR(APIC_EOI), MSR_TYPE_W); in vmx_update_msr_bitmap_x2apic()
4145 vmx_disable_intercept_for_msr(vcpu, X2APIC_MSR(APIC_SELF_IPI), MSR_TYPE_W); in vmx_update_msr_bitmap_x2apic()
4190 vmx_disable_intercept_for_msr(vcpu, msr, MSR_TYPE_W); in vmx_msr_filter_changed()
7927 vmx_set_intercept_for_msr(vcpu, MSR_IA32_PRED_CMD, MSR_TYPE_W, in vmx_vcpu_after_set_cpuid()
[all …]
H A Dnested.c572 if (type & MSR_TYPE_W && !vmx_test_msr_bitmap_write(msr_bitmap_l1, msr)) in nested_vmx_disable_intercept_for_x2apic_msr()
611 if (types & MSR_TYPE_W) in BUILD_NVMX_MSR_INTERCEPT_HELPER()
680 MSR_TYPE_R | MSR_TYPE_W); in nested_vmx_prepare_msr_bitmap()
686 MSR_TYPE_W); in nested_vmx_prepare_msr_bitmap()
690 MSR_TYPE_W); in nested_vmx_prepare_msr_bitmap()
712 MSR_IA32_PRED_CMD, MSR_TYPE_W); in nested_vmx_prepare_msr_bitmap()
715 MSR_IA32_FLUSH_CMD, MSR_TYPE_W); in nested_vmx_prepare_msr_bitmap()