Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4074409yba; Mon, 29 Apr 2019 13:17:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEJi7vNPPVOiWlZ/eSdw7WvxYi39UAgXyW0/y8pWLmirN4ozL+SeGyyCbF9ZvAXKMqxp22 X-Received: by 2002:a17:902:56e:: with SMTP id 101mr63403916plf.142.1556569063394; Mon, 29 Apr 2019 13:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556569063; cv=none; d=google.com; s=arc-20160816; b=SuvgJfkR5Q6GWVvvEgJuFUIWJteuO2B4b7bbBc14EDNRuwF/TLSdplrq9AOKBpyFQh H0lJNuadv3zvcBDGh7RcQS146i1Axv4ws5hN2i6mYYed0j8XRlasP0lRmcW7ymfQKZa/ ASbJ0aK6CbTnNSp/q8JUnAMEmNPJsXJQHWqxBykJlwQkcKlFMSe4HvfwGYs26t/WiB0s DDWRa23kaLnas7vXBxMd7CsXycVXxd9WbThxZ7SaDXAjvB1PFoXYHe3meD5wjyDqVmWh uw1u1Z+cSJfwMiyufke3A55pwPkzAcj7s5QYn3BUodGfWZswq/dW/H9fymwZjWGOKM9k N/Kw== 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=jjlt7RzPUuqBckWwabpVXR9LkefqkI32/qBmJ3lvNZI=; b=qu5yhkdpYcVRX/o3QoIvErwfqDzsKRv8efI6fenwb9nyOKl5kh9mSG2IR2efhzOzrm nudPPtXDKH9NRQat3IgaRlEY18TfLxvVCGLdWumwDaoVgD7HQ3ZqhZjlAOm+MOdBlPTd U+2pCgVnqNFDP3my0y/iZNthHexZBMjbDv3B0qrLPnlbX1zZYSBccepcu6fk2ipKscYj DaFmvznWphWa5ecWmfFcugRum/N+DQLx/PxXYBmlI/exTSCJzHJ4zAvVCwB50O7Lyq2d rMy3amPySn6tfhwNOBLArKk7IVK8W3FynNwBB9I2T8sc4oGoUGFGp7knNoKpUf81Os9Q lU9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=X83p9wUO; 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 a1si19742403pgh.517.2019.04.29.13.17.28; Mon, 29 Apr 2019 13:17:43 -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-amd-com header.b=X83p9wUO; 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 S1729476AbfD2UQP (ORCPT + 99 others); Mon, 29 Apr 2019 16:16:15 -0400 Received: from mail-eopbgr740059.outbound.protection.outlook.com ([40.107.74.59]:8064 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729436AbfD2UQL (ORCPT ); Mon, 29 Apr 2019 16:16:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jjlt7RzPUuqBckWwabpVXR9LkefqkI32/qBmJ3lvNZI=; b=X83p9wUO6le772fkSOaN8J/rdrkrAmtqkF3Ti2AvRc+ANmag3nmS9eSzOcHDT4+p1ajJUu2jDXNa9jKkE2K/GAsGN00bc0CY++8Q50jtILbUEo/RrxTHm5GsdgYakIb7QR72deYqnMUCRB8trzCPzr8sdhuXOUNWIWG2ScstVBY= Received: from DM5PR12MB1449.namprd12.prod.outlook.com (10.172.40.14) by DM5PR12MB1578.namprd12.prod.outlook.com (10.172.39.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.12; Mon, 29 Apr 2019 20:16:07 +0000 Received: from DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::11db:1b41:d1e6:c6dc]) by DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::11db:1b41:d1e6:c6dc%11]) with mapi id 15.20.1835.016; Mon, 29 Apr 2019 20:16:07 +0000 From: Gary R Hook To: Borislav Petkov CC: Thomas Gleixner , "Hook, Gary" , "linux-kernel@vger.kernel.org" , "dave.hansen@linux.intel.com" , "peterz@infradead.org" , "x86@kernel.org" , "mingo@redhat.com" , "luto@kernel.org" , Alexander Potapenko Subject: Re: [PATCH] x86/mm/mem_encrypt: Disable all instrumentation for SME early boot code Thread-Topic: [PATCH] x86/mm/mem_encrypt: Disable all instrumentation for SME early boot code Thread-Index: AQHU6yS/AQVIYa78D0OsnFnDJRviWKYsd26AgAWzsICAAFczgIAAHL8AgAAHagCAG7QAgIAAaEKAgAT3uYA= Date: Mon, 29 Apr 2019 20:16:07 +0000 Message-ID: <1beb4b7b-a4c1-0f60-3aa8-640754e30137@amd.com> References: <155440965936.6194.3202659723198724589.stgit@sosrh7.amd.com> <5dfcb133-0a0e-9e07-3774-313e30814e79@amd.com> <20190408165835.GJ15689@zn.tnic> <8a14050e-2516-5c0f-195d-611c6959b94b@amd.com> <20190408190800.GL15689@zn.tnic> <20190426162425.GI4608@zn.tnic> In-Reply-To: <20190426162425.GI4608@zn.tnic> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN4PR0501CA0007.namprd05.prod.outlook.com (2603:10b6:803:40::20) To DM5PR12MB1449.namprd12.prod.outlook.com (2603:10b6:4:10::14) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.78.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0d238fae-94d9-47e7-de18-08d6ccdf833e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DM5PR12MB1578; x-ms-traffictypediagnostic: DM5PR12MB1578: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 0022134A87 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(136003)(346002)(396003)(39860400002)(376002)(189003)(199004)(446003)(11346002)(66066001)(2616005)(14454004)(72206003)(54906003)(478600001)(256004)(14444005)(4744005)(73956011)(66446008)(64756008)(66556008)(66476007)(476003)(66946007)(31686004)(52116002)(71200400001)(486006)(99286004)(71190400001)(8936002)(81166006)(97736004)(93886005)(6436002)(8676002)(81156014)(36756003)(3846002)(2906002)(229853002)(6916009)(6486002)(6116002)(76176011)(25786009)(305945005)(316002)(186003)(53546011)(6506007)(386003)(102836004)(7736002)(26005)(6246003)(53936002)(5660300002)(68736007)(31696002)(4326008)(6512007);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1578;H:DM5PR12MB1449.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: Nn6KDu0g6lCNJzLp3H4jgVA8nL/vFZ43VBk3anMyuQWpoCkc32s9s65zETodfrysBUnXw+dU1mJFw94sA3NcFyaiHNhgWVe+zDLQbMs3MG31wxM3vfn8j67+FM5S7w/GN8hLacQHYBdhy+tVNeGgzYOXQKA5ElxEtyelWra7GLpHhDl3VOHr9R2M0InBLRrkr3fITVJjIFQJ1DMlS/gWLq2LR8BzHWciQyjeo0VugU2XQ/q9YRQufgYd3+rxHolPiOg7nvC5vNU7P6IcRViriMpufeGiimJQlUkyoYCaABIjs1h/4jl7u7sarN2rvm4cuOsfjB5BRPHXOSFOsQrx5wymOMMPl4kEjmygH0ahoJdVJsn1v4O9fm/Z7dNOL5eiNPxsQDt6PLHeIPxTFFOxL+z+W2/2mZtilCK8QinF8l4= Content-Type: text/plain; charset="utf-8" Content-ID: <701D58980C9B4E45B3235FA7F410D1EF@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d238fae-94d9-47e7-de18-08d6ccdf833e X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2019 20:16:07.5746 (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-Transport-CrossTenantHeadersStamped: DM5PR12MB1578 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gNC8yNi8xOSAxMToyNCBBTSwgQm9yaXNsYXYgUGV0a292IHdyb3RlOg0KPiBPbiBGcmksIEFw ciAyNiwgMjAxOSBhdCAwMzoxMToxN1BNICswMDAwLCBHYXJ5IFIgSG9vayB3cm90ZToNCj4+IDIp IFR1cm4gb2ZmIGluc3RydW1lbnRhdGlvbiBmb3IgbGliL2NtZGxpbmUuYy4gVGhlIHJpc2sgaXMg dGhhdCBhbnkNCj4+ICAgICAgY2hhbmdlcyB0byBpdHMgY29kZSB3b3VsZCBub3QgZW5qb3kgdGhl IGJ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