Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4190912yba; Mon, 29 Apr 2019 15:26:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJ6cyuKQZC3uPwjlRw9hP+Km3Zp1AskxhEZXWRkcMkEZMlM6AaA4XsPUkoLLjg6tPghT6c X-Received: by 2002:a17:902:2aa7:: with SMTP id j36mr2861240plb.38.1556576789043; Mon, 29 Apr 2019 15:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556576789; cv=none; d=google.com; s=arc-20160816; b=XGSpb+OdSHBxNzdJe/VZP61DAqo1D6X8IYz3Or+U7pgK49bpN2+0+Fkxro1ECUDCgJ jvi7RO3oXIwAWFeUUCqYZD8wgqOq1Cf8lotHyavSs7ZXfPzvWS/xzvhG2rN0HvINjcU1 FyysE96wyd7ThOkf2R33RjSPbPL9hChyczIN92+Ciu3FrYcyFJajOy/RJ4PFZxtOzylk YSlzHNgM3+QTk1JoK00URqqJLmEjvSpOJEhSydtq2gPho2gqGtptdzlMt30s1YowJjbu +rYGJKLYnIqiBDJU5CkBRdTm9LDA9r3LSrOzCzlTkx+bMU4qU8dOnMlqOgCx91uszpPt C1oQ== 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:message-id:date :thread-index:thread-topic:subject:to:from:dkim-signature; bh=CY9/DZnek49ctf+uWfdC6GktaEMWvybqnR8p3oUK2AY=; b=FphV/1C1IQIcenofaOUKXSO6UINH76rQj9LeGdJgFSOz+PWOEsxNnTr0CQD219sYiq mjTGRPmsnYNHAWpycGP0fb2c36dzlbuAeHvauw+UmeY7upsH09Z4D3m6fkkktoh5n/U1 /DNlEyd5SgCK0eV2MnynY3eydnGmymZWxq4UBP4xYZgafeF4hMgJrO8F/CsHhMwNM0zi zjih/mMu8cyMTpSPQ7VFm/tMkGoZb+Qun+dR6KiA+8kkEwpWq/YeFcgYli4dZFYYoEA+ p3kUO4+uB9csLuq0ieS7XWmvoupG8M6lG8O5AbF067ZjYbhX7fc0DkBiBoC0L/U4tRgb wVdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=SNAB1LuZ; 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 h5si31701590pgq.224.2019.04.29.15.26.12; Mon, 29 Apr 2019 15:26:29 -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=SNAB1LuZ; 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 S1729608AbfD2WXm (ORCPT + 99 others); Mon, 29 Apr 2019 18:23:42 -0400 Received: from mail-eopbgr800040.outbound.protection.outlook.com ([40.107.80.40]:37017 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728105AbfD2WXl (ORCPT ); Mon, 29 Apr 2019 18:23:41 -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=CY9/DZnek49ctf+uWfdC6GktaEMWvybqnR8p3oUK2AY=; b=SNAB1LuZygnDHekmlkXFDUEyT7mPvXAeusWllD8eJqzmTHkf1jA65nfSRfggEOK4fCgeRIo+bu2A3vqy18bjca1jccwPBIn2TtldPtCTUe6AjKXWWWbfEBx7h4syZ4cysSa9nfGwH2fjNCDLyf2qGKrR7uMWH9w9XrwHt1cXlZk= Received: from DM5PR12MB1449.namprd12.prod.outlook.com (10.172.40.14) by DM5PR12MB1932.namprd12.prod.outlook.com (10.175.89.23) 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 22:22:58 +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 22:22:58 +0000 From: "Hook, Gary" To: "x86@kernel.org" , "peterz@infradead.org" , "dave.hansen@linux.intel.com" , "linux-kernel@vger.kernel.org" , "mingo@redhat.com" , "bp@alien8.de" , "luto@kernel.org" , "tglx@linutronix.de" Subject: [PATCH 2] x86/mm/mem_encrypt: Disable all instrumentation for SME early files Thread-Topic: [PATCH 2] x86/mm/mem_encrypt: Disable all instrumentation for SME early files Thread-Index: AQHU/toZC/wbh5hvA0WBi9nHaOY1qQ== Date: Mon, 29 Apr 2019 22:22:58 +0000 Message-ID: <155657657552.7116.18363762932464011367.stgit@sosrh3.amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR16CA0062.namprd16.prod.outlook.com (2603:10b6:805:ca::39) 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: 2ba4a355-10d7-4e5a-c5d3-08d6ccf13b8b 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:DM5PR12MB1932; x-ms-traffictypediagnostic: DM5PR12MB1932: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0022134A87 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(136003)(39860400002)(376002)(396003)(366004)(199004)(189003)(103116003)(6116002)(53936002)(486006)(14444005)(256004)(8676002)(316002)(2906002)(7736002)(81166006)(305945005)(81156014)(110136005)(2501003)(72206003)(6436002)(6486002)(14454004)(476003)(5660300002)(68736007)(478600001)(25786009)(99286004)(386003)(6506007)(3846002)(66556008)(6512007)(52116002)(66446008)(71200400001)(66476007)(64756008)(26005)(73956011)(71190400001)(66946007)(8936002)(66066001)(2201001)(86362001)(186003)(97736004)(102836004);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1932;H:DM5PR12MB1449.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: NcjNrK/EQWwmHuu/kfVPmIwBTbsK6ZAclYSqpEkjNePFNvf8pELwTwKZUP496flvXvcrS4iY7tSIZ4HfUDaIcLra7NC2CB7ogQ18CdF5Tfr7zA5IjDyVzw8szkyQ6ZGt5SLW+KMk66GTaKPYzenWtUvrcZtj25SCBG8wNo1YMql/fx3R3RvWzHO74MYi9jz+8X2CPsBEETBv9MCHQkqtD6Fhh/xKqJxfgnaBy5GAaDiwTDu2pfTAkumHWLYIj0GwNlGrzW1N1sC0KNZEEymkHSMh7I/g+BX648Te6j+gjUQBKdC5o7A19WN3a20e/VzuTJe2nlsioQCBX1KHNN7e4HwK35ZkDWc1/wiedT0MJi0DUxN1CSdG+YOFsZEW0VKDhk4nTCYGmoETJAtm2ojU07QOvOo7enEPhLhp1YSbfxs= Content-Type: text/plain; charset="utf-8" Content-ID: <69B1D0A9410F7042AF758D42183F5483@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ba4a355-10d7-4e5a-c5d3-08d6ccf13b8b X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2019 22:22:58.4880 (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: DM5PR12MB1932 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RW5hYmxlbWVudCBvZiBBTUQncyBTZWN1cmUgTWVtb3J5IEVuY3J5cHRpb24gZmVhdHVyZSBpcyBk ZXRlcm1pbmVkDQp2ZXJ5IGVhcmx5IGFmdGVyIHN0YXJ0X2tlcm5lbCgpIGlzIGVudGVyZWQuIFBh cnQgb2YgdGhpcyBwcm9jZWR1cmUNCmludm9sdmVzIHNjYW5uaW5nIHRoZSBjb21tYW5kIGxpbmUg Zm9yIHRoZSBwYXJhbWV0ZXIgJ21lbV9lbmNyeXB0Jy4NCg0KVG8gZGV0ZXJtaW5lIGludGVuZGVk IHN0YXRlLCB0aGUgZnVuY3Rpb24gc21lX2VuYWJsZSgpIHVzZXMgbGlicmFyeQ0KZnVuY3Rpb25z IGNtZGxpbmVfZmluZF9vcHRpb24oKSBhbmQgc3RybmNtcCgpLiAgVGhlaXIgdXNlIG9jY3VycyBl YXJseQ0KZW5vdWdoIHN1Y2ggdGhhdCB3ZSBjYW4ndCBhc3N1bWUgdGhhdCBhbnkgaW5zdHJ1bWVu dGF0aW9uIHN1YnN5c3RlbSBpcw0KaW5pdGlhbGl6ZWQuIEZvciBle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