Re: [PATCH v3 03/25] x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()

Borislav Petkov
2021-03-23T16:06:58Z

On Tue, Mar 23, 2021 at 03:45:14PM +0000, Sean Christopherson wrote:
> Practically speaking, "basic" deployments of SGX VMs will be insulated from
> this bug. KVM doesn't support EPC oversubscription, so even if all EPC is
> exhausted, new VMs will fail to launch, but existing VMs will continue to chug
> along with no ill effects....

Ok, so it sounds to me like *at* *least* there should be some writeup in
Documentation/ explaining to the user what to do when she sees such an
EREMOVE failure, perhaps the gist of this thread and then possibly the
error message should point to that doc.

We will of course have to revisit when this hits the wild and people
start (or not) hitting this. But judging by past experience, if it is
there, we will hit it. Murphy says so.

Thx.

--
Regards/Gruss,
Boris.