Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1656662ybz; Sun, 26 Apr 2020 01:18:34 -0700 (PDT) X-Google-Smtp-Source: APiQypJ1KZfI3uqy8N3bX+467zGdZZY2ADHXoajgX7if1YSHMBxoQuEDiotsTVnb3nLnmKMDlrRC X-Received: by 2002:a17:906:8286:: with SMTP id h6mr6338722ejx.28.1587889114128; Sun, 26 Apr 2020 01:18:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587889114; cv=none; d=google.com; s=arc-20160816; b=tto2VfPLJlJC4O0cVwijoueMlMj7qjxWk/vxXJSCSIqQDnjYSNxFI2GMukCgLSe7xF Ks/VfV7TUEjtrt5kVKsq/OjaKKJ5zqvr7VoDh20jRyNBzqKTN68yGhU3PbOABNT048EN 1MU6vHsqGLR8oi5w6m5emqagx7EAVEiKXygDrI6e7XwUlcnkYkrSpKXWKnxJVjXnPq+u PLhdeDvpk6aPTHbD2nedjXxxa78AHz9qo6FrXnU1mtSXKufCNaAHPGsa385KHtwsWXk/ sHfvw3TOltWCL+5aMLCd2tq0pZbaT3Pnfxr5S8ZOOAkxVLA61WOmhpueYZ9Yla9oh/LH qRdA== 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:ironport-sdr:ironport-sdr; bh=Zf1LbK6tjCL3DnJ9XIgGGm/RmngbWP9UM5JfqObc97g=; b=DCzO+MyQ8lkhnkfTAyKOg0rtDXePKe54q02pKPmHOGdjlI/vAlGP4zY9z5tilGhIg6 B+YwJgAAj8RTLWKW/Ez/uKgyETqQEVKT6E06iQV29B4gUX9ll5TSR5QxV9ELcFcvFY6r 4IzP0kCGjebwPIkHWshmyZxse3l9Cw9yhGVz14fQx432lBBu84IDctuTsdzIjfcDmCie BN/44qyrYkBWA0ZpLwH6GKSNg7dQpmpn62jyQySIt+/Z2eQeBFx8AMCILWWUICwCPq4s mxy2o+up2DcDClvkgyl79oX0+GhF2+PpjeU9b+XNTG7ziGGCTFm1lzEKkTStNDnsCTvu RULQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id cw24si6015717edb.248.2020.04.26.01.18.10; Sun, 26 Apr 2020 01:18:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726149AbgDZIQn (ORCPT + 99 others); Sun, 26 Apr 2020 04:16:43 -0400 Received: from mga03.intel.com ([134.134.136.65]:39730 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726112AbgDZIQn (ORCPT ); Sun, 26 Apr 2020 04:16:43 -0400 IronPort-SDR: xo30K5K0wQOXB/mRZ/2mPdiuU2SZ5AHQlx9w9+Jb/KiyacVxNzw8uL0meVpaINdAwIxCJ2CfOj WM2ejij2IKkA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2020 01:16:40 -0700 IronPort-SDR: p83U9ssj9aunuZVuO6OE4t01tYTlkHejusiWlm1uzuHlRZ/fX+YrEyITDKN138gU4DKRBnAkJP r9TSk9FRYXRg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,319,1583222400"; d="scan'208";a="458464812" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 26 Apr 2020 01:16:40 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 26 Apr 2020 01:16:40 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 26 Apr 2020 01:16:39 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.225]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.191]) with mapi id 14.03.0439.000; Sun, 26 Apr 2020 16:16:37 +0800 From: "Tian, Kevin" To: "Paraschiv, Andra-Irina" , Paolo Bonzini , "linux-kernel@vger.kernel.org" CC: Anthony Liguori , Benjamin Herrenschmidt , Colm MacCarthaigh , Bjoern Doebel , David Woodhouse , Frank van der Linden , Alexander Graf , Martin Pohlack , Matt Wilson , Balbir Singh , Stewart Smith , Uwe Dannowski , "kvm@vger.kernel.org" , "ne-devel-upstream@amazon.com" Subject: RE: [PATCH v1 00/15] Add support for Nitro Enclaves Thread-Topic: [PATCH v1 00/15] Add support for Nitro Enclaves Thread-Index: AQHWGAygRGZTuzjMtk+n6BailK3c0KiDlneAgAKW/gCAAd3gMP//v46AgANJXHA= Date: Sun, 26 Apr 2020 08:16:36 +0000 Message-ID: References: <20200421184150.68011-1-andraprs@amazon.com> <18406322-dc58-9b59-3f94-88e6b638fe65@redhat.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] 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 PiBGcm9tOiBQYXJhc2NoaXYsIEFuZHJhLUlyaW5hIDxhbmRyYXByc0BhbWF6b24uY29tPg0KPiBT ZW50OiBGcmlkYXksIEFwcmlsIDI0LCAyMDIwIDk6NTkgUE0NCj4gDQo+IA0KPiBPbiAyNC8wNC8y MDIwIDEyOjU5LCBUaWFuLCBLZXZpbiB3cm90ZToNCj4gPg0KPiA+PiBGcm9tOiBQYXJhc2NoaXYs IEFuZHJhLUlyaW5hDQo+ID4+IFNlbnQ6IFRodXJzZGF5LCBBcHJpbCAyMywgMjAyMCA5OjIwIFBN DQo+ID4+DQo+ID4+IE9uIDIyLzA0LzIwMjAgMDA6NDYsIFBhb2xvIEJvbnppbmkgd3JvdGU6DQo+ ID4+PiBPbiAyMS8wNC8yMCAyMDo0MSwgQW5kcmEgUGFyYXNjaGl2IHdyb3RlOg0KPiA+Pj4+IEFu IGVuY2xhdmUgY29tbXVuaWNhdGVzIHdpdGggdGhlIHByaW1hcnkgVk0gdmlhIGEgbG9jYWwNCj4g Y29tbXVuaWNhdGlvbg0KPiA+PiBjaGFubmVsLA0KPiA+Pj4+IHVzaW5nIHZpcnRpby12c29jayBb Ml0uIEFuIGVuY2xhdmUgZG9lcyBub3QgaGF2ZSBhIGRpc2sgb3IgYSBuZXR3b3JrDQo+IGRldmlj ZQ0KPiA+Pj4+IGF0dGFjaGVkLg0KPiA+Pj4gSXMgaXQgcG9zc2libGUgdG8gaGF2ZSBhIHNhbXBs ZSBvZiB0aGlzIGluIHRoZSBzYW1wbGVzLyBkaXJlY3Rvcnk/DQo+ID4+IEkgY2FuIGFkZCBpbiB2 MiBhIHNhbXBsZSBmaWxlIGluY2x1ZGluZyB0aGUgYmFzaWMgZmxvdyBvZiBob3cgdG8gdXNlIHRo Z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