Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10657284ybi; Thu, 11 Jul 2019 08:52:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyr4ucBxXLy3ZI1bdw1IcD4q0JWBr6534Faxh3MtslERDj68VaFmLY3kJa4vD8XZ8e8pju+ X-Received: by 2002:a65:4045:: with SMTP id h5mr5270603pgp.247.1562860373856; Thu, 11 Jul 2019 08:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562860373; cv=none; d=google.com; s=arc-20160816; b=JNmiP5Wd8zCnnF3dPvuFea21nb3vptWzckeQMkEaEpBAtbzZneuSAWckXdaLy66r/i wL4Gz6fVZbqUsfVbTk9fLTimpRZ0xpsI8ZaFjos50U5vJ8S4K6Hd+oitxgUWft7EXyld +RCkNJbTtvbgDqR3sQgd7oqLy31U5CwB1SroWQntk3Wdw2xaMkdZFF9Jea5BFpbnL6H5 TIPKNn5myc4qN9ANNkxTCWU6+klrfZcjoh53Z348/y6kBuXQcul2siPm762A7Za3k/oZ 0fzfRirUrNmdufD31an6F2xXNjQM4wTeiBRGaPlnJgm9yBqTVQrCq3m1fmFQtbTaP5Nv bTUw== 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:message-id:subject:cc :to:from:date; bh=lYmRYAbcMWJ3xLb8GG0URWe+nDl1XriSwaQOdEqPr9U=; b=IvrzF0PCWkwJJNwLkhZG9tL/4CxsSmRp8nW+2Za77LfucxNmwCT19RQ77/n3iyY4xJ 4imfd5S6SQk9Q8Xqhs7DeQcEvnTOaLDdMliQ15ddGxx7ULSvRvzo6Q8QbFkJ+wSDrkvR 4TE2gJNHDI3OZkDOS6Z9jcNtMiUVrgKILCgTpMEz6vQ/Sfi+A3pEuujIjUpE2auaGjXN Vo3CiQ6D73G4JVRcddIC5loNEEJLOlPW6hQWtBFqjhq0w9FSVn41NqjWUT/rJ0bABD/R zW9RrMdfikN11eWCZg3VCjYQAGzvxLzcmmgTHB2iZL/2vyBKAHVfpIsAZ9c+MEHw7i4e QITw== 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 k5si4987860plt.355.2019.07.11.08.52.37; Thu, 11 Jul 2019 08:52:53 -0700 (PDT) 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 S1728650AbfGKPui (ORCPT + 99 others); Thu, 11 Jul 2019 11:50:38 -0400 Received: from mga09.intel.com ([134.134.136.24]:41948 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726213AbfGKPui (ORCPT ); Thu, 11 Jul 2019 11:50:38 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jul 2019 08:50:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,479,1557212400"; d="scan'208";a="341420084" Received: from sjchrist-coffee.jf.intel.com (HELO linux.intel.com) ([10.54.74.165]) by orsmga005.jf.intel.com with ESMTP; 11 Jul 2019 08:50:37 -0700 Date: Thu, 11 Jul 2019 08:50:37 -0700 From: Sean Christopherson To: Jarkko Sakkinen Cc: "Xing, Cedric" , linux-kernel@vger.kernel.org, linux-sgx@vger.kernel.org, akpm@linux-foundation.org, dave.hansen@intel.com, serge.ayoun@intel.com, shay.katz-zamir@intel.com, haitao.huang@intel.com, kai.svahn@intel.com, kai.huang@intel.com Subject: Re: [RFC PATCH v2 0/3] An alternative __vdso_sgx_enter_enclave() to allow enclave/host parameter passing using untrusted stack Message-ID: <20190711155037.GB15067@linux.intel.com> References: <20190424062623.4345-1-cedric.xing@intel.com> <20190710111719.nnoedfo4wvbfghq7@linux.intel.com> <686e47d2-f45c-6828-39d1-48374925de6c@intel.com> <20190710224628.epjxwlpqqxdurmzo@linux.intel.com> <20190710231538.dkc7tyeyvns53737@linux.intel.com> <27cf0fc7-71c6-7dc1-f031-86bf887f1fe1@intel.com> <20190711093809.4ogxe25laeoyp4ve@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190711093809.4ogxe25laeoyp4ve@linux.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 11, 2019 at 12:38:09PM +0300, Jarkko Sakkinen wrote: > On Wed, Jul 10, 2019 at 04:37:41PM -0700, Xing, Cedric wrote: > > We are not judging which vessel is better (or the best) among all possible > > vessels. We are trying to enable more vessels. Every vessel has its pros and > > cons so there's *no* single best vessel. > > I think reasonable metric is actually the coverage of the Intel SDK > based enclaves. How widely are they in the wild? If the user base is > large, it should be reasonable to support this just based on that. Large enough that Andy agreed to take the vDSO code with the optional callback, despite his personal opinion being that mucking with uR{B,S}P from within the enclave is poor form.