Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/kvm/svm/
Dsvm.c816 u32 *msrpm; in msr_write_intercepted() local
827 msrpm = is_guest_mode(vcpu) ? to_svm(vcpu)->nested.msrpm: in msr_write_intercepted()
828 to_svm(vcpu)->msrpm; in msr_write_intercepted()
832 tmp = msrpm[offset]; in msr_write_intercepted()
839 static void set_msr_interception_bitmap(struct kvm_vcpu *vcpu, u32 *msrpm, in set_msr_interception_bitmap() argument
863 tmp = msrpm[offset]; in set_msr_interception_bitmap()
870 msrpm[offset] = tmp; in set_msr_interception_bitmap()
876 void set_msr_interception(struct kvm_vcpu *vcpu, u32 *msrpm, u32 msr, in set_msr_interception() argument
880 set_msr_interception_bitmap(vcpu, msrpm, msr, read, write); in set_msr_interception()
887 u32 *msrpm; in svm_vcpu_alloc_msrpm() local
[all …]
Dsvm.h164 u32 *msrpm; member
232 u32 *msrpm; member
541 void svm_vcpu_init_msrpm(struct kvm_vcpu *vcpu, u32 *msrpm);
542 void svm_vcpu_free_msrpm(u32 *msrpm);
555 void set_msr_interception(struct kvm_vcpu *vcpu, u32 *msrpm, u32 msr,
Dnested.c228 svm->nested.msrpm[p] = svm->msrpm[p] | value; in nested_svm_vmrun_msrpm()
234 svm->vmcb->control.msrpm_base_pa = __sme_set(__pa(svm->nested.msrpm)); in nested_svm_vmrun_msrpm()
1203 svm->nested.msrpm = svm_vcpu_alloc_msrpm(); in svm_allocate_nested()
1204 if (!svm->nested.msrpm) in svm_allocate_nested()
1206 svm_vcpu_init_msrpm(&svm->vcpu, svm->nested.msrpm); in svm_allocate_nested()
1224 svm_vcpu_free_msrpm(svm->nested.msrpm); in svm_free_nested()
1225 svm->nested.msrpm = NULL; in svm_free_nested()
Dsev.c2973 set_msr_interception(vcpu, svm->msrpm, MSR_TSC_AUX, v_tsc_aux, v_tsc_aux); in sev_es_vcpu_after_set_cpuid()
3047 set_msr_interception(vcpu, svm->msrpm, MSR_EFER, 1, 1); in sev_es_init_vmcb()
3048 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_CR_PAT, 1, 1); in sev_es_init_vmcb()
3049 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTBRANCHFROMIP, 1, 1); in sev_es_init_vmcb()
3050 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTBRANCHTOIP, 1, 1); in sev_es_init_vmcb()
3051 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTINTFROMIP, 1, 1); in sev_es_init_vmcb()
3052 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTINTTOIP, 1, 1); in sev_es_init_vmcb()