Searched refs:sev_es_save_area (Results 1 – 6 of 6) sorted by relevance
/linux/arch/x86/include/asm/ |
H A D | svm.h | 357 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 D | ivm.c | 249 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 D | svm.h | 217 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 D | sev.c | 811 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 D | svm.c | 574 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 D | core.c | 140 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()
|