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

/linux-4.1.27/arch/x86/kvm/
H A Dsvm.c101 u32 *msrpm; member in struct:nested_state
148 u32 *msrpm; member in struct:vcpu_svm
762 static void set_msr_interception(u32 *msrpm, unsigned msr, set_msr_interception() argument
778 tmp = msrpm[offset]; set_msr_interception()
785 msrpm[offset] = tmp; set_msr_interception()
788 static void svm_vcpu_init_msrpm(u32 *msrpm) svm_vcpu_init_msrpm() argument
792 memset(msrpm, 0xff, PAGE_SIZE * (1 << MSRPM_ALLOC_ORDER)); svm_vcpu_init_msrpm()
798 set_msr_interception(msrpm, direct_access_msrs[i].index, 1, 1); svm_vcpu_init_msrpm()
847 u32 *msrpm = svm->msrpm; svm_enable_lbrv() local
850 set_msr_interception(msrpm, MSR_IA32_LASTBRANCHFROMIP, 1, 1); svm_enable_lbrv()
851 set_msr_interception(msrpm, MSR_IA32_LASTBRANCHTOIP, 1, 1); svm_enable_lbrv()
852 set_msr_interception(msrpm, MSR_IA32_LASTINTFROMIP, 1, 1); svm_enable_lbrv()
853 set_msr_interception(msrpm, MSR_IA32_LASTINTTOIP, 1, 1); svm_enable_lbrv()
858 u32 *msrpm = svm->msrpm; svm_disable_lbrv() local
861 set_msr_interception(msrpm, MSR_IA32_LASTBRANCHFROMIP, 0, 0); svm_disable_lbrv()
862 set_msr_interception(msrpm, MSR_IA32_LASTBRANCHTOIP, 0, 0); svm_disable_lbrv()
863 set_msr_interception(msrpm, MSR_IA32_LASTINTFROMIP, 0, 0); svm_disable_lbrv()
864 set_msr_interception(msrpm, MSR_IA32_LASTINTTOIP, 0, 0); svm_disable_lbrv()
1138 control->msrpm_base_pa = __pa(svm->msrpm); init_vmcb()
1254 svm->msrpm = page_address(msrpm_pages); svm_create_vcpu()
1255 svm_vcpu_init_msrpm(svm->msrpm); svm_create_vcpu()
1257 svm->nested.msrpm = page_address(nested_msrpm_pages); svm_create_vcpu()
1258 svm_vcpu_init_msrpm(svm->nested.msrpm); svm_create_vcpu()
1294 __free_pages(virt_to_page(svm->msrpm), MSRPM_ALLOC_ORDER); svm_free_vcpu()
1296 __free_pages(virt_to_page(svm->nested.msrpm), MSRPM_ALLOC_ORDER); svm_free_vcpu()
2455 svm->nested.msrpm[p] = svm->msrpm[p] | value; nested_svm_vmrun_msrpm()
2458 svm->vmcb->control.msrpm_base_pa = __pa(svm->nested.msrpm); nested_svm_vmrun_msrpm()

Completed in 76 milliseconds