| /arch/x86/coco/sev/ |
| A D | vc-handle.c | 38 static enum es_result vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_slow_virt_to_phys() 468 static enum es_result vc_do_mmio(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_do_mmio() 648 static enum es_result vc_handle_dr7_write(struct ghcb *ghcb, in vc_handle_dr7_write() 689 static enum es_result vc_handle_dr7_read(struct ghcb *ghcb, in vc_handle_dr7_read() 709 static enum es_result vc_handle_wbinvd(struct ghcb *ghcb, in vc_handle_wbinvd() 734 static enum es_result vc_handle_monitor(struct ghcb *ghcb, in vc_handle_monitor() 744 static enum es_result vc_handle_mwait(struct ghcb *ghcb, in vc_handle_mwait() 751 static enum es_result vc_handle_vmmcall(struct ghcb *ghcb, in vc_handle_vmmcall() 783 static enum es_result vc_handle_trap_ac(struct ghcb *ghcb, in vc_handle_trap_ac() 797 struct ghcb *ghcb, in vc_handle_exitcode() [all …]
|
| A D | vc-shared.c | 304 static enum es_result vc_handle_ioio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_ioio() 412 static int vc_handle_cpuid_snp(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_cpuid_snp() 431 static enum es_result vc_handle_cpuid(struct ghcb *ghcb, in vc_handle_cpuid() 473 static enum es_result vc_handle_rdtsc(struct ghcb *ghcb, in vc_handle_rdtsc()
|
| A D | sev-nmi.c | 95 struct ghcb *ghcb; in __sev_es_nmi_complete() local
|
| A D | core.c | 128 struct ghcb *ghcb; in get_jump_table_addr() local 390 static int vmgexit_psc(struct ghcb *ghcb, struct snp_psc_desc *desc) in vmgexit_psc() 465 struct ghcb *ghcb; in __set_pages_state() local 578 struct ghcb *ghcb; in vmgexit_ap_control() local 684 unsigned long addr, end, size, ghcb; in unshare_all_memory() local 830 struct ghcb *ghcb; in snp_kexec_finish() local 1113 struct ghcb *ghcb; in snp_register_per_cpu_ghcb() local 1167 struct ghcb *ghcb; in sev_es_ap_hlt_loop() local 1434 struct ghcb *ghcb; in snp_issue_guest_request() local
|
| /arch/x86/boot/startup/ |
| A D | sev-startup.c | 74 struct ghcb *ghcb; in __sev_get_ghcb() local 120 struct ghcb *ghcb; in __sev_put_ghcb() local 146 struct ghcb *ghcb; in svsm_perform_call_protocol() local
|
| A D | sev-shared.c | 140 static enum es_result verify_exception_info(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in verify_exception_info() 250 static int svsm_perform_ghcb_protocol(struct ghcb *ghcb, struct svsm_call *call) in svsm_perform_ghcb_protocol() 288 enum es_result sev_es_ghcb_hv_call(struct ghcb *ghcb, in sev_es_ghcb_hv_call() 345 static int __sev_cpuid_hv_ghcb(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in __sev_cpuid_hv_ghcb() 378 static int sev_cpuid_hv(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in sev_cpuid_hv() 487 static void snp_cpuid_hv(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in snp_cpuid_hv() 494 snp_cpuid_postprocess(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in snp_cpuid_postprocess() 590 snp_cpuid(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in snp_cpuid()
|
| /arch/x86/include/asm/ |
| A D | sev-internal.h | 47 struct ghcb *ghcb; member
|
| A D | svm.h | 518 struct ghcb { struct 519 struct ghcb_save_area save; argument 520 u8 reserved_save[2048 - sizeof(struct ghcb_save_area)]; argument 526 u32 ghcb_usage; argument
|
| A D | sev.h | 537 static __always_inline void vc_ghcb_invalidate(struct ghcb *ghcb) in vc_ghcb_invalidate()
|
| /arch/x86/boot/compressed/ |
| A D | sev.c | 62 struct ghcb *ghcb; in svsm_perform_call_protocol() local 194 static void __noreturn sev_es_ghcb_terminate(struct ghcb *ghcb, unsigned int set, in sev_es_ghcb_terminate()
|
| /arch/x86/kernel/cpu/ |
| A D | mshyperv.c | 680 static void hv_sev_es_hcall_prepare(struct ghcb *ghcb, struct pt_regs *regs) in hv_sev_es_hcall_prepare() 688 static bool hv_sev_es_hcall_finish(struct ghcb *ghcb, struct pt_regs *regs) in hv_sev_es_hcall_finish()
|
| A D | vmware.c | 549 static void vmware_sev_es_hcall_prepare(struct ghcb *ghcb, in vmware_sev_es_hcall_prepare() 562 static bool vmware_sev_es_hcall_finish(struct ghcb *ghcb, struct pt_regs *regs) in vmware_sev_es_hcall_finish()
|
| /arch/x86/hyperv/ |
| A D | ivm.c | 35 struct ghcb ghcb; member 124 static enum es_result hv_ghcb_hv_call(struct ghcb *ghcb, u64 exit_code, in hv_ghcb_hv_call()
|
| /arch/x86/kernel/ |
| A D | kvm.c | 990 static void kvm_sev_es_hcall_prepare(struct ghcb *ghcb, struct pt_regs *regs) in kvm_sev_es_hcall_prepare() 999 static bool kvm_sev_es_hcall_finish(struct ghcb *ghcb, struct pt_regs *regs) in kvm_sev_es_hcall_finish()
|
| /arch/x86/kvm/svm/ |
| A D | sev.c | 3239 struct ghcb *ghcb = svm->sev_es.ghcb; in sev_es_sync_to_ghcb() local 3259 struct ghcb *ghcb = svm->sev_es.ghcb; in sev_es_sync_from_ghcb() local
|
| A D | svm.h | 224 struct ghcb *ghcb; member
|