Home
last modified time | relevance | path

Searched refs:sev_es_save_area (Results 1 – 7 of 7) sorted by relevance

/linux/arch/x86/include/asm/
H A Dsvm.h372 struct sev_es_save_area { struct
547 struct sev_es_save_area host_sev_es_save;
564 BUILD_BUG_ON(sizeof(struct sev_es_save_area) != EXPECTED_SEV_ES_SAVE_AREA_SIZE); in __unused_size_checks()
578 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0xc8); in __unused_size_checks()
579 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0xcc); in __unused_size_checks()
580 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0xd8); in __unused_size_checks()
581 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0x1c0); in __unused_size_checks()
582 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0x248); in __unused_size_checks()
583 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0x298); in __unused_size_checks()
584 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0x300); in __unused_size_checks()
[all …]
/linux/arch/x86/hyperv/
H A Divm.c252 static DEFINE_PER_CPU(struct sev_es_save_area *, hv_sev_vmsa);
284 static void snp_cleanup_vmsa(struct sev_es_save_area *vmsa) in snp_cleanup_vmsa()
297 struct sev_es_save_area *vmsa = (struct sev_es_save_area *) in hv_snp_boot_ap()
299 struct sev_es_save_area *cur_vmsa; in hv_snp_boot_ap()
/linux/arch/x86/coco/sev/
H A Dinternal.h57 DECLARE_PER_CPU(struct sev_es_save_area *, sev_vmsa);
H A Dcore.c105 DEFINE_PER_CPU(struct sev_es_save_area *, sev_vmsa);
439 static int vmgexit_ap_control(u64 event, struct sev_es_save_area *vmsa, u32 apic_id) in vmgexit_ap_control()
524 static void snp_cleanup_vmsa(struct sev_es_save_area *vmsa, int apic_id) in snp_cleanup_vmsa()
639 struct sev_es_save_area *vmsa; in shutdown_all_aps()
763 struct sev_es_save_area *cur_vmsa, *vmsa; in wakeup_cpu_via_vmgexit()
796 vmsa = (struct sev_es_save_area *)snp_alloc_vmsa_page(cpu); in wakeup_cpu_via_vmgexit()
/linux/arch/x86/kvm/svm/
H A Dsvm.h225 struct sev_es_save_area *vmsa;
865 void sev_es_prepare_switch_to_guest(struct vcpu_svm *svm, struct sev_es_save_area *hostsa);
943 struct sev_es_save_area *hostsa);
H A Dsvm.c475 static __always_inline struct sev_es_save_area *sev_es_host_save_area(struct svm_cpu_data *sd) in sev_es_host_save_area()
3456 struct sev_es_save_area *vmsa = (struct sev_es_save_area *)save; in dump_vmcb()
H A Dsev.c879 struct sev_es_save_area *save = svm->sev_es.vmsa; in sev_es_sync_vmsa()
4714 void sev_es_prepare_switch_to_guest(struct vcpu_svm *svm, struct sev_es_save_area *hostsa) in sev_es_prepare_switch_to_guest()