Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/
H A Dsev.c114 struct ghcb *ghcb; member
219 struct ghcb *ghcb; in __sev_get_ghcb() local
562 struct ghcb *ghcb; in __sev_put_ghcb() local
587 struct ghcb *ghcb; in __sev_es_nmi_complete() local
658 struct ghcb *ghcb; in get_jump_table_addr() local
789 struct ghcb *ghcb; in __set_pages_state() local
962 struct ghcb *ghcb; in wakeup_cpu_via_vmgexit() local
1212 struct ghcb *ghcb; in snp_register_per_cpu_ghcb() local
1266 struct ghcb *ghcb; in sev_es_ap_hlt_loop() local
1852 struct ghcb *ghcb; in vc_raw_handle_exception() local
[all …]
H A Dsev-shared.c165 static __always_inline void vc_ghcb_invalidate(struct ghcb *ghcb) in vc_ghcb_invalidate()
198 static enum es_result verify_exception_info(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in verify_exception_info()
226 static enum es_result sev_es_ghcb_hv_call(struct ghcb *ghcb, in sev_es_ghcb_hv_call()
316 static int sev_cpuid_hv(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in sev_cpuid_hv()
431 static int snp_cpuid_postprocess(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in snp_cpuid_postprocess()
527 snp_cpuid(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in snp_cpuid()
814 static enum es_result vc_handle_ioio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_ioio()
922 static int vc_handle_cpuid_snp(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_cpuid_snp()
941 static enum es_result vc_handle_cpuid(struct ghcb *ghcb, in vc_handle_cpuid()
983 static enum es_result vc_handle_rdtsc(struct ghcb *ghcb, in vc_handle_rdtsc()
[all …]
H A 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()
/openbmc/linux/arch/x86/kernel/cpu/
H A 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()
H A 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()
/openbmc/linux/arch/x86/include/asm/
H A 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
/openbmc/linux/arch/x86/hyperv/
H A 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()
/openbmc/linux/arch/x86/boot/compressed/
H A Dsev.c274 static void __noreturn sev_es_ghcb_terminate(struct ghcb *ghcb, unsigned int set, in sev_es_ghcb_terminate()
/openbmc/linux/arch/x86/kvm/svm/
H A Dsev.c2404 struct ghcb *ghcb = svm->sev_es.ghcb; in dump_ghcb() local
2430 struct ghcb *ghcb = svm->sev_es.ghcb; in sev_es_sync_to_ghcb() local
2450 struct ghcb *ghcb = svm->sev_es.ghcb; in sev_es_sync_from_ghcb() local
H A Dsvm.h195 struct ghcb *ghcb; member