Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp25719img; Wed, 20 Mar 2019 13:13:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwD4lFV6rt8CoPFB+CKi5gVmaevq7amP4qNTgD8a+jmyOkycsK6jPs6+X7nvDN/MKboOmNv X-Received: by 2002:a63:4e5b:: with SMTP id o27mr5553116pgl.204.1553112817536; Wed, 20 Mar 2019 13:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553112817; cv=none; d=google.com; s=arc-20160816; b=q+t3VwszpJOvi6a7QJ/toOa7UGZqpTPCvT/ZUBNN+dDTjUOHMpw7zBGE2WlvQAkmq+ 8MSOP8X4oyoytQOFZk7wYmAqilqpXM2QYPc9GhYX2TpI+F0VIeMRzv471BMtJSv+2+9v Vl/0Wvqy/WUpuFeNX++z8KZU37UXO4CdOfVrsVQy/LJhfSwfYWrDCCgLGlpauhTeCQ+d JJrOKlhXlkq7pds5bbgWzLGAYAboSf4KUvMdW1rqH0qebrdmsSzjWeBp6dV5rlX4Xd41 C8LDJLHKTEGD21JXA3rrftmMMoX1+rJf0rQd1ECJ0Ik2wcjZBUBRJ18GTmMWQvz/NGFh 6pdg== 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=h+eRgM8bR1TuU2zrjszcpp8BhkpPmau9UnCDHOXpBGM=; b=fRWpfdteX04Y9Lj9y6nDmBRRdbCnhhzw1tZAwqNNlRCvT2RBcRzMzrXlhyhZAP0L8g /FACZ3IO75KODOBp7KqraTYQuNa1oHA6jpYyX9nTYI+B2lIm24Z1K1QeXIHd0Jbbg+/q FvPhGws9dv7+5KzrTfLkal0Y/6KTihL4cs+FmPvHHzGYcns1O61I+MPZsbsFMk1ilXEu R/b3OQ7yh0de7z77WrTWTmMkPEih3OUplNQawXDXQW+gukxC3Xm/VSLCnBmNE9DvfALJ JgIfdWyfvHM8y4Ff8c2CDYwJPEEYxtu1W6WbNGZUwbZFpcSqjewRFVMTC5Au2QnQyjLg lIXw== 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 y10si2566540plt.287.2019.03.20.13.13.21; Wed, 20 Mar 2019 13:13: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 S1727177AbfCTUK5 (ORCPT + 99 others); Wed, 20 Mar 2019 16:10:57 -0400 Received: from mga05.intel.com ([192.55.52.43]:54475 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbfCTUK4 (ORCPT ); Wed, 20 Mar 2019 16:10:56 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Mar 2019 13:10:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,249,1549958400"; d="scan'208";a="330431675" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by fmsmga005.fm.intel.com with ESMTP; 20 Mar 2019 13:10:54 -0700 Received: from orsmsx116.amr.corp.intel.com ([169.254.7.78]) by ORSMSX109.amr.corp.intel.com ([169.254.11.11]) with mapi id 14.03.0415.000; Wed, 20 Mar 2019 13:10:54 -0700 From: "Xing, Cedric" To: Jethro Beekman , Jarkko Sakkinen , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , "linux-sgx@vger.kernel.org" CC: "akpm@linux-foundation.org" , "Hansen, Dave" , "Christopherson, Sean J" , "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" , "luto@kernel.org" , "Huang, Kai" , "rientjes@google.com" , Andy Lutomirski , Dave Hansen , "Haitao Huang" , "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: AQHU3zmquZHDGSY4XUWmggeyxtSmi6YU12fwgAB+UAD//5xBQA== Date: Wed, 20 Mar 2019 20:10:53 +0000 Message-ID: <960B34DE67B9E140824F1DCDEC400C0F4E85C567@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> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2E4OTNhZDQtZWI2ZS00MDRmLTliMmUtYjU2Mjk4ZmE1YzMzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidW1sdnlmTnpLK3BEeHdIN2FncE4xdURXSVd5STA1U3h6TjFlMlFpd1lnbENoQTB1U2MrMjRCSUdzVlg3a1RBQiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.139] 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 PiA+IEJ5IHJlcXVpcmluZyBwcmVzZXJ2YXRpb24gb2YgUlNQIGF0IGJvdGggQUVYIGFuZCBFRVhJ VCwgdGhpcyBwcmVjbHVkZXMNCj4gdGhlIHBvc3NpYmlsaXR5IG9mIHVzaW5nIHRoZSB1bnRydXN0 ZWQgc3RhY2sgYXMgdGVtcG9yYXJ5IHN0b3JhZ2UgYnkNCj4gZW5jbGF2ZXMuIFdoaWxlIHRoYXQg bG9va3MgcmVhc29uYWJsZSBhdCBmaXJzdCBnbGFuY2UsIEknbSBhZnJhaWQgaXQNCj4gaXNuJ3Qg dGhlIGNhc2UgaW4gcmVhbGl0eS4gVGhlIHVudHJ1c3RlZCBzdGFjayBpcyBpbmFyZ3VhYmx5IHRo ZSBtb3N0DQo+IGNvbnZlbmllbnQgd2F5IGZvciBkYXRhIGV4Y2hhbmdlIGJldHdlZW4gYW4gZW5j bGF2ZSBhbmQgaXRzIGVuY2xvc2luZw0KPiBwcm9jZXNzLCBhbmQgaXMgaW4gZmFjdCBiZWluZyB1 c2VkIGZvciB0aGF0IHB1cnBvc2UgYnkgYWxtb3N0IGFsb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