Home
last modified time | relevance | path

Searched full:einit (Results 1 – 7 of 7) sorted by relevance

/linux/arch/x86/kernel/cpu/sgx/
H A Dvirt.c411 * sgx_virt_einit() - Run EINIT on behalf of guest
416 * @trapnr: trap number injected to guest in case of EINIT error
418 * Run EINIT on behalf of guest after KVM traps EINIT. If SGX_LC is available
421 * ensure EINIT is executed with expected hardware values.
424 * - 0: EINIT was successful.
H A Dioctl.c507 * ENCLS[EINIT] is interruptible because it has such a high latency, in sgx_encl_init()
509 * EINIT may fail with SGX_UNMASKED_EVENT so that the event can be in sgx_encl_init()
543 ENCLS_WARN(ret, "EINIT"); in sgx_encl_init()
547 pr_debug("EINIT returned %d\n", ret); in sgx_encl_init()
563 * Flush any outstanding enqueued EADD operations and perform EINIT. The
570 * - -EIO: EINIT failed because of a power cycle.
H A Dmain.c872 * before EINIT. KVM needs to update them to guest's virtual MSR values in sgx_update_lepubkeyhash()
873 * before doing EINIT from guest. in sgx_update_lepubkeyhash()
/linux/lib/
H A Derrname.c60 #ifdef EINIT
61 E(EINIT),
/linux/Documentation/arch/x86/
H A Dsgx.rst171 copied, kernel executes EINIT function, which initializes the enclave. Only after
174 EINIT function takes an RSA-3072 signature of the enclave measurement. The function
181 kernel on launch control policy. Before calling EINIT function, the driver sets
/linux/tools/arch/mips/include/uapi/asm/
H A Derrno.h97 #define EINIT 141 /* Reserved */
95 #define EINIT global() macro
/linux/tools/arch/x86/kcpuid/
H A Dcpuid.csv427 0x12, 1, eax, 0, secs_attr_init , Enclave initialized by EINIT
431 0x12, 1, eax, 5, secs_attr_einittoken_key, EINIT token key