Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4136197yba; Mon, 29 Apr 2019 14:24:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1KTUyZmky4FGADjxPQ+hX1vJaUNv5+BKqRF7MoYKN5TlYUkcfw/vDFFLB5PNlmWiMH9Vl X-Received: by 2002:a17:902:1003:: with SMTP id b3mr65268213pla.306.1556573042924; Mon, 29 Apr 2019 14:24:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556573042; cv=none; d=google.com; s=arc-20160816; b=idImqXpCVRlvRQq3690QaROSZGosk1p8Zskl6YR6DG0TNrHIpym8eE7ns07PqZsyW8 uX6q9VQ8AUyYeG9UpmJJ9az/X5SvQqDYqJHSD/OO8jVnig7kyJObMPzr00ZROkbZOKw6 SBPXlNyogqXv6wEzQdnd9E6M833CTlMi2qwsCNkAA3rSdeOZDgiIM4z15VX7b0L9NZNq fMJtUSWBsxRSc6MOLsYpMlB6r/o1PH470PVavzIf6RhrqSkKdaKfxV0IPJFBKgYs02Ji X+5ngCyF3acrEwm94coHWBiGd/goYRIsGR3qSb0red8Y6HFl+4wIpuY8o5Mw9Gyet+rt VKJg== 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=CdV/XHf5mSFFymxalxto1oQDxLRBpY2qvpbOJkyRZV8=; b=NJQBWUTNznp3NOxDdML91vXxJZJLlt/TILYVEwLYW0+bp5TBkpQsaLcQwqyKE+Fw29 ANGkM0VJ4e8bGehhwyaeklGntJ0ZFUf7r6/y+jxz0HrZFGl8k+tWLAEpODY6fnkJ8Qee 4uuMkin2mcKkuqOaSnl9oHrnXdkTDGCYO4xryCXeh/5P05O721iPY1biquyZnIpxxTMF m58pLKLa60SSbFHcjZGNEiY1hVN/bX5vQnYCF8dOLQcvh7ZC+3pwQ12UJ/GPCkoWCsHJ 5Zj4aubAf6Jiz07cATNG2XjMrWfBDflHSCoBg40VaqXg3AnaczMoiZ3ydOJfZgjiRz6C xPzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=rqGugQQS; 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 62si2287372pld.143.2019.04.29.14.23.45; Mon, 29 Apr 2019 14:24: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-amd-com header.b=rqGugQQS; 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 S1729378AbfD2VWv (ORCPT + 99 others); Mon, 29 Apr 2019 17:22:51 -0400 Received: from mail-eopbgr690082.outbound.protection.outlook.com ([40.107.69.82]:13902 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728071AbfD2VWv (ORCPT ); Mon, 29 Apr 2019 17:22:51 -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=CdV/XHf5mSFFymxalxto1oQDxLRBpY2qvpbOJkyRZV8=; b=rqGugQQSbj596ERDiPLZf/PA0QoCjpzvx/sNVLZgyQ4T+1uKNluc/mz+IZ5bLhKIEMwTOdL+R1beQLJvbHBgemISh06mGKrVfSrLFLkhrFPfQ1HBU4szBcTWfgylVkUfwN/1yCQoLOCSVjc2QSyNuS4Waa/6Sy5EDMI1UuGTG/c= Received: from DM5PR12MB1449.namprd12.prod.outlook.com (10.172.40.14) by DM5PR12MB1785.namprd12.prod.outlook.com (10.175.87.10) 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 21:22:48 +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 21:22:48 +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/AQVIYa78D0OsnFnDJRviWKYsd26AgAWzsICAAFczgIAAHL8AgAAHagCAG7QAgIAAaEKAgASj54CAAF3KAIAACKiA Date: Mon, 29 Apr 2019 21:22:48 +0000 Message-ID: <3bfae142-7d38-99c5-a086-5d2e79ec586d@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> <1beb4b7b-a4c1-0f60-3aa8-640754e30137@amd.com> <20190429205146.GF2324@zn.tnic> In-Reply-To: <20190429205146.GF2324@zn.tnic> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR15CA0032.namprd15.prod.outlook.com (2603:10b6:805:16::45) 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: e262cf14-2a59-42a6-5c53-08d6cce8d40d 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:DM5PR12MB1785; x-ms-traffictypediagnostic: DM5PR12MB1785: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0022134A87 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(136003)(346002)(376002)(396003)(189003)(199004)(7736002)(53936002)(305945005)(53546011)(97736004)(11346002)(14454004)(6506007)(66066001)(6246003)(8676002)(25786009)(386003)(72206003)(186003)(81166006)(81156014)(102836004)(99286004)(6436002)(8936002)(229853002)(26005)(52116002)(68736007)(6486002)(36756003)(6916009)(31686004)(4326008)(2616005)(446003)(76176011)(3846002)(6116002)(486006)(6512007)(478600001)(5660300002)(2906002)(4744005)(66446008)(64756008)(256004)(476003)(54906003)(71190400001)(66556008)(71200400001)(66476007)(31696002)(93886005)(66946007)(73956011)(316002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1785;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: INKd+Wp6Fy9imXsqaN1tSOepM6DHtahEZCMj/PNtK88qqPYA9PwT1mdQ/Db2WtZ0GB0KwlfqoxpNrSz+mYpl8hWc87SCGizpZfPrBO+6u5AspFKPXuMSS2X9oMPaSLBFhd3WM1dolh6ge9mq9fF3Dfkp76GBpPjk5AZi7VSoH/AOalCZyWSn5V8d9/jvOxgcyrrvmIBhLQ2XfytutBi8ZsP/1WzMBlAQESpO61v6NQ5xYOyr7nBphtqA1WxIFWLk12r2258N191b/fwKKepdfxWxNZQTzG3/PqrinYt6VxUho2Hghlz/+7oLv+GLqyFrXLg8BxIIbct2q6KTwEkURHuNKLZzW4ypn62pQ0Uiqlkfc3lmb1XmlU52g05+1TpOvp4C7v18qJ5wiKnRcDDLyc7tr0ch+wycIvBXfyiPn+o= Content-Type: text/plain; charset="utf-8" Content-ID: <85FEE9FB082C3E4F818749DF2863272A@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: e262cf14-2a59-42a6-5c53-08d6cce8d40d X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2019 21:22:48.4560 (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: DM5PR12MB1785 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gNC8yOS8xOSAzOjUxIFBNLCBCb3Jpc2xhdiBQZXRrb3Ygd3JvdGU6DQo+IFtDQVVUSU9OOiBF eHRlcm5hbCBFbWFpbF0NCj4gDQo+IE9uIE1vbiwgQXByIDI5LCAyMDE5IGF0IDA4OjE2OjA3UE0g KzAwMDAsIEdhcnkgUiBIb29rIHdyb3RlOg0KPj4gWWVzLCBvcHRpb24gNCB3b3VsZCBiZSBh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