sgx: import sgx patchset from v3.15.x untested

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>