Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752317AbdFGTOo (ORCPT ); Wed, 7 Jun 2017 15:14:44 -0400 Received: from mail-sn1nam02on0051.outbound.protection.outlook.com ([104.47.36.51]:31409 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752272AbdFGTOf (ORCPT ); Wed, 7 Jun 2017 15:14:35 -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 v6 05/34] x86/CPU/AMD: Handle SME reduction in physical address size 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, linux-mm@kvack.org, iommu@lists.linux-foundation.org Cc: Rik van Riel , Radim =?utf-8?b?S3LEjW3DocWZ?= , Toshimitsu Kani , Arnd Bergmann , Jonathan Corbet , Matt Fleming , "Michael S. Tsirkin" , Joerg Roedel , Konrad Rzeszutek Wilk , Paolo Bonzini , Larry Woodman , Brijesh Singh , Ingo Molnar , Borislav Petkov , Andy Lutomirski , "H. Peter Anvin" , Andrey Ryabinin , Alexander Potapenko , Dave Young , Thomas Gleixner , Dmitry Vyukov Date: Wed, 07 Jun 2017 14:14:04 -0500 Message-ID: <20170607191404.28645.41148.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20170607191309.28645.15241.stgit@tlendack-t1.amdoffice.net> References: <20170607191309.28645.15241.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: BN6PR1101CA0003.namprd11.prod.outlook.com (10.174.237.13) To CY4PR12MB1141.namprd12.prod.outlook.com (10.168.163.149) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR12MB1141: X-MS-Office365-Filtering-Correlation-Id: ce0e3175-7e2c-4156-441d-08d4add960d3 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(48565401081)(201703131423075)(201703031133081);SRVR:CY4PR12MB1141; X-Microsoft-Exchange-Diagnostics: 1;CY4PR12MB1141;3:Bn9GnJqgQIMDHQCHFWMIBY0uMzHj4UoPYtPp6mbZdqYlzcanvrbyLmOKK655YoZzaJkq80FvmmMGYOxNmsAaa9+dWSCzg8m/+lYZGhPgKPaupdvsaYvI81rMyqHk7ik8l6Zq6Kk0P8Zhm7Shr3jZA2y5BDHik/VxJv8zW5xrJR2GV+t8ey6HZCwl6rd0SIDHHUUVFn8HLviBmE79KbDm08YMAJhIvhRiWLrAPdUuG8S4rSHlZQR/DqhxP/Pi9d28O6qmYuHcp5PAdWRy1n1cNGuxTVnDOoANdpOn2CiuLlPGesjY8cEC91jgO/cV+iCWqxamICW0z3udBv36lPQcdj1alIIHzGYfcRi5Vjygdeo=;25:ei77kph/Q9snLYwzn4NsVeECQQekoEQgEMMtv81IkwY8/JvMwHQd3lEvGgRA/IDN0FcaX/gVyrYch6jFR3CvBq3l7KDMjImUmI5LiyX6TgHGh49wyiBwUX9Yi43jl9f+B17kkmq5nGojw50AuDZr/YCmQrOzHB7GLMJ4QR1+a4hk8iFFOSy111p8PhGe82Sa27lnFbIbKzg9rdiwjKbFXnunQvJxN+u5DCw1Ekg+R+oG3w4BxRukI50a5Aeb+Eg4Z7Cq3ONwF2naKx7v4jvkzkuZ4I9Kku0GkzhREdf7DGXaz6WQlK6QnKUCsMQnw3uJAgSEMqfcrO56F4ebyqrZl5qnLcWyRjnzyomAz52BepGpwzSeAgPZAwL3pgTAL7MtvDqqo1tKedcujBGLSjGFtV3ZvWRTxgYf2Q5arPwQTaXLp5BX0u2IWJI1XEKSkOO4UmIdbMr1718aHxVfcIlVfviGY20WVFunhuBJ5tlrR7g= X-Microsoft-Exchange-Diagnostics: 1;CY4PR12MB1141;31:N+657+LX+BkV2mIG2lVH2W8OZ/8EcubqOx86MJYLNNoORtOR0VD9S/hzPlD2qkc1jN23Xl/ejbNg5ljPd8Wf53LHlS0dHbMMDFGCPOTMskLB9NoCy39NJnR2NF3cQanzMObogXupMZHWRV9IHP8J9I0oMKn8cLX8j5YU0pwDzFaO0Mwj1rQ2pXWBogD3gxFXljLRdG2sbHeIy4o91acefiKCB9grR2gekBL9Eq4olj7sZza63UGJ+W6XYi7udXt8abApxlrf1ua56CqTtr2leg==;20:Aeqn/iVDgCcSQn1LlsLfGkRjs2F3VWyZvgJtm+k+djF2cvTPlR6Ajfh8qqaTT4eKpnSmOVNjxSkRaItegqyslgAifxnd7RtoZ8L5dYd6p+dvUt85+O6n3bMTiB+JBgRmwfiFTgvIDwPsRBOyBU5vrJKIhz8ZhDaLfbBX0h4BeTYt672Sxnk0YuXsA9PQNPD6vW1JsvZM22flpP9YM94q2HqaGRnAf4WI63HkWjM5YW51JF4nfHd8PO4Ip9E4L/uD/y/GIxBgMo4qCWqy3ujEtoSm3QUqKU2d9mHpZGsqn3iKryZGJ8IrbMx0FUapl1eZ5GmLSaFvJnvKMvXqGG2vqkshznU3FizOKosIoV+npd4/ZNK2ApW3hkXBNPTQ6FpiiAIxjVad8e2vP6NU23rceHgdfqcjVTIJ/GDnXAEBgSpnUmiqW06Q/qlKCCb+ssiwg4Q/oiZSO4g0IDSXshm9tbp4NXyh/tc8zPczzMGBnBY4mDW80/2ZS4U0n63NNEce X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123558100)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY4PR12MB1141;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY4PR12MB1141; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQxOzQ6a3VNdm5KK0M4c0s0SkVja01MdTVXbWF2YlRF?= =?utf-8?B?c2FvQmRSUk9CZ2h6UEpxZDRpNEdYTW8yb3c1Q2h6S1VKQ2lhbXR3dWMxV29E?= =?utf-8?B?SmMxbGlZUGdnU2hoeHVzbERMQXE0ZGVMN29YVXNvWkk4NVFzR09GQmI4V3Vm?= =?utf-8?B?TUZVMk5RZUhNM01tcmp6SFVZdDZYYWFCZzFwUG8vcUZqbEdqRXEvalZIMlRZ?= =?utf-8?B?U054V3haV0U1TlN3WDFDeWxXdU84OEZIekFSd3kvQVhjdmNWU3BEOTVSK1g0?= =?utf-8?B?UlRwMzVLMDd2M0JxR1V3b1dVUGRkbzljTjBVNUZLbWVUei9rdEVIZHZreUJE?= =?utf-8?B?cXpmYjhDQ2t1ZGJQQnd4dTYrSm54VFppbGhIdml1U25IRUNKbzM4bWY3WHZu?= =?utf-8?B?akdJS1V1MnZXUTRGL1lCaEgva0ljZ2ZrNFV4SFI1bG5jNkJPdU9Kb2JWZG5G?= =?utf-8?B?NUI5WWMvTThBMjdvcTUrcTczM1BIa0gzaGs5NHBLZkYrYlBVbnhwWnYzMHUv?= =?utf-8?B?YmNrMDYrbTliVUpGbWZaSzlDVzhkQlRzbFV5clBXTzQ1Z3lzMmFvRW1qeEZN?= =?utf-8?B?cW5TT3Z5Umo0ODdRL1hBSWovbnArL1lQTk9rcE9hL0JlenlmRjFzc1pyaHJn?= =?utf-8?B?Lzd5QmZCK0o1aTZGTG4vQVpobX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ING8wNU9YSlAyeTc5aG9BSDJkU3RqaVZ3eUZGNjRL?= =?utf-8?Q?kkRw9r8hiHWh+eZJJiA?= X-Forefront-PRVS: 03319F6FEF X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39410400002)(39860400002)(39840400002)(39450400003)(42186005)(50986999)(53416004)(230700001)(5660300001)(33646002)(6116002)(3846002)(1076002)(2906002)(2950100002)(6666003)(8676002)(81166006)(189998001)(4001350100001)(110136004)(103116003)(38730400002)(25786009)(55016002)(9686003)(54906002)(4326008)(47776003)(6506006)(66066001)(97746001)(50466002)(53936002)(76176999)(54356999)(7416002)(7406005)(23676002)(83506001)(72206003)(478600001)(305945005)(7736002)(86362001)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR12MB1141;H:tlendack-t1.amdoffice.net;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQxOzIzOnBFcHgyN0tYQjZGU0VtR09NSGRGSEFvaDlm?= =?utf-8?B?VjhBd1RUZ1krVEdWd2IrWWlxdDVha3RibWlWY3RMbDN3dndqaU5xc0tZSFZ1?= =?utf-8?B?cVptZVVLbDhkVFVGUmV6QkFtTUVNdisxeThNSmd0UFpIajJoT0Rvc01WV0VJ?= =?utf-8?B?R2VobWFaa25IbkExd0p3ekx5SE5NbFNVWnZBQ1NvYndGNnUvTFg3YitLQU41?= =?utf-8?B?ZEoyUS9KMmVVZ01QMWtSN08wT09MR2R2enZOblZDZkxjazlVS0p0V0hDR1FJ?= =?utf-8?B?NkFoYXo0cmltZXdaamJvMmVtUVVIQVVFK2poaStZSEdtK2VlcDN2WmwzbGph?= =?utf-8?B?TFMzUWM3VTVERjVDQnd6OElvOGg5K2VjWmhDWU9OeWYrcEtWdWhXYnhDTjF3?= =?utf-8?B?SlJYM3JCMnN4aUVWYlVmN0hGeitjV0FDaDZFK1k3Uy9MUGI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cUicLxestxY28yJ/VCrf+H0KvKn3eZqToFN2igvK1a+xeJ0NcckSt1XX9MmYqlokbHiOQ04H3Bzy2HhpRlgrE5+lvl4sgmwUSW2ja7BW0g16WxHXnnB1xF4bQ08nwGet13idHvlG7fg8TKBeMBKajiS8kBMLWIHJoyiymQ72U4CkTmbuMPhJA5UTEErEFXskhju2iGgPCYfrbTLz38BnOBEHIDmGg X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2017 19:14:07.9424 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1141 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1258 Lines: 36 When System Memory Encryption (SME) is enabled, the physical address space is reduced. Adjust the x86_phys_bits value to reflect this reduction. Signed-off-by: Tom Lendacky --- arch/x86/kernel/cpu/amd.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index c47ceee..5bdcbd4 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -613,15 +613,19 @@ static void early_init_amd(struct cpuinfo_x86 *c) set_cpu_bug(c, X86_BUG_AMD_E400); /* - * BIOS support is required for SME. If BIOS has not enabled SME - * then don't advertise the feature (set in scattered.c) + * BIOS support is required for SME. If BIOS has enabld SME then + * adjust x86_phys_bits by the SME physical address space reduction + * value. If BIOS has not enabled SME then don't advertise the + * feature (set in scattered.c). */ if (cpu_has(c, X86_FEATURE_SME)) { u64 msr; /* Check if SME is enabled */ rdmsrl(MSR_K8_SYSCFG, msr); - if (!(msr & MSR_K8_SYSCFG_MEM_ENCRYPT)) + if (msr & MSR_K8_SYSCFG_MEM_ENCRYPT) + c->x86_phys_bits -= (cpuid_ebx(0x8000001f) >> 6) & 0x3f; + else clear_cpu_cap(c, X86_FEATURE_SME); } }