Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1566205imu; Wed, 28 Nov 2018 11:24:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/VHfhsT8rLdKyi0RIap8HNgmWCaT26Elotkh+kRWFacGCCqvslllPGka6njmLKT2J/wwyES X-Received: by 2002:a17:902:a5ca:: with SMTP id t10mr37980255plq.139.1543433097283; Wed, 28 Nov 2018 11:24:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543433097; cv=none; d=google.com; s=arc-20160816; b=toKewTGvJp5GRwvp6oD518qSabtBOVpL11CceOp+sjAoqidDukWxNiFmoF+35wULRY AlAUIl6nWoigSaVftbuO7tUz9yj9uVI/zTW5gXGUakW2Pdav7QH2+VMcvF4rA9KwG64J qc9fI2zrsL1nIOe8D/na7RNRDxCje8ChuJfB+8958wQ4fMRdCqA2YbOye56YQd0AYjgu X3NFj3LFYCOyQpolyg+zoD3wtb79C8TBe8b8SO2pQOopZohvXuFS2pOdXJl4ByjoWmKP MKq3w6Xhc2TJvcc77D+aE5oRhJY+q/UWKzwfMcehqE/q2P3BgJ7jBW/6WBV1DutcMuqx BQ1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=i1SSCvqNJ8W5xKrLbR36r6DlCwMmjnJ6U5+uEj7deAA=; b=z3SHrP2/B0TKI9Ui6HK4ae0cRx3JNFAEYoGQCPeR6mGGMT9ASNMKa14h2xOphYDXxz pzzaQMrsWTCeWO2AV7wTDF1rmfjg6w/pwkfdh0TeuY225cVb32Xc6emhCPBSxBqGUNQR t3VRkysoSvDKEXPd6FjoBPk9IiBoPZMFSUwmmJTygy9OrnxoOGHqZ1vLM4j0t/+tuppE 9QPIaFntLnG+nJZT++pjJ4OK38vGFu68aFkVKKe0DlNpDK7EssWyMgaHWoG6+mm552sp HWd9zsQu1WvPy3gnlJHsSpaFdlxxVhftvbirYtfomZhacg1Is4mqb2TttvK18oTpDkvi uyOw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9si8117441plt.330.2018.11.28.11.24.42; Wed, 28 Nov 2018 11:24:57 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728855AbeK2GZM (ORCPT + 99 others); Thu, 29 Nov 2018 01:25:12 -0500 Received: from mga07.intel.com ([134.134.136.100]:8689 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725772AbeK2GZM (ORCPT ); Thu, 29 Nov 2018 01:25:12 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Nov 2018 11:22:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,291,1539673200"; d="scan'208";a="288293706" Received: from jsakkine-mobl1.jf.intel.com (HELO localhost) ([10.24.8.96]) by fmsmga006.fm.intel.com with ESMTP; 28 Nov 2018 11:22:29 -0800 Date: Wed, 28 Nov 2018 11:22:28 -0800 From: Jarkko Sakkinen To: "Dr. Greg" Cc: Andy Lutomirski , Andy Lutomirski , X86 ML , Platform Driver , linux-sgx@vger.kernel.org, Dave Hansen , "Christopherson, Sean J" , nhorman@redhat.com, npmccallum@redhat.com, "Ayoun, Serge" , shay.katz-zamir@intel.com, haitao.huang@linux.intel.com, Andy Shevchenko , Thomas Gleixner , "Svahn, Kai" , mark.shanahan@intel.com, Suresh Siddha , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Darren Hart , Andy Shevchenko , LKML Subject: Re: [PATCH v17 18/23] platform/x86: Intel SGX driver Message-ID: <20181128192228.GC9023@linux.intel.com> References: <20181124172114.GB32210@linux.intel.com> <20181125145329.GA5777@linux.intel.com> <0669C300-02CB-4EA6-BF88-5C4B4DDAD4C7@amacapital.net> <20181126215145.GC868@linux.intel.com> <20181126230436.GA6737@linux.intel.com> <20181127085533.GA12247@wind.enjellic.com> <20181127164129.GB4170@linux.intel.com> <20181128104941.GA23077@wind.enjellic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181128104941.GA23077@wind.enjellic.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 28, 2018 at 04:49:41AM -0600, Dr. Greg wrote: > We've been carrying a patch, that drops in on top of the proposed > kernel driver, that implements the needed policy management framework > for DAC fragile (FLC) platforms. After a meeting yesterday with the > client that is funding the work, a decision was made to release the > enhancements when the SGX driver goes mainline. That will at least > give developers the option of creating solutions on Linux that > implement the security guarantees that SGX was designed to deliver. We do not need yet another policy management framework to the *kernel*. The token based approach that Andy is proposing is proven and well established method to create a mechanism. You can then create a daemon to user space that decides who it wants to send tokes. /Jarkko