Lines Matching refs:vmsa
811 struct sev_es_save_area *save = svm->sev_es.vmsa; in sev_es_sync_vmsa()
905 struct sev_data_launch_update_vmsa vmsa; in __sev_launch_update_vmsa() local
924 clflush_cache_range(svm->sev_es.vmsa, PAGE_SIZE); in __sev_launch_update_vmsa()
926 vmsa.reserved = 0; in __sev_launch_update_vmsa()
927 vmsa.handle = to_kvm_sev_info(kvm)->handle; in __sev_launch_update_vmsa()
928 vmsa.address = __sme_pa(svm->sev_es.vmsa); in __sev_launch_update_vmsa()
929 vmsa.len = PAGE_SIZE; in __sev_launch_update_vmsa()
930 ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_VMSA, &vmsa, error); in __sev_launch_update_vmsa()
2457 u64 pfn = __pa(svm->sev_es.vmsa) >> PAGE_SHIFT; in snp_launch_update_vmsa()
2469 data.address = __sme_pa(svm->sev_es.vmsa); in snp_launch_update_vmsa()
3183 u64 pfn = __pa(svm->sev_es.vmsa) >> PAGE_SHIFT; in sev_free_vcpu()
3190 sev_flush_encrypted_page(vcpu, svm->sev_es.vmsa); in sev_free_vcpu()
3192 __free_page(virt_to_page(svm->sev_es.vmsa)); in sev_free_vcpu()
4504 if (svm->sev_es.vmsa && !svm->sev_es.snp_has_guest_vmsa) in sev_es_init_vmcb()
4505 svm->vmcb->control.vmsa_pa = __pa(svm->sev_es.vmsa); in sev_es_init_vmcb()