Home
last modified time | relevance | path

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

/Linux-v6.1/arch/x86/kvm/svm/
Dsvm.c715 u32 *msrpm; in msr_write_intercepted() local
726 msrpm = is_guest_mode(vcpu) ? to_svm(vcpu)->nested.msrpm: in msr_write_intercepted()
727 to_svm(vcpu)->msrpm; in msr_write_intercepted()
731 tmp = msrpm[offset]; in msr_write_intercepted()
738 static void set_msr_interception_bitmap(struct kvm_vcpu *vcpu, u32 *msrpm, in set_msr_interception_bitmap() argument
762 tmp = msrpm[offset]; in set_msr_interception_bitmap()
769 msrpm[offset] = tmp; in set_msr_interception_bitmap()
775 void set_msr_interception(struct kvm_vcpu *vcpu, u32 *msrpm, u32 msr, in set_msr_interception() argument
779 set_msr_interception_bitmap(vcpu, msrpm, msr, read, write); in set_msr_interception()
786 u32 *msrpm; in svm_vcpu_alloc_msrpm() local
[all …]
Dsvm.h165 u32 *msrpm; member
231 u32 *msrpm; member
543 void svm_vcpu_init_msrpm(struct kvm_vcpu *vcpu, u32 *msrpm);
544 void svm_vcpu_free_msrpm(u32 *msrpm);
557 void set_msr_interception(struct kvm_vcpu *vcpu, u32 *msrpm, u32 msr,
Dnested.c221 svm->nested.msrpm[p] = svm->msrpm[p] | value; in nested_svm_vmrun_msrpm()
227 svm->vmcb->control.msrpm_base_pa = __sme_set(__pa(svm->nested.msrpm)); in nested_svm_vmrun_msrpm()
1116 svm->nested.msrpm = svm_vcpu_alloc_msrpm(); in svm_allocate_nested()
1117 if (!svm->nested.msrpm) in svm_allocate_nested()
1119 svm_vcpu_init_msrpm(&svm->vcpu, svm->nested.msrpm); in svm_allocate_nested()
1137 svm_vcpu_free_msrpm(svm->nested.msrpm); in svm_free_nested()
1138 svm->nested.msrpm = NULL; in svm_free_nested()
Dsev.c2977 set_msr_interception(vcpu, svm->msrpm, MSR_EFER, 1, 1); in sev_es_init_vmcb()
2978 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_CR_PAT, 1, 1); in sev_es_init_vmcb()
2979 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTBRANCHFROMIP, 1, 1); in sev_es_init_vmcb()
2980 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTBRANCHTOIP, 1, 1); in sev_es_init_vmcb()
2981 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTINTFROMIP, 1, 1); in sev_es_init_vmcb()
2982 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTINTTOIP, 1, 1); in sev_es_init_vmcb()
2987 set_msr_interception(vcpu, svm->msrpm, MSR_TSC_AUX, 1, 1); in sev_es_init_vmcb()