On 2/24/21 2:20 PM, Jarkko Sakkinen wrote: > The use of sgx_va can be later on extended to the following use cases: > > - A global VA for reclaimed SECS pages. > - A global VA for reclaimed VA pages. ... > arch/x86/kernel/cpu/sgx/driver.c | 3 +- > arch/x86/kernel/cpu/sgx/encl.c | 180 ++++++++++++++++++++++--------- > arch/x86/kernel/cpu/sgx/encl.h | 36 ++++--- > arch/x86/kernel/cpu/sgx/ioctl.c | 77 +++++-------- > arch/x86/kernel/cpu/sgx/main.c | 19 +--- > 5 files changed, 184 insertions(+), 131 deletions(-) It looks interesting. Were you planning on keeping this on the back burner until we need it more acutely? Or, were you thinking it should be merged immediately?