From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C696C433E0 for ; Tue, 16 Feb 2021 20:43:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 75A3E64E7D for ; Tue, 16 Feb 2021 20:43:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230199AbhBPUng (ORCPT ); Tue, 16 Feb 2021 15:43:36 -0500 Received: from mga12.intel.com ([192.55.52.136]:11390 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229796AbhBPUnb (ORCPT ); Tue, 16 Feb 2021 15:43:31 -0500 IronPort-SDR: JTjaroCEtpuvwIwjdTcC11SZ+n3SodUUqk/UFUorGt3g529ILzp1q1cSpILGZEGNDIJ9mdVd50 YZ0xbxFHNerQ== X-IronPort-AV: E=McAfee;i="6000,8403,9897"; a="162146875" X-IronPort-AV: E=Sophos;i="5.81,184,1610438400"; d="scan'208";a="162146875" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2021 12:42:50 -0800 IronPort-SDR: 3HBMzKGjShe1tZIA15MqeB7QR82+5UfrBdUYK1PGe+XXVnCy9MPYu5/r6w221GkBbHOKv2TEjb IEAK3yfOSZPA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,184,1610438400"; d="scan'208";a="493442384" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga001.fm.intel.com with ESMTP; 16 Feb 2021 12:42:50 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 16 Feb 2021 12:42:49 -0800 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 16 Feb 2021 12:42:49 -0800 Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by ORSMSX602.amr.corp.intel.com ([10.22.229.15]) with mapi id 15.01.2106.002; Tue, 16 Feb 2021 12:42:49 -0800 From: "Huang, Kai" To: "Hansen, Dave" , "linux-sgx@vger.kernel.org" , "kvm@vger.kernel.org" , "x86@kernel.org" CC: "seanjc@google.com" , "jarkko@kernel.org" , "luto@kernel.org" , "Edgecombe, Rick P" , "Huang, Haitao" , "pbonzini@redhat.com" , "bp@alien8.de" , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "jethro@fortanix.com" , "b.thiel@posteo.de" Subject: RE: [RFC PATCH v5 06/26] x86/cpu/intel: Allow SGX virtualization without Launch Control support Thread-Topic: [RFC PATCH v5 06/26] x86/cpu/intel: Allow SGX virtualization without Launch Control support Thread-Index: AQHXAgqLyQlO6VDl10euDf/K0SnZy6pbqFMA//+cHQA= Date: Tue, 16 Feb 2021 20:42:49 +0000 Message-ID: References: <82c304d6f4e8ebfa9b35d1be74360a5004179c5f.1613221549.git.kai.huang@intel.com> <51a7138e-e025-b55b-e4c6-fb58bf2fe460@intel.com> In-Reply-To: <51a7138e-e025-b55b-e4c6-fb58bf2fe460@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action x-originating-ip: [10.1.200.100] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-sgx@vger.kernel.org PiANCj4gT24gMi8xMy8yMSA1OjI5IEFNLCBLYWkgSHVhbmcgd3JvdGU6DQo+ID4gRnJvbTogU2Vh biBDaHJpc3RvcGhlcnNvbiA8c2Vhbi5qLmNocmlzdG9waGVyc29uQGludGVsLmNvbT4NCj4gPg0K PiA+IFRoZSBrZXJuZWwgd2lsbCBjdXJyZW50bHkgZGlzYWJsZSBhbGwgU0dYIHN1cHBvcnQgaWYg dGhlIGhhcmR3YXJlIGRvZXMNCj4gPiBub3Qgc3VwcG9ydCBsYXVuY2ggY29udHJvbC4gIE1ha2Ug aXQgbW9yZSBwZXJtaXNzaXZlIHRvIGFsbG93IFNHWA0KPiA+IHZpcnR1YWxpemF0aW9uIG9uIHN5 c3RlbXMgd2l0aG91dCBMYXVuY2ggQ29udHJvbCBzdXBwb3J0LiAgVGhpcyB3aWxsDQo+ID4gYWxs b3cgS1ZNIHRvIGV4cG9zZSBTR1ggdG8gZ3Vlc3RzIHRoYXQgaGF2ZSBsZXNzLXN0cmljdCByZXF1 aXJlbWVudHMNCj4gPiBvbiB0aGUgYXZhaWxhYmlsaXR5IG9mIGZsZXhpYmxlIGxhdW5jaCBjb250 cm9sLg0KPiAuLi4NCj4gDQo+IEFja2VkLWJ5OiBEYXZlIEhhbnNlbiA8ZGF2ZS5oYW5zZW5AaW50 ZWwuY29tPg0KDQpUaGFua3MhDQo=