Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752167AbdIGA0w (ORCPT ); Wed, 6 Sep 2017 20:26:52 -0400 Received: from mail-by2nam03on0082.outbound.protection.outlook.com ([104.47.42.82]:33984 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750800AbdIGA0u (ORCPT ); Wed, 6 Sep 2017 20:26:50 -0400 Cc: brijesh.singh@amd.com, "Lendacky, Thomas" , X86 ML , "linux-kernel@vger.kernel.org" , Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner Subject: Re: SME/32-bit regression To: Boris Ostrovsky , Borislav Petkov References: <4c07148a-5d97-0fc2-aa9b-1db31429736d@oracle.com> <20170906092618.fkvzrqx32z6iqf2t@pd.tnic> <20170906094504.6pp4xdsmcxaympth@pd.tnic> <20170906164417.2terp5ioelzglehq@pd.tnic> <56f022a2-e363-0524-68ba-c31950d96e0d@amd.com> <20170906181946.savnnahph7wtr76b@pd.tnic> <80046e97-9d4f-728f-337a-37969aac297e@oracle.com> From: Brijesh Singh Message-ID: <04defa6c-9cda-817c-c764-2911a5d45319@amd.com> Date: Wed, 6 Sep 2017 19:26:40 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <80046e97-9d4f-728f-337a-37969aac297e@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: CY4PR02CA0027.namprd02.prod.outlook.com (10.175.57.141) To BY2PR12MB0148.namprd12.prod.outlook.com (10.162.82.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 94b80bce-89b5-4556-16df-08d4f5871f93 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BY2PR12MB0148; X-Microsoft-Exchange-Diagnostics: 1;BY2PR12MB0148;3:xg+uE7LafbID+TQNl18rZyiyFfXQSu5PRobLqzTngLtukloUb24AgwEuolwbkYAlP+gWX/WUeWTodBnd7hE7b+AmfRdpKgPpp4Po8Jr3deNa9tTK7bIPMo10KpIfz5mcrMpJxcSwrG7CwvOJBTx9S+56u7A9Bp6OkymIJai9QZF7RIovYkdhmhUh0gr5RW5k69+QBTbrktKETbKg2zR83ZrDJl7moLQcHN6jnKuV+pZm6j4l3COfz//BN84DeNAQ;25:KUlAKl98aBu/HxbMsia0QhRYETd/pbNNbBP2oqAwkPW1Ix4Qn3HL3QV06MAMNiDmCpFDaz5potNEQy88uIIZZmz/3W8l0gH/AvZvv5LFik511qU0eCMEX/HCtfClnrsS9cEJhKi2xhH9gudcSDTfyZLbbimNEB/I2R/nyXT+UcLm/sy5j9gEYo8aoR4IhoU9RBGUTGMyBDJ7C2kQQWn77wkYDL9QlaUHWoR+kMcAhc4shWiiySegc+YgaG9uszJbFUArU0vZmVB4oSudvrKf3mvMOzFD0ABjn3nJL0EsecoixI6BjIqIKT2UwmMEAZ+Uu0l2QmQy3eC8UjkS+sxXqg==;31:Mt+nB5dtXg2C9Ay9eEz0B770NIiUsnaewALo1uDc/Wus/8GhqTz4P5z+Jqi9i0f495XnIUdbSZ3P0rzhfxXls70RnJDR7kTgGFz/GzoMowFa7xucKUcqkQ990RvDHHSWVMw9+zZmiQal+yO9cTpEbLvpCAAB0r6tBg+090uM0047ru4D7BM0utymEGwbj4GYGlh8gKcesPOTnPfbkCLQVRtv6/sB/gBD8XAd1ZYSsU0= X-MS-TrafficTypeDiagnostic: BY2PR12MB0148: X-Microsoft-Exchange-Diagnostics: 1;BY2PR12MB0148;20:RZFuxZWzUOA1Te0ggxyk7i9d4SQ/iQCEiHpzvHnHS5mLAcP1rwNefr0TcUsnjZLAx2ktmxSWD/HxwRzekwENG95TO1vyFlmq+sJrrPm9JlH9gjZhgJfZiqq8lDwQO5XnisnSjpD1B++G4l7glg+Xq1mkEQv9Oj/TerTWG8zWVUXNkQOjL2yCQ/WPGsbTQg9wKyu5AjbSgcfCxBL7SqKWDSKcoTIYrVm1kiwxPX2KNzhh72d3hbTRLifvyR5f1Vbo3ZeYQnLgdhYV7RPatb8T/S69hFsWyPUY1vCY37lxrolWPErKDMZnyowG7yeASU/RAvCsncarBxGa3E4T3uo8w1ma1F0GmBRv3M5njbjhCSa3Z5GQTeHxfqoPCcXqvIAZ42k7dLLqJkXE2qqokrMpT2NdptNGaby18cOqsu7ESYCQHazG8mmSN0nsfO1G4GP0uB6a/pD/LLcXuXm10xqJJ3P2MoQ5h9yeEh+KS8k5/KQ4kB2fjujTag5e5ovBJJj7;4:oEVxVLzf0UmBOgdo33jvl+txz0GGWGRhfdWEn5PU1gDZHmKxJRI15Mt8yh41TIMYBriq/KuEqglvlvBAo74looZQoplZzxmMN20W6gtM5VwkqhWDDWnMN16DbKgbRfK3DutzqVMWOlaiQLByG5lICw85d8+6YUHmIxdtEEJL9TztHu80VFV5ohHPMsLmXoMvSEUSSBKD64lWaNH/A/AxqbfSr7M1Xx/fOwgdSUg+AVTvGM+INR9CYZP6AlHdSkix X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(20161123558100)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BY2PR12MB0148;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY2PR12MB0148; X-Forefront-PRVS: 04238CD941 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6009001)(6049001)(39860400002)(189002)(24454002)(199003)(377454003)(93886005)(31686004)(66066001)(23676002)(50466002)(101416001)(50986999)(65806001)(76176999)(47776003)(90366009)(54356999)(64126003)(65956001)(6246003)(7736002)(97736004)(68736007)(305945005)(3846002)(6666003)(2950100002)(2906002)(8936002)(8676002)(81156014)(65826007)(81166006)(5660300001)(229853002)(42186005)(4326008)(6116002)(33646002)(230700001)(53936002)(54906002)(6486002)(106356001)(77096006)(53546010)(83506001)(189998001)(105586002)(86362001)(478600001)(25786009)(4001350100001)(36756003)(31696002);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR12MB0148;H:[10.236.136.62];FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjEyTUIwMTQ4OzIzOkl1eHl0T3BzV2ZmRWpnUklJdiswTit5N1NI?= =?utf-8?B?L1NpN3BSclgybHpESnl0WTdEeUEzdVh0R2paVTIzUnFoQmFYdkRhUUlJZGt5?= =?utf-8?B?UTcwblVnTU1LZjlpUzdxeDR0bXJKK1NZUnl1UlhFSWRjc0dDUnA1blByaFNw?= =?utf-8?B?ZitadFY2QmdpOFE2cERqUUlqLzlCejM5eEtDK0JPY1ErM0JTMGE0S3BWdlRO?= =?utf-8?B?NFNMSGtjYUFEWm01QWNsNGQ2aXNoR3lENzZpMWdzVzNKeDhXMFNsc3dXTnNW?= =?utf-8?B?QmtlMitvaXZYdFR3NHRiSWw3LzJrb3ZEWU5iTjd6Y1N3YmtKaWhqVlJ5NjZV?= =?utf-8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zujBPTsoz/E8IRedMkhCk/MH6q+TjDHrVks7oklV8ksAKA==;5:MbXfciUeWy2mrKdUgqPgLOT9NwaC7CYSDwRwaEjaOBQlsVxnoXfkiynVZw+8bxLh1D2hKbGbezj+S4iO4nPj5TP3RWg7iCAqhLFRQ8eTwsIvUaP9mWFPsL2p3HO5jY1+s31+VXs6UE/5A53l3XYPJg==;24:htdDw15IRa5C78lzJfD0lE0cjdQ89bEFA65g+vqHdH55t1Q9p0C2tnn7cLtf5YBt52eQGw7OH8b/Na5HThbjgAUcXYPQl7lmamVJhzkzSK0=;7:MWa15BiCIztuHZu6PvlejhetcKzxelQ+5/9b3B4GhTe0g2sP9ilZ2ZEeLri4eCbcCImgCxR6vkx/2rkZfm/ZlrnY1jh0aSoEncS7AtYxqfvMcV6l3ym7A4c4sl0KHFivw3qLoH8ilSYeOrAr9Y3N+qjkbqusgcrNMOEMD9B/lBfLkshPYp0qhsRX4c/m7AqH1I0XGnJikWXQ4+gXLKQgeqc+NXCZubk1qjIfQsiBuII= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY2PR12MB0148;20:QRrjscnTKYHbKySVAdvyUdi4NIx2yBJXnHTaWiPNqp9rQKFBb8/BBn/xpzd+hM6bFa5BAJTx/ubq2RaiATeaacKC6wHm3vdWm+3iNTXfRz+eSKWLA5c3KS7O6Od1uSZP0fbIt1gYztNHFub2Xpz8bveLFXnBv1OolC/6VN4UnSOBv9J2H3xcW4cDsTxl24YWdxn9cpI7jZtMvqAKyp2zojZeOt7HZu8j9S+f86ce/yuuN/wL49K72yKGBtdtGq2p X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2017 00:26:45.8018 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0148 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1096 Lines: 38 On 09/06/2017 04:03 PM, Boris Ostrovsky wrote: > On 09/06/2017 02:19 PM, Borislav Petkov wrote: >> On Wed, Sep 06, 2017 at 01:06:50PM -0500, Brijesh Singh wrote: >>> I did the following quick run with your patch and everything seems to be >>> working okay >>> >>> 64-bit build: >>> ------- >>> 1) Baremetal SME *enabled* - System boots fine >>> a) 32-bit guest launch : successful (KVM HV) >>> b) 64-bit guest launch : successful (KVM HV) >>> c) 64-bit SEV guest launch : successful (KVM HV) >>> >>> 2) Baremetal SME *disabled* - System boots fine >>> a) 32-bit guest launch : successful (KVM HV) >>> b) 64-bit guest launch : successful (KVM HV) >>> c) 64-bit SEV guest launch : successful (KVM HV) >>> >>> 32-bit build >>> ---------- >>> I am installing 32-bit distro to verify 32-bit baremetal boot and will >>> report my findings soon. >> Thanks Brijesh, that's awesome! >> >> I'll add your Tested-by once you're done testing successfully. > 32-bit seems to be working well - thanks -Brijesh > > You can have my Tested-by (mostly Xen but some baremetal too). > > -boris >