On Fri, Sep 04, 2020 at 03:44:34AM -0700, Sean Christopherson wrote: > Use dedicated exit reasons, e.g. SYNCHRONOUS and EXCEPTION, instead of > '0' and '-EFAULT' respectively. Using -EFAULT is less than desirable as > it usually means "bad address", which may or may not be true for a fault > in the enclave or on ENCLU. > > Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> I agree with the change but I think this a the main reason for merging this change: since we have the IO structure it is not coherent to not have all IO data there that can be put there. Better to have everything in one place when possible. Ack-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> /Jarkko