Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp970858ybb; Thu, 28 Mar 2019 16:20:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTYHd0qAlZe0EzMZTo+olqvDRyUQ0BB7bXKdI8B8RYpR7+sSpCcEJipfF2GF9uYxMFiHxB X-Received: by 2002:a63:4e5b:: with SMTP id o27mr42978725pgl.204.1553815237161; Thu, 28 Mar 2019 16:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553815237; cv=none; d=google.com; s=arc-20160816; b=YjggqU++BCQnI8ARAJz1VeVrw6m//wn3pklQqmwfZ2cvxwgrJnAXSW4UOmnpR5wMwI DU4b38KoYXbSAW3NFgrPi0tjFTSwBFl7Ilbs1psoEuF0+xsywOc8maFyIYoSmcE7w1cr 2blcN1Shr0QwKzxb2Wk0mBUu3RrWkHA/R3G7j47qngE4Jm+w17kpSinApy1CnP8mgbc2 iFR6jUhlsqZusxmRySxU4vB+24X/BOj3I/fE2TIRQ/wt0Lafh/JorZwrYvP7rx0occff lgR06O3G54qxX6XVxpLi9JdA3X5oLeeT74hxW1bqm0v0jxFSuK1A55CJvi8oa3JFG2Nr beSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=sGWT0z0rK3vsLZ7o/SVCf977iEJTn3ox0Wcph03RTWo=; b=REZHmIUQOne/s455jHkQ3mRPOmQ9tYeymW4YXiQNOIkiEhkffvnpEYdZZyi27tQ3IT 6fr/l3ERldK27AfEOhEzjfglgaV8o4Mx4IkqivFHdpIZAkdyvb1aN/9smjFFD8SjB0th wsPKvreddY1EhfRZ5hDMVPAXW/PAs1dJ4SGsoSIYkaGF/Ws2xm7+h3qNx8d9yDxl5GM/ KJkIApjBBKrCRVTK6IbA0/KEM2Oj3yiJvA3OGb3ky789mHac+mvJLKa8TfyxU1W2tVkf Zn0LdmO5euQ76GGRh0U3k3c3ODYX2lrviH087NFEjBlFBTsTzXv8njqWHh2Sy5jgt78f dDiA== 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 y11si379600plk.323.2019.03.28.16.20.18; Thu, 28 Mar 2019 16:20:37 -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 S1728551AbfC1XTb (ORCPT + 99 others); Thu, 28 Mar 2019 19:19:31 -0400 Received: from mga11.intel.com ([192.55.52.93]:45640 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728028AbfC1XTb (ORCPT ); Thu, 28 Mar 2019 19:19:31 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2019 16:19:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,282,1549958400"; d="scan'208";a="286842287" Received: from orsmsx102.amr.corp.intel.com ([10.22.225.129]) by orsmga004.jf.intel.com with ESMTP; 28 Mar 2019 16:19:30 -0700 Received: from orsmsx156.amr.corp.intel.com (10.22.240.22) by ORSMSX102.amr.corp.intel.com (10.22.225.129) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 28 Mar 2019 16:19:30 -0700 Received: from orsmsx116.amr.corp.intel.com ([169.254.7.78]) by ORSMSX156.amr.corp.intel.com ([169.254.8.82]) with mapi id 14.03.0415.000; Thu, 28 Mar 2019 16:19:28 -0700 From: "Xing, Cedric" To: Andy Lutomirski CC: "Christopherson, Sean J" , "Jarkko Sakkinen" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , "linux-sgx@vger.kernel.org" , "akpm@linux-foundation.org" , "Hansen, Dave" , "nhorman@redhat.com" , "npmccallum@redhat.com" , "Ayoun, Serge" , "Katz-zamir, Shay" , "Huang, Haitao" , "andriy.shevchenko@linux.intel.com" , "tglx@linutronix.de" , "Svahn, Kai" , "bp@alien8.de" , "josh@joshtriplett.org" , "Huang, Kai" , "rientjes@google.com" , "Dave Hansen" , Haitao Huang , Jethro Beekman , "Dr . Greg Wettstein" Subject: RE: [PATCH v19,RESEND 24/27] x86/vdso: Add __vdso_sgx_enter_enclave() to wrap SGX enclave transitions Thread-Topic: [PATCH v19,RESEND 24/27] x86/vdso: Add __vdso_sgx_enter_enclave() to wrap SGX enclave transitions Thread-Index: AQHU3zmquZHDGSY4XUWmggeyxtSmi6YU12fwgACBcQD//5sEUIADt/WAgADIIJCAAMRtgP//souwgAM2LoCAAGNgAP//0r3AACmYkYAANjyeQAAy5DgAAAcQZfA= Date: Thu, 28 Mar 2019 23:19:25 +0000 Message-ID: <960B34DE67B9E140824F1DCDEC400C0F4E8617BF@ORSMSX116.amr.corp.intel.com> References: <20190320162119.4469-1-jarkko.sakkinen@linux.intel.com> <20190320162119.4469-25-jarkko.sakkinen@linux.intel.com> <960B34DE67B9E140824F1DCDEC400C0F4E85C484@ORSMSX116.amr.corp.intel.com> <20190320191318.GF30469@linux.intel.com> <960B34DE67B9E140824F1DCDEC400C0F4E85C5AB@ORSMSX116.amr.corp.intel.com> <20190322215903.GE12666@linux.intel.com> <960B34DE67B9E140824F1DCDEC400C0F4E85E481@ORSMSX116.amr.corp.intel.com> <960B34DE67B9E140824F1DCDEC400C0F4E85E989@ORSMSX116.amr.corp.intel.com> <20190325180349.GF31069@linux.intel.com> <960B34DE67B9E140824F1DCDEC400C0F4E85FABF@ORSMSX116.amr.corp.intel.com> <960B34DE67B9E140824F1DCDEC400C0F4E860C69@ORSMSX116.amr.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmY5MTU2MGUtYzAzYi00OGI2LWJhYTItODM1YTIxMjIxMmQwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRkJmZGdZdHg2eUdWSjVcL0FMZWpQYkg1dlhzOE1VZGpYSVRrZytWUzRMaGRIVnJNTnNneFUzUW9DRjJsRWxTbGMifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBJdCdzIGNlcnRhaW5seSBtYWtpbmcgcHJvZ3Jlc3MuICBJIGxpa2UgdGhlIGZhY3QgdGhhdCB0 aGUgY2FsbGJhY2sgaXMNCj4gbm93IHVuY29uZGl0aW9uYWwgKGlmIG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