Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10797872ybi; Thu, 11 Jul 2019 11:09:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyC2HLeSJLnNBYB8MrzZ0J2JMly2n16TmURVcwqxei1mLV9AXSaKo17UT1o0o5+TyjAcZhy X-Received: by 2002:a63:7b18:: with SMTP id w24mr5758424pgc.328.1562868568827; Thu, 11 Jul 2019 11:09:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562868568; cv=none; d=google.com; s=arc-20160816; b=tPk+rtaLEK6sX0c2IIppKlIju3OtIspF0lrujkL75HlLXghvCYfF5Jyi8Q73nnuK+6 CCwRBTjvwXJKW4WSpR6DM9XRjXirbC777m7nHB5hWPluJUGoL2u5+ydL3EJVRAd5DJkK ggdtNKssN+qkWQ5u04R34vMwImCXLreNzmhd6ZNltKCFL7H6zkfjYtKVoDMl01rrmmXM FlDC5BGLdey1E4EC1ujdzh6/yItrypgpqRGRfReirlWuDJCYm5RdPkulsxb9AxnRy0UN MDL6UE52Q+SVUZwRpOFIsS67HvlfGmEkItdM5fGK7DuM/lsLqh8k6cmpy7CKCFeiC6U8 agaA== 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=f5ulubdP/uiJE6aN6bPuUxU4ZJWMID7I09JYYLWgJIw=; b=yQjINXJg6TSDxbgsCURZ5w6txrDggwBlNjXvEZFURBs+Btoy0xgdltdNYItrttwWSo yVfGzwE7nf57itWmZjPuYbibag6GZeaJ7jXaiAN6lgpwKgejgsR6sfljj9QwRKYrJA1s r40sP4K8xU5YB3tR+gZih0D0E7KLhy30SfTtFwHloECb7WFWaYNnnpX6y1J9vC2IfhMQ ick5whF2ON+/12xVmD+MsTvrueGhn9+ZSXF8d4m40wgmT2JQ83EagS5r6ZSc8M9BrrT0 MUbGwSNM6x9KrD8t1mRVg7NCltM8xvyH1+JSeTag8AhzgSy5xKGahOoMeBMvw1yjadx2 +0rg== 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 q10si5807473pjq.46.2019.07.11.11.09.13; Thu, 11 Jul 2019 11:09:28 -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 S1728920AbfGKR7n (ORCPT + 99 others); Thu, 11 Jul 2019 13:59:43 -0400 Received: from mga14.intel.com ([192.55.52.115]:3433 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728655AbfGKR7n (ORCPT ); Thu, 11 Jul 2019 13:59:43 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jul 2019 10:59:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,479,1557212400"; d="scan'208";a="364895556" Received: from jolivell-mobl2.ger.corp.intel.com (HELO localhost) ([10.252.50.138]) by fmsmga005.fm.intel.com with ESMTP; 11 Jul 2019 10:59:39 -0700 Date: Thu, 11 Jul 2019 20:59:39 +0300 From: Jarkko Sakkinen To: Sean Christopherson 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: <20190711175939.abpj5hgcx5kjuh22@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> <20190711155037.GB15067@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190711155037.GB15067@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20180716 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 08:50:37AM -0700, Sean Christopherson wrote: > 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. OK, the cover letter empahasized things that did not make sense to me, which made me to do my initial conclusions. I don't recall even reading the word "coverage" from it. Anyways, I'm sure we can land this after v21 has been published now that the rationale is clear. /Jarkko