On 2018-11-19 20:36, Jarkko Sakkinen wrote: > Question: should be dissolve the driver completely and move this code to > arch/x86/kernel/cpu/sgx/ (and rename intel_sgx.c as main.c)? Swapping > patch removes the possibility to compile this as a module anyway. No. We should keep the capability to build this as a module for other users of SGX. What is the swapping patch and why doesn't allow building as a module? -- Jethro Beekman | Fortanix