Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2261868ybv; Mon, 24 Feb 2020 02:10:36 -0800 (PST) X-Google-Smtp-Source: APXvYqyv/J8T+mnmNMyYyFYe1mUqoKJxoAOMBOprmDw+SXuVg1RXh5UdnT4f0g0Kny3vyeu00TEi X-Received: by 2002:aca:c3c2:: with SMTP id t185mr12024765oif.26.1582539036783; Mon, 24 Feb 2020 02:10:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582539036; cv=none; d=google.com; s=arc-20160816; b=ixQ70ir1UTJssP6QEEuLoP7dS46fzHtcs3z/uCNxrrZ8AEqeKQZ6JGc46GrOixjMkW BOtDAiamZTNl9QF1tDCGwQH8dpknPrm2LMeg+2yu5YO2zrRg0EN7B0tGuO5cyFrlx3Uc r6SEP+KpxC5ReFKtc42T+6H1/bcJIe4AsK+1z8FFsHxt8IWQhd4OOtlkmjFpFfIEsWLZ jk/cCDzdo91VoEzhAB5LbQiwDy5MhQgom9OFjrPd4N4OmEy81DEDuGcmBIOPXLfY7Z9u 0zUDZ42fpVuuXcNztFyxDr205gg3UKB/DqogHTndKjSS8qiAq3jSCJRRclyYgLL9NMFA sPfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date; bh=qIhcvfwrgdp8fiYPJmO1nyuxHPxptF9/KjmKsGleTgQ=; b=EGYfE86eQ5NkiZLI9IENpV7dO3GAlNq8Oqy6kuDig4xen/OzsYDUodA6Dx0S6ydq4/ OzCIfD0dCzwOzGGorsomMZWP4X0qv4GV+ybgn5LQzaZzpkMKZY/LBSSndhCJYofna73G epGOLhm9OR/ULsMQuYu2j1e73vIbX9ZUo4fDIIaAHTaVqmrZ9T7XJ/yLOChb0yiFCMAS uTAfs8trt4in3Dp+z6wvflUgelNly+Ket2O6W+j3oYQfYSHL6MKPDXP8ZQLgKVmTjYxL QMgFk3dHhOw/ZxVvGIpQVR532VRGFNykZTxzUIAuIUqml6lkHnhy7oEc90XpEVDmRDxR EsSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g4si4797189oib.152.2020.02.24.02.10.25; Mon, 24 Feb 2020 02:10:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727327AbgBXKKE (ORCPT + 99 others); Mon, 24 Feb 2020 05:10:04 -0500 Received: from wind.enjellic.com ([76.10.64.91]:58030 "EHLO wind.enjellic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726778AbgBXKKE (ORCPT ); Mon, 24 Feb 2020 05:10:04 -0500 Received: from wind.enjellic.com (localhost [127.0.0.1]) by wind.enjellic.com (8.15.2/8.15.2) with ESMTP id 01OA9XFG015606; Mon, 24 Feb 2020 04:09:33 -0600 Received: (from greg@localhost) by wind.enjellic.com (8.15.2/8.15.2/Submit) id 01OA9Wqx015605; Mon, 24 Feb 2020 04:09:32 -0600 Date: Mon, 24 Feb 2020 04:09:32 -0600 From: "Dr. Greg" To: Jarkko Sakkinen Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linux-sgx@vger.kernel.org, akpm@linux-foundation.org, dave.hansen@intel.com, sean.j.christopherson@intel.com, nhorman@redhat.com, npmccallum@redhat.com, haitao.huang@intel.com, andriy.shevchenko@linux.intel.com, tglx@linutronix.de, kai.svahn@intel.com, bp@alien8.de, josh@joshtriplett.org, luto@kernel.org, kai.huang@intel.com, rientjes@google.com, cedric.xing@intel.com, puiterwijk@redhat.com Subject: Re: [PATCH v27 00/22] Intel SGX foundations Message-ID: <20200224100932.GA15526@wind.enjellic.com> Reply-To: "Dr. Greg" References: <20200223172559.6912-1-jarkko.sakkinen@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200223172559.6912-1-jarkko.sakkinen@linux.intel.com> User-Agent: Mutt/1.4i X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.3 (wind.enjellic.com [127.0.0.1]); Mon, 24 Feb 2020 04:09:33 -0600 (CST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 23, 2020 at 07:25:37PM +0200, Jarkko Sakkinen wrote: Good morning, I hope the week is starting well for everyone. > Intel(R) SGX is a set of CPU instructions that can be used by > applications to set aside private regions of code and data. The code > outside the enclave is disallowed to access the memory inside the > enclave by the CPU access control. Do we misinterpret or is the driver not capable of being built in modular form? If not, it would appear that this functionality has been lost since version 19 of the driver, admittedly some time ago. > v19: > > ... [ deleted ] ... > > * Allow the driver to be compiled as a module now that it no code is using > its routines and it only uses exported symbols. Now the driver is > essentially just a thin ioctl layer. Not having the driver available in modular form obviously makes work on the driver a bit more cumbersome. I'm assuming that the lack of module support is secondary to some innate architectural issues with the driver? Have a good day. Dr. Greg As always, Dr. Greg Wettstein, Ph.D, Worker IDfusion, LLC SGX secured infrastructure and 4206 N. 19th Ave. autonomously self-defensive platforms. Fargo, ND 58102 PH: 701-281-1686 EMAIL: greg@idfusion.net ------------------------------------------------------------------------------ "If you get to thinkin' you're a person of some influence, try orderin' somebody else's dog around." -- Cowboy Wisdom