On Mon, Nov 19, 2018 at 05:39:04PM +0000, Jethro Beekman wrote: > Let's keep it as separated as possible for now until KVM lands and we get > the module capability back, instead of integrating everything so tightly > Jethro Beekman | Fortanix We can keep the driver structure and still move it under arch/x86/kernel/cpu. When landing the KVM code we can then allow the driver part to be compiled as module. It is not the only LKM under arch/x86. Would also simplify both way we develop SGX code alot, not least because there would be clear consumer of the pull requests. /Jarkko