Messages in this thread | | | Date | Tue, 22 Sep 2020 16:29:09 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH v38 14/24] x86/sgx: Add SGX_IOC_ENCLAVE_INIT |
| |
On Tue, Sep 22, 2020 at 02:56:19PM +0200, Jethro Beekman wrote: > I don't see why you'd need to retry indefinitely. Yes the MSRs may not > match the cached value for “reasons”, but if after you've written > them once it still doesn't work, clearly either 1) an “unhelpful” > VMM is actively messing with the MSRs which I'd say is at best a VMM > bug or 2) there was an EPC reset and your enclave is now invalid > anyway, so no need to EINIT.
/me likes that even more.
Thx.
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |