Home
last modified time | relevance | path

Searched refs:sev_es (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/arch/x86/kvm/svm/
Dsev.c54 module_param_named(sev_es, sev_es_enabled, bool, 0444);
566 struct sev_es_save_area *save = svm->sev_es.vmsa; in sev_es_sync_vmsa()
630 clflush_cache_range(svm->sev_es.vmsa, PAGE_SIZE); in __sev_launch_update_vmsa()
634 vmsa.address = __sme_pa(svm->sev_es.vmsa); in __sev_launch_update_vmsa()
1734 memcpy(&dst_svm->sev_es, &src_svm->sev_es, sizeof(src_svm->sev_es)); in sev_migrate_from()
1739 memset(&src_svm->sev_es, 0, sizeof(src_svm->sev_es)); in sev_migrate_from()
2340 sev_flush_encrypted_page(vcpu, svm->sev_es.vmsa); in sev_free_vcpu()
2342 __free_page(virt_to_page(svm->sev_es.vmsa)); in sev_free_vcpu()
2344 if (svm->sev_es.ghcb_sa_free) in sev_free_vcpu()
2345 kvfree(svm->sev_es.ghcb_sa); in sev_free_vcpu()
[all …]
Dsvm.h275 struct vcpu_sev_es_state sev_es; member
Dsvm.c1401 svm->sev_es.vmsa = page_address(vmsa_page); in svm_vcpu_create()
2822 if (!err || !sev_es_guest(vcpu->kvm) || WARN_ON_ONCE(!svm->sev_es.ghcb)) in svm_complete_emulated_msr()
2825 ghcb_set_sw_exit_info_1(svm->sev_es.ghcb, 1); in svm_complete_emulated_msr()
2826 ghcb_set_sw_exit_info_2(svm->sev_es.ghcb, in svm_complete_emulated_msr()