Home
last modified time | relevance | path

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

/linux/arch/x86/include/asm/
H A Dsvm.h357 struct sev_es_save_area { struct
530 struct sev_es_save_area host_sev_es_save;
547 BUILD_BUG_ON(sizeof(struct sev_es_save_area) != EXPECTED_SEV_ES_SAVE_AREA_SIZE); in __unused_size_checks()
561 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0xc8); in __unused_size_checks()
562 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0xcc); in __unused_size_checks()
563 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0xd8); in __unused_size_checks()
564 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0x1c0); in __unused_size_checks()
565 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0x248); in __unused_size_checks()
566 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0x298); in __unused_size_checks()
567 BUILD_BUG_RESERVED_OFFSET(sev_es_save_area, 0x2f0); in __unused_size_checks()
[all …]
/linux/arch/x86/hyperv/
H A Divm.c249 static DEFINE_PER_CPU(struct sev_es_save_area *, hv_sev_vmsa);
281 static void snp_cleanup_vmsa(struct sev_es_save_area *vmsa) in snp_cleanup_vmsa()
294 struct sev_es_save_area *vmsa = (struct sev_es_save_area *) in hv_snp_boot_ap()
296 struct sev_es_save_area *cur_vmsa; in hv_snp_boot_ap()
/linux/arch/x86/kvm/svm/
H A Dsvm.h217 struct sev_es_save_area *vmsa;
731 void sev_es_prepare_switch_to_guest(struct vcpu_svm *svm, struct sev_es_save_area *hostsa);
802 struct sev_es_save_area *hostsa);
H A Dsev.c811 struct sev_es_save_area *save = svm->sev_es.vmsa; in sev_es_sync_vmsa()
4580 void sev_es_prepare_switch_to_guest(struct vcpu_svm *svm, struct sev_es_save_area *hostsa) in sev_es_prepare_switch_to_guest()
H A Dsvm.c574 static __always_inline struct sev_es_save_area *sev_es_host_save_area(struct svm_cpu_data *sd) in sev_es_host_save_area()
/linux/arch/x86/coco/sev/
H A Dcore.c140 static DEFINE_PER_CPU(struct sev_es_save_area *, sev_vmsa);
1089 static void snp_cleanup_vmsa(struct sev_es_save_area *vmsa, int apic_id) in snp_cleanup_vmsa()
1102 struct sev_es_save_area *cur_vmsa, *vmsa; in wakeup_cpu_via_vmgexit()
1147 vmsa = (struct sev_es_save_area *)snp_alloc_vmsa_page(cpu); in wakeup_cpu_via_vmgexit()