Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp79607ybi; Thu, 13 Jun 2019 12:00:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0KPzdprDBni8hSYW25QZ+QOF59pRQI3WCtvddzwQ8mlLYoxmkeCaU9/eoHqIOXfY8uFvj X-Received: by 2002:a17:902:205:: with SMTP id 5mr83598515plc.165.1560452402969; Thu, 13 Jun 2019 12:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560452402; cv=none; d=google.com; s=arc-20160816; b=HI+RPLyP0J/N57kECicaQNQ4izFIiNXljIKtwZWEw2Z/spre2SHCvhEsohRQfDrpDo 40JPJw1PRbSkjdU7WHJRyIm5n9bxJh0/Sv1QSK+PhVWHn7XwxG/iSB/OW++8OTpUJec5 cUZ8sQMtU15RJGstpkVeYxCtlycQRBk5B/tb1fVt8dss/5HqCF1Oym0k1CyN9fgcuB+M kC4d31UpRIc2d3WngthC7iJi7UVb1/+ZSb6rddeWlRqGxLgiTMmNF9Kqasq/Y6ZT8pL8 kPWHVBmP2dIgDbAkSurz1n5kIINIgDm692KFd/elmLD1PBjayl4TWqaxgWAcq0ULmLrl RdWw== 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 :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=KBO47RpmlKob8IReHBw7if80yzbrr98sFF3Biy5W6aw=; b=0HI7ZS5Q/NdnFO6FIHufTz0un8UqjNg0Wwl9ievv5JVCI5TC7kY8t5j54gRZUrG4vs 6+bUSpYSoyg6bdSvWx0FSOrA6eyW476zQ/AxPudkTzKWJZiUJOYPbYaRzXWvOUUXAEJO ir1w4PBji1GoDFii8jniAXMt78L3pNSZd1SI4Z0Cch4XfeJ2uuSubSwz2llF29QIgcCw HurH0JHTFEOSO2dClB/V8SVSMojb0egKnHMHof3Vq7D2ygDWmyotuPT+Grt9bixcb6uA u0Uy5RQCYJv71pEno5AWS/IGhh91f/5oWFmmefB0VzpmXPcydsNJVlQ9PEFDf54gxlqf 7Ewg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b="BIcezhu/"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x32si316520pld.190.2019.06.13.11.59.47; Thu, 13 Jun 2019 12:00:02 -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; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b="BIcezhu/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729152AbfFMS6S (ORCPT + 99 others); Thu, 13 Jun 2019 14:58:18 -0400 Received: from mail-eopbgr800044.outbound.protection.outlook.com ([40.107.80.44]:6704 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727273AbfFMS6S (ORCPT ); Thu, 13 Jun 2019 14:58:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KBO47RpmlKob8IReHBw7if80yzbrr98sFF3Biy5W6aw=; b=BIcezhu/9m+LEZg+/YxUSaC06l9PCEv6xKc1SBmhV6kbZFbP9goJ3RSRNIFeKmvmT8qtiMEral2Dm4EiQZJrLBkK4nGiOLvWqIHyffhUSpd+O+QBW4qC0uDH9zuqLDEVOUEw0T56lfcNKiKXt9KgKzJwmJ2sgpat9q7lodpxjMM= Received: from DM6PR12MB3163.namprd12.prod.outlook.com (20.179.104.150) by DM6PR12MB3819.namprd12.prod.outlook.com (10.255.173.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.11; Thu, 13 Jun 2019 18:58:15 +0000 Received: from DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::bcaf:86d4:677f:9555]) by DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::bcaf:86d4:677f:9555%6]) with mapi id 15.20.1987.012; Thu, 13 Jun 2019 18:58:15 +0000 From: "Lendacky, Thomas" To: Dave Hansen , "linux-kernel@vger.kernel.org" , "x86@kernel.org" CC: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Baoquan He , Lianbo Jiang Subject: Re: [PATCH] x86/mm: Create an SME workarea in the kernel for early encryption Thread-Topic: [PATCH] x86/mm: Create an SME workarea in the kernel for early encryption Thread-Index: AQHVISNEIgHKCEThME+IPHE9yhs80KaYHOiAgAAuPICAAZLcgP//r0SAgABV7ICAAA5vAA== Date: Thu, 13 Jun 2019 18:58:14 +0000 Message-ID: References: <053ded24-eb70-0e88-5e0c-312ea93a6fd0@intel.com> <42f8b183-caae-9147-4021-3dee3462c0db@amd.com> <49a73751-9ede-234e-3432-74cfa62af0e3@amd.com> <170db1df-6305-b1dc-9825-3696a1ed065d@intel.com> In-Reply-To: <170db1df-6305-b1dc-9825-3696a1ed065d@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR04CA0004.namprd04.prod.outlook.com (2603:10b6:805:3e::17) To DM6PR12MB3163.namprd12.prod.outlook.com (2603:10b6:5:182::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0ed0340d-b531-4cd6-c137-08d6f03116ca x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DM6PR12MB3819; x-ms-traffictypediagnostic: DM6PR12MB3819: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 0067A8BA2A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(136003)(39860400002)(366004)(346002)(376002)(189003)(199004)(54534003)(6436002)(53546011)(66446008)(2906002)(2201001)(99286004)(2616005)(31686004)(52116002)(76176011)(229853002)(31696002)(386003)(6506007)(4326008)(6246003)(86362001)(446003)(73956011)(305945005)(66476007)(7736002)(66556008)(64756008)(11346002)(66946007)(486006)(476003)(256004)(14454004)(68736007)(6512007)(71200400001)(8676002)(25786009)(6486002)(71190400001)(7416002)(3846002)(110136005)(26005)(2501003)(5660300002)(8936002)(102836004)(72206003)(186003)(6116002)(4744005)(478600001)(316002)(53936002)(36756003)(54906003)(81166006)(81156014)(66066001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB3819;H:DM6PR12MB3163.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 0YEMXh6VFkvwAsTDy9OTtyayVAvcf+z67tLhC5JTcP4e91OiS+b+FgUSnWx3mxd6P+mzio9TW1taLBY9+QiYXrbtudaR6baqBKVN7k+aF8l+XViKyNv8beS5X0uu8ddY/Jzp6NI3mOniWMQmMVMB444Z7d3h8GyiNvxIrJ2JM+3Isqzqd3vQ2RdlgSdl7wcJBQpcqMgsKuG7OMJa09b/4ChCIEmNV4yJB1lvRR4xJNMkb5jr0f7eA3gV7jVdMauXfjKGg4U10f6iqKvvOcSBPMFBzCNjhDoOGZUsizeIaBtX8XzFMg2Yo0Sb4YLdngsCct0XuT7HE8wfDNpncPLhVVmy37QOIImFOUpRBeUm50Y5Rq1CGA3f+3HlSIkPngvlEIftp3s+WstBZpKiXVbvRfQInCI6xxsfAbZIlTN5Ps8= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ed0340d-b531-4cd6-c137-08d6f03116ca X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2019 18:58:14.8842 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tlendack@amd.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3819 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gNi8xMy8xOSAxOjA2IFBNLCBEYXZlIEhhbnNlbiB3cm90ZToNCj4gT24gNi8xMy8xOSAxMDo1 OSBBTSwgTGVuZGFja3ksIFRob21hcyB3cm90ZToNCj4+PiBBZnRlciBJIHNheSBhbGwgdGhhdC4u LiAgV2h5IGNhbid0IHlvdSBqdXN0IHN0aWNrIHlvdXIgZGF0YSBpbiBhIG5vcm1hbCwNCj4+PiB2 YW5pbGxhIF9faW5pdCB2YXJpYWJsZT8gIFdvdWxkbid0IHRoYXQgYmUgYSBsb3QgbGVzcyBzdWJ0 bGU/DQo+PiBUaGUgYXJlY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