Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753041AbdGGNo0 (ORCPT ); Fri, 7 Jul 2017 09:44:26 -0400 Received: from mail-by2nam01on0079.outbound.protection.outlook.com ([104.47.34.79]:45527 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752376AbdGGNoQ (ORCPT ); Fri, 7 Jul 2017 09:44:16 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=amd.com; From: Tom Lendacky Subject: [PATCH v9 32/38] xen/x86: Remove SME feature in PV guests To: linux-arch@vger.kernel.org, linux-efi@vger.kernel.org, kvm@vger.kernel.org, linux-doc@vger.kernel.org, x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, xen-devel@lists.xen.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org Cc: Brijesh Singh , Toshimitsu Kani , Radim =?utf-8?b?S3LEjW3DocWZ?= , Matt Fleming , Alexander Potapenko , "H. Peter Anvin" , Larry Woodman , Jonathan Corbet , Joerg Roedel , "Michael S. Tsirkin" , Ingo Molnar , Andrey Ryabinin , Dave Young , Rik van Riel , Arnd Bergmann , Konrad Rzeszutek Wilk , Borislav Petkov , Andy Lutomirski , Boris Ostrovsky , Dmitry Vyukov , Juergen Gross , Thomas Gleixner , Paolo Bonzini Date: Fri, 07 Jul 2017 08:44:08 -0500 Message-ID: <20170707134408.29711.78180.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20170707133804.29711.1616.stgit@tlendack-t1.amdoffice.net> References: <20170707133804.29711.1616.stgit@tlendack-t1.amdoffice.net> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: CO1PR15CA0052.namprd15.prod.outlook.com (10.175.176.20) To MWHPR12MB1149.namprd12.prod.outlook.com (10.169.204.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6b4213e9-eeb4-4c42-00fb-08d4c53e411c X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:MWHPR12MB1149; X-Microsoft-Exchange-Diagnostics: 1;MWHPR12MB1149;3:1o4KcE9FpNB72oP17tY/mixYkBWX+MVarpIjeX6x/DK9u0rui/d8hkpOlyz6B9WBZIwvLOI0jHTFEFv9KeNAeVu1RLIt79Mgfj4Vldyq8CXbtnipBKq5+FK5k4opVGXsbxWaQEG5kaD8d5NQ/ZtXRKpWv7ROKkq3Kt50V232qogb+hZ899XHm3Dodil0ztxwILgiDcYBW4Z/7kgFgI/+1QNpD3M9WOeHyEXdwezjvjCAHq33g49PkiyZ9Q3zQOeiSVliuZfmAxqBY9GcGiAUUUD/DJRVkEdWhIGBpzfaLbSHUQjbKh17TyLmui6zlrY497ta19OR/5jYPresDvvkWKTMcrJIoAI5oYt3k999ObZcn3LthhbL0Jp5Wlb25uZNyl7bn7vOdpoC6Dc7vDnW/eAMStGg00hKbbecOuNsU7wQMKuorFT2ryOuZ4eyiuSsbaqDoLuU5kDsPC3IbM8afz4+IoDjT8dKknijYfmYcK4bAz+lJ4n4pn+mSMsUzQ8eKNunS97A/B3zDr2suCg5svVu1/dveGXCGnAMJXnsYlUuIFpndzK8W1NLH4jUctWU36cxG9opxAD6AkFXiS118RBvAaKAjiFRRT7z3HJgGllh8kjgJV6MYioiwBfykcFcqlWyGn3yF8iB+CEf4yaRyAQwpyueDl1flSBajNLaJCvKrxGPGfHlJWNzn9Y/U8YjfYD01yq6ol3QcrotnRX2YALAcElItkg7lDI7OIo0JlFGciFQOwpUG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tqZLXguAZi+iaCp4R63mQXnG0UO6AG613ao0NtHtlu/3dIrFXcUlJhMjcAguwoe9LbEX9afiNBl/5DP43e4NivQ9rleP3C0tWEEs4PtAcoT4K5ObuNNCw89jDHwkjL+eUmHGYZwIxQg94HTJuWFO5pzAOIpv X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910064)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(20161123564025)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:MWHPR12MB1149;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:MWHPR12MB1149; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjEyTUIxMTQ5OzQ6cHV5WnpyMHh4bXlBOTFoR3FiYk5kMjNkZGR6?= =?utf-8?B?MSsyb3QzdmZPWW1lSmx5SmtvM3l2Zm0wRElTTEJhcGI3UU5mVVdETzlKOExC?= =?utf-8?B?bWwyL24yOWJYMldnRGVJRmRiTHFLVnRxcXgyWU1abk1LK0hLdkJKbEhCa0lh?= =?utf-8?B?bVpycXo3bGRKNVE5QWNiSnZsTzJlSDJmVm5VMk5jUUJUT2ZVZW50VTVvZjBO?= =?utf-8?B?eUNNaXlOd2hJdnNVbWdtelNsQVV2aCt4R3JmZnlBQi9DY0cvL1NEN0tKbkYz?= =?utf-8?B?OXd2YTU3YnI5dDRXVUtaTmRlVkpMb1YwRFhXUHE0anNqS3AvbDN3K1VLMVEx?= =?utf-8?B?UzBvb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=?utf-8?B?V2p1ZU9EN3l6S05DSTVoK1RNZjk0MXhwYmtacDZ6cDBSc05NQURDaFhtUUE1?= =?utf-8?B?cVpmUUl0bklYd0lxRWlwTEZJanVZVkpEdnI2eHluaWFhY0xLRlJjeTcva0xv?= =?utf-8?B?MW5UelJvN1RHaUs0WHF5Tm1PMFVMRkdQQUIyb0NaeFBkRk80SW1pVmxKWDBC?= =?utf-8?B?c2FUenEvVHFvOHZRNWlLTnZEVUxYYlNUMG9aWllpUHRwRXFjTDJxQ1VDcTZ2?= =?utf-8?B?ZXkwc2Z2WXJjVEdsTVgyR01lczdTbFpQNnM3L2k5R2JVcVVEMmI2QXFibTFS?= =?utf-8?B?cGJhaldnY2FNY3d1WEkzNk9MZXZMQ2k2enA2MjVXdGx2bm9wV05vY2ZrWVRP?= =?utf-8?B?ZllUT1l1STdMNDUvUVd4QSsyeXJzWm9nVGpqOEROTXQ1RE5ZUVl2VitaWFdD?= =?utf-8?B?aDV6REsrM1YySXZuZUI4cjgyVDlMcXE0MS90OXRBd1Y3NExqQ2hUWWRzZmE3?= =?utf-8?Q?2e7ifJvcZghkCq4qDswPlFLBbtL31Sf6RtgQ=3D?= X-Forefront-PRVS: 0361212EA8 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39400400002)(39850400002)(39410400002)(39450400003)(39840400002)(39860400002)(9686003)(54906002)(53936002)(33646002)(47776003)(103116003)(6116002)(3846002)(25786009)(54356999)(76176999)(110136004)(38730400002)(42186005)(1076002)(53416004)(4326008)(50986999)(230700001)(66066001)(6506006)(86362001)(55016002)(6666003)(2950100002)(2906002)(23676002)(305945005)(189998001)(50466002)(97746001)(478600001)(72206003)(81166006)(8676002)(83506001)(7736002)(7406005)(5660300001)(7416002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR12MB1149;H:tlendack-t1.amdoffice.net;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8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gsm35k;24:Dcx61frlADu/NgkqUl4kKHMPIYZzwM6luyZYq3f0+na4qELPzQKcx65AmrbMEsceiFNYb+cuqQTzdCIk2bw5DEVEhBTILuumKTW3QHHHxS8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;MWHPR12MB1149;7:NB6QWTryM3haPhADYAczemD+GoCUWj7xWjSyPqAKF6cgpl9Vxp204Procz8w2qlsIOP1SuzpYtVdTpZF/PoxtdUh8/bMoyBgqG4bIe0llYUpub5ttW2stkMCOZi14F/WC6/nSOswoJxcrGtcB8GgIevcDSzOmluiXj40tJYepWx9+KPST6tHhyN6QaB7JfGQALVmtXDqWrQxEdgyK+JbkNHEpGSpo/5576oD0rq6328Rrf09dPvun0areyj/XweEu0Hr61fGFALNmYb7IUvFykC22/emAtY92dgY5O2j+OO0emEphI9kiayYsHGxQg0gsUchH9S0vJw98MT+b1Q/DFoBhRl6ROWsNfBXyORIHUkNaDUwrk0Ndw9+w1L25zxWQCq9uq2e1Gq6a+LIXDz1pFlRJZefWm+nmF1+SJu7ERemsDdih9iNSaHyySFcKuMHtEY5Upig8gvQSdp+a/hfjF+BBfjxXy15/5BnowPxACwrn12yBECjRtT8WIM/MVuHZz85SuHuIYYPa3yUANhays8+r6aEYeHa1nMe7+KQb6+EwHmZVJUVtkJykp5g9q3BPF2mYYI/W1f2T4POhJhoskBK4pOuerQKt9RsUO5vYdGhYbv/72VWWimm7bf8tVH5aOPxiMnhVkuiSfsri3eCucJiH/E8WeOZfobWSZhOI//Wdh1BLnoAcuwLhdZekTdg4xtId8/lHSe7GDljRWu4CQTiKuTXpfYzY2K1LdDe3sOrRvslDlVsbgSx2bavHmJGqQXQUofPJV6pptw+8Tgq50d+bAUZRZotLHV519TJxt0= X-Microsoft-Exchange-Diagnostics: 1;MWHPR12MB1149;20:SECQtC41vxmNbRE56khd+Xgqoq56ajKRD+fsKhhqHXRJMAtCSpZYmPSTwDUVxx/Iny11mcO5YBMrxEUisx/Jp+pi7gAFjwl5r22akAvZBXp5Z8KEmY+QEH/+7SJT6WSBM8GtOeO2NR+xqrodRpigr55Hp/Bol83tTVjLOcW7zHTbFqjTAD2aaehmlSrRBT5JEJFt26Sv1h38jKWUy6JSWROISBDBODWyIJNrZpM0jOZhaer/cL11kjaT43AeiDJW X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2017 13:44:11.7164 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1149 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 807 Lines: 22 Xen does not currently support SME for PV guests. Clear the SME CPU capability in order to avoid any ambiguity. Reviewed-by: Borislav Petkov Reviewed-by: Juergen Gross Signed-off-by: Tom Lendacky --- arch/x86/xen/enlighten_pv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c index a136aac..57da6b2 100644 --- a/arch/x86/xen/enlighten_pv.c +++ b/arch/x86/xen/enlighten_pv.c @@ -294,6 +294,7 @@ static void __init xen_init_capabilities(void) setup_clear_cpu_cap(X86_FEATURE_MTRR); setup_clear_cpu_cap(X86_FEATURE_ACC); setup_clear_cpu_cap(X86_FEATURE_X2APIC); + setup_clear_cpu_cap(X86_FEATURE_SME); /* * Xen PV would need some work to support PCID: CR3 handling as well