| /linux/arch/x86/coco/sev/ |
| H A D | vc-handle.c | 39 static enum es_result vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_slow_virt_to_phys() 407 enum es_result __vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt, bool write) in __vc_handle_msr() 449 static enum es_result vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_msr() 480 static enum es_result vc_do_mmio(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_do_mmio() 579 static enum es_result vc_handle_mmio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_mmio() 660 static enum es_result vc_handle_dr7_write(struct ghcb *ghcb, in vc_handle_dr7_write() 701 static enum es_result vc_handle_dr7_read(struct ghcb *ghcb, in vc_handle_dr7_read() 721 static enum es_result vc_handle_wbinvd(struct ghcb *ghcb, in vc_handle_wbinvd() 727 static enum es_result vc_handle_rdpmc(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_rdpmc() 746 static enum es_result vc_handle_monitor(struct ghcb *ghcb, in vc_handle_monitor() [all …]
|
| H A D | vc-shared.c | 308 static enum es_result vc_handle_ioio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_ioio() 416 enum es_result verify_exception_info(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in verify_exception_info() 444 enum es_result sev_es_ghcb_hv_call(struct ghcb *ghcb, in sev_es_ghcb_hv_call() 463 static int __sev_cpuid_hv_ghcb(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in __sev_cpuid_hv_ghcb() 497 struct ghcb *ghcb; member 509 static int vc_handle_cpuid_snp(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_cpuid_snp() 529 static enum es_result vc_handle_cpuid(struct ghcb *ghcb, in vc_handle_cpuid() 578 static enum es_result vc_handle_rdtsc(struct ghcb *ghcb, in vc_handle_rdtsc()
|
| H A D | noinstr.c | 96 struct ghcb *ghcb; in __sev_es_nmi_complete() local 120 struct ghcb *ghcb; in __sev_get_ghcb() local 166 struct ghcb *ghcb; in __sev_put_ghcb() local
|
| H A D | core.c | 159 struct ghcb *ghcb; in get_jump_table_addr() local 253 static int vmgexit_psc(struct ghcb *ghcb, struct snp_psc_desc *desc) in vmgexit_psc() 328 struct ghcb *ghcb; in __set_pages_state() local 444 struct ghcb *ghcb; in vmgexit_ap_control() local 550 unsigned long addr, end, size, ghcb; in unshare_all_memory() local 696 struct ghcb *ghcb; in snp_kexec_finish() local 986 struct ghcb *ghcb; in savic_ghcb_msr_read() local 1016 struct ghcb *ghcb; in savic_ghcb_msr_write() local 1038 struct ghcb *ghcb; in savic_register_gpa() local 1060 struct ghcb *ghcb; in savic_unregister_gpa() local [all …]
|
| H A D | svsm.c | 30 static int svsm_perform_ghcb_protocol(struct ghcb *ghcb, struct svsm_call *call) in svsm_perform_ghcb_protocol() 72 struct ghcb *ghcb; in svsm_perform_call_protocol() local
|
| H A D | internal.h | 48 struct ghcb *ghcb; member
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | mshyperv.c | 770 static void hv_sev_es_hcall_prepare(struct ghcb *ghcb, struct pt_regs *regs) in hv_sev_es_hcall_prepare() 778 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 | 550 static void vmware_sev_es_hcall_prepare(struct ghcb *ghcb, in vmware_sev_es_hcall_prepare() 563 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 | svm.h | 525 struct ghcb { struct 526 struct ghcb_save_area save; argument 527 u8 reserved_save[2048 - sizeof(struct ghcb_save_area)]; argument 533 u32 ghcb_usage; argument
|
| H A D | sev.h | 539 static __always_inline void vc_ghcb_invalidate(struct ghcb *ghcb) in vc_ghcb_invalidate()
|
| /linux/arch/x86/boot/compressed/ |
| H A D | sev.c | 146 static void __noreturn sev_es_ghcb_terminate(struct ghcb *ghcb, unsigned int set, in sev_es_ghcb_terminate()
|
| /linux/arch/x86/hyperv/ |
| H A D | ivm.c | 36 struct ghcb ghcb; member 125 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 | 1027 static void kvm_sev_es_hcall_prepare(struct ghcb *ghcb, struct pt_regs *regs) in kvm_sev_es_hcall_prepare() 1036 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 | 3319 struct ghcb *ghcb = svm->sev_es.ghcb; in sev_es_sync_to_ghcb() local 3339 struct ghcb *ghcb = svm->sev_es.ghcb; in sev_es_sync_from_ghcb() local
|
| H A D | svm.h | 226 struct ghcb *ghcb; member
|