Home
last modified time | relevance | path

Searched refs:es_em_ctxt (Results 1 – 4 of 4) sorted by relevance

/linux/arch/x86/coco/sev/
H A Dshared.c206 static enum es_result vc_init_em_ctxt(struct es_em_ctxt *ctxt, in vc_init_em_ctxt()
221 static void vc_finish_insn(struct es_em_ctxt *ctxt) in vc_finish_insn()
226 static enum es_result verify_exception_info(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in verify_exception_info()
338 struct es_em_ctxt ctxt; in svsm_perform_ghcb_protocol()
375 struct es_em_ctxt *ctxt, in sev_es_ghcb_hv_call()
431 static int __sev_cpuid_hv_ghcb(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in __sev_cpuid_hv_ghcb()
464 static int sev_cpuid_hv(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in sev_cpuid_hv()
573 static void snp_cpuid_hv(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in snp_cpuid_hv()
579 static int snp_cpuid_postprocess(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in snp_cpuid_postprocess()
675 snp_cpuid(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in snp_cpuid()
[all …]
H A Dcore.c282 static int vc_fetch_insn_kernel(struct es_em_ctxt *ctxt, in vc_fetch_insn_kernel()
288 static enum es_result __vc_decode_user_insn(struct es_em_ctxt *ctxt) in __vc_decode_user_insn()
317 static enum es_result __vc_decode_kern_insn(struct es_em_ctxt *ctxt) in __vc_decode_kern_insn()
337 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn()
345 static enum es_result vc_write_mem(struct es_em_ctxt *ctxt, in vc_write_mem()
424 static enum es_result vc_read_mem(struct es_em_ctxt *ctxt, in vc_read_mem()
502 static enum es_result vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_slow_virt_to_phys()
537 static enum es_result vc_ioio_check(struct es_em_ctxt *ctxt, u16 port, size_t size) in vc_ioio_check()
564 static __always_inline void vc_forward_exception(struct es_em_ctxt *ctxt) in vc_forward_exception()
1421 static enum es_result vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_msr()
[all …]
/linux/arch/x86/boot/compressed/
H A Dsev.c77 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn()
91 static enum es_result vc_write_mem(struct es_em_ctxt *ctxt, in vc_write_mem()
99 static enum es_result vc_read_mem(struct es_em_ctxt *ctxt, in vc_read_mem()
107 static enum es_result vc_ioio_check(struct es_em_ctxt *ctxt, u16 port, size_t size) in vc_ioio_check()
338 struct es_em_ctxt ctxt; in do_boot_stage2_vc()
/linux/arch/x86/include/asm/
H A Dsev.h44 struct es_em_ctxt { struct