/linux/arch/x86/coco/sev/ |
H 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() 404 static enum es_result vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_msr() 467 static enum es_result vc_do_mmio(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_do_mmio() 566 static enum es_result vc_handle_mmio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_mmio() 647 static enum es_result vc_handle_dr7_write(struct ghcb *ghcb, in vc_handle_dr7_write() 688 static enum es_result vc_handle_dr7_read(struct ghcb *ghcb, in vc_handle_dr7_read() 708 static enum es_result vc_handle_wbinvd(struct ghcb *ghcb, in vc_handle_wbinvd() 714 static enum es_result vc_handle_rdpmc(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_rdpmc() 733 static enum es_result vc_handle_monitor(struct ghcb *ghcb, in vc_handle_monitor() 743 static enum es_result vc_handle_mwait(struct ghcb *ghcb, in vc_handle_mwait() [all …]
|
H 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()
|
H A D | core.c | 128 struct ghcb *ghcb; in get_jump_table_addr() local 388 static int vmgexit_psc(struct ghcb *ghcb, struct snp_psc_desc *desc) in vmgexit_psc() 463 struct ghcb *ghcb; in __set_pages_state() local 576 struct ghcb *ghcb; in vmgexit_ap_control() local 682 unsigned long addr, end, size, ghcb; in unshare_all_memory() local 828 struct ghcb *ghcb; in snp_kexec_finish() local 1111 struct ghcb *ghcb; in snp_register_per_cpu_ghcb() local 1165 struct ghcb *ghcb; in sev_es_ap_hlt_loop() local 1432 struct ghcb *ghcb; in snp_issue_guest_request() local
|
H A D | sev-nmi.c | 95 struct ghcb *ghcb; in __sev_es_nmi_complete() local
|
/linux/arch/x86/boot/startup/ |
H 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()
|
H 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
|
/linux/arch/x86/boot/compressed/ |
H 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()
|
/linux/arch/x86/kernel/cpu/ |
H 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()
|
H 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()
|
/linux/arch/x86/include/asm/ |
H A D | sev-internal.h | 47 struct ghcb *ghcb; member
|
H 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
|
H A D | sev.h | 537 static __always_inline void vc_ghcb_invalidate(struct ghcb *ghcb) in vc_ghcb_invalidate()
|
/linux/arch/x86/hyperv/ |
H 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()
|
/linux/arch/x86/kernel/ |
H 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()
|
/linux/arch/x86/kvm/svm/ |
H 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
|
H A D | svm.h | 224 struct ghcb *ghcb; member
|