Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kernel/
Dsev.c112 struct ghcb *ghcb; member
217 struct ghcb *ghcb; in __sev_get_ghcb() local
492 static enum es_result vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_slow_virt_to_phys()
560 struct ghcb *ghcb; in __sev_put_ghcb() local
585 struct ghcb *ghcb; in __sev_es_nmi_complete() local
656 struct ghcb *ghcb; in get_jump_table_addr() local
801 struct ghcb *ghcb; in __set_pages_state() local
974 struct ghcb *ghcb; in wakeup_cpu_via_vmgexit() local
1196 static enum es_result vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_msr()
1224 struct ghcb *ghcb; in snp_register_per_cpu_ghcb() local
[all …]
Dsev-shared.c164 static __always_inline void vc_ghcb_invalidate(struct ghcb *ghcb) in vc_ghcb_invalidate()
197 static enum es_result verify_exception_info(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in verify_exception_info()
225 static enum es_result sev_es_ghcb_hv_call(struct ghcb *ghcb, in sev_es_ghcb_hv_call()
282 static int __sev_cpuid_hv_ghcb(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in __sev_cpuid_hv_ghcb()
315 static int sev_cpuid_hv(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in sev_cpuid_hv()
430 static void snp_cpuid_hv(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in snp_cpuid_hv()
436 static int snp_cpuid_postprocess(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in snp_cpuid_postprocess()
531 static int snp_cpuid(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in snp_cpuid()
818 static enum es_result vc_handle_ioio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_ioio()
926 static int vc_handle_cpuid_snp(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_cpuid_snp()
[all …]
Dkvm.c984 static void kvm_sev_es_hcall_prepare(struct ghcb *ghcb, struct pt_regs *regs) in kvm_sev_es_hcall_prepare()
993 static bool kvm_sev_es_hcall_finish(struct ghcb *ghcb, struct pt_regs *regs) in kvm_sev_es_hcall_finish()
/linux-6.6.21/arch/x86/kernel/cpu/
Dmshyperv.c621 static void hv_sev_es_hcall_prepare(struct ghcb *ghcb, struct pt_regs *regs) in hv_sev_es_hcall_prepare()
629 static bool hv_sev_es_hcall_finish(struct ghcb *ghcb, struct pt_regs *regs) in hv_sev_es_hcall_finish()
Dvmware.c484 static void vmware_sev_es_hcall_prepare(struct ghcb *ghcb, in vmware_sev_es_hcall_prepare()
497 static bool vmware_sev_es_hcall_finish(struct ghcb *ghcb, struct pt_regs *regs) in vmware_sev_es_hcall_finish()
/linux-6.6.21/arch/x86/include/asm/
Dsvm.h505 struct ghcb { struct
506 struct ghcb_save_area save; argument
507 u8 reserved_save[2048 - sizeof(struct ghcb_save_area)]; argument
513 u32 ghcb_usage; argument
532 BUILD_BUG_ON(sizeof(struct ghcb) != EXPECTED_GHCB_SIZE); in __unused_size_checks() argument
/linux-6.6.21/arch/x86/hyperv/
Divm.c32 struct ghcb ghcb; member
121 static enum es_result hv_ghcb_hv_call(struct ghcb *ghcb, u64 exit_code, in hv_ghcb_hv_call()
/linux-6.6.21/arch/x86/boot/compressed/
Dsev.c271 static void __noreturn sev_es_ghcb_terminate(struct ghcb *ghcb, unsigned int set, in sev_es_ghcb_terminate()
/linux-6.6.21/arch/x86/kvm/svm/
Dsev.c2374 struct ghcb *ghcb = svm->sev_es.ghcb; in dump_ghcb() local
2400 struct ghcb *ghcb = svm->sev_es.ghcb; in sev_es_sync_to_ghcb() local
2420 struct ghcb *ghcb = svm->sev_es.ghcb; in sev_es_sync_from_ghcb() local
Dsvm.h194 struct ghcb *ghcb; member