From: Jarkko Sakkinen Subject: Re: [PATCH v11 00/13] Intel SGX1 support Date: Mon, 25 Jun 2018 12:44:04 +0300 Message-ID: <0a639f45119451143be8d8cf9c7f0041d8436b47.camel@linux.intel.com> References: <20180608171216.26521-1-jarkko.sakkinen@linux.intel.com> <20180621125511.GA4287@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: x86@kernel.org, platform-driver-x86@vger.kernel.org, dave.hansen@intel.com, sean.j.christopherson@intel.com, nhorman@redhat.com, npmccallum@redhat.com, Alexei Starovoitov , Andi Kleen , Andrew Morton , Andy Lutomirski , Borislav Petkov , "David S. Miller" , David Woodhouse , Greg Kroah-Hartman , "H. Peter Anvin" , "open list:INTEL SGX" , Janakarajan Natarajan , "Kirill A. Shutemov" , Konrad Rzeszutek Wilk , "open list:KERNEL VIRTUAL MACHINE FOR X86 (KVM/x86)" To: Ingo Molnar Return-path: In-Reply-To: <20180621125511.GA4287@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org On Thu, 2018-06-21 at 14:55 +0200, Ingo Molnar wrote: > Just some quick feedback: these are core kernel functionality and should be > in > arch/x86/, not in drivers/platform/. We have in core what is used by both KVM and the driver right now (EPC management, SGX detection and some other bits). The driver uses this functionality to launch enclaves. > Thanks, > > Ingo /Jarkko