| /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() 407 enum es_result sev_es_ghcb_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt, bool write) in sev_es_ghcb_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 | 304 static enum es_result vc_handle_ioio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_ioio() 412 enum es_result verify_exception_info(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in verify_exception_info() 440 enum es_result sev_es_ghcb_hv_call(struct ghcb *ghcb, in sev_es_ghcb_hv_call() 459 static int __sev_cpuid_hv_ghcb(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in __sev_cpuid_hv_ghcb() 493 struct ghcb *ghcb; member 505 static int vc_handle_cpuid_snp(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_cpuid_snp() 525 static enum es_result vc_handle_cpuid(struct ghcb *ghcb, in vc_handle_cpuid() 567 static enum es_result vc_handle_rdtsc(struct ghcb *ghcb, in vc_handle_rdtsc()
|
| H A D | noinstr.c | 95 struct ghcb *ghcb; in __sev_es_nmi_complete() local 119 struct ghcb *ghcb; in __sev_get_ghcb() local 162 struct ghcb *ghcb; in __sev_put_ghcb() local
|
| H A D | core.c | 191 struct ghcb *ghcb; in get_jump_table_addr() local 220 static int svsm_perform_ghcb_protocol(struct ghcb *ghcb, struct svsm_call *call) in svsm_perform_ghcb_protocol() 262 struct ghcb *ghcb; in svsm_perform_call_protocol() local 520 static int vmgexit_psc(struct ghcb *ghcb, struct snp_psc_desc *desc) in vmgexit_psc() 595 struct ghcb *ghcb; in __set_pages_state() local 711 struct ghcb *ghcb; in vmgexit_ap_control() local 817 unsigned long addr, end, size, ghcb; in unshare_all_memory() local 963 struct ghcb *ghcb; in snp_kexec_finish() local 1253 struct ghcb *ghcb; in savic_ghcb_msr_read() local 1283 struct ghcb *ghcb; in savic_ghcb_msr_write() local [all …]
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | mshyperv.c | 696 static void hv_sev_es_hcall_prepare(struct ghcb *ghcb, struct pt_regs *regs) in hv_sev_es_hcall_prepare() 704 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 | 46 struct ghcb *ghcb; member
|
| H A D | svm.h | 519 struct ghcb { struct 520 struct ghcb_save_area save; argument 521 u8 reserved_save[2048 - sizeof(struct ghcb_save_area)]; argument 527 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 | 145 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 | 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/kvm/svm/ |
| H A D | sev.c | 3306 struct ghcb *ghcb = svm->sev_es.ghcb; in sev_es_sync_to_ghcb() local 3326 struct ghcb *ghcb = svm->sev_es.ghcb; in sev_es_sync_from_ghcb() local
|
| H A D | svm.h | 228 struct ghcb *ghcb; member
|