Home
last modified time | relevance | path

Searched defs:ghcb (Results 1 – 16 of 16) sorted by relevance

/linux/arch/x86/coco/sev/
H A Dvc-handle.c38 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 Dvc-shared.c304 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 Dcore.c128 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 Dsev-nmi.c95 struct ghcb *ghcb; in __sev_es_nmi_complete() local
/linux/arch/x86/boot/startup/
H A Dsev-shared.c140 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 Dsev-startup.c74 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 Dsev.c62 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 Dmshyperv.c680 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 Dvmware.c549 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 Dsev-internal.h47 struct ghcb *ghcb; member
H A Dsvm.h518 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 Dsev.h537 static __always_inline void vc_ghcb_invalidate(struct ghcb *ghcb) in vc_ghcb_invalidate()
/linux/arch/x86/hyperv/
H A Divm.c35 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 Dkvm.c990 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 Dsev.c3239 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 Dsvm.h224 struct ghcb *ghcb; member