Message ID | 20170616185412.18967.91559.stgit@tlendack-t1.amdoffice.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0D4C260325 for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:56:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 007892865B for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:56:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E909728670; Fri, 16 Jun 2017 18:56:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DD8D82865B for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:56:27 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1dLwO1-0003X0-6Z; Fri, 16 Jun 2017 18:54:25 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <Thomas.Lendacky@amd.com>) id 1dLwNz-0003Vc-F9 for xen-devel@lists.xen.org; Fri, 16 Jun 2017 18:54:23 +0000 Received: from [85.158.139.211] by server-3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2q/luSNTFwUwfHMHxBYEbmVAwAA X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-11.tower-206.messagelabs.com!1497639260!84014277!1 X-Originating-IP: [104.47.38.58] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.19; banners=-,-,- X-VirusChecked: Checked Received: (qmail 53445 invoked from network); 16 Jun 2017 18:54:21 -0000 Received: from mail-bl2nam02on0058.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) (104.47.38.58) by server-11.tower-206.messagelabs.com with AES256-SHA256 encrypted SMTP; 16 Jun 2017 18:54:21 -0000 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; bh=wJf49c0iBaf+6V2vq+J1YUtChhsm5wvHc4LhJpFFM/U=; b=SvxA035Y7PavuiMEkjORE2SAe2Z2NTnoU5c0eXq6upn28DEKWhaHBXqhx8ZRDXWw0NCQGSZUFp7nDEW/OEA7nT/fdjLwqpNaG6YZv5iOTOgXYOpoR/DElsiAew/oHWkHgYYvsju88IMz2Indn+fv80N3D19h/+qJY2t8zg1Trqs= Received: from tlendack-t1.amdoffice.net (165.204.77.1) by CY4PR12MB1141.namprd12.prod.outlook.com (10.168.163.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Fri, 16 Jun 2017 18:54:15 +0000 From: Tom Lendacky <thomas.lendacky@amd.com> 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 Date: Fri, 16 Jun 2017 13:54:12 -0500 Message-ID: <20170616185412.18967.91559.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20170616184947.18967.84890.stgit@tlendack-t1.amdoffice.net> References: <20170616184947.18967.84890.stgit@tlendack-t1.amdoffice.net> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: MWHPR1701CA0013.namprd17.prod.outlook.com (10.172.58.23) To CY4PR12MB1141.namprd12.prod.outlook.com (10.168.163.149) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR12MB1141: X-MS-Office365-Filtering-Correlation-Id: 95551c8e-5c8f-4a31-2496-08d4b4e917e5 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:YXG0YPnDsrgUQshe8Ykwusb7r1cI9ZBlEu2BqPlfaD66paiS9nXD4xQ1Bp1V760y59bFvkMIqH6DwptJrw3nzXSeu/rdT7JUFd4sX2nLEBw847nBk17fD9CSsOGgOQUCMsLRPkPnuiSE7JoKAwOHE9olgc1ZlGh1TroMw7H7ArtyquU0UP/vOrV1ixSHJ9d4x+FQLClxTi7uAfTrB0gJ0yLkxYBxIh4UI1L8S2BNbf08FobBEitrNkF4vPEePTpW6T3pV50UuZfMOi8Uonp95gsjAhyVACulznlb4M3QHbEFMAWNy04yxQbs8stA9MUf12CQBFlwet1EAvhZe2WG4klyjDDXaL8a1ElRtuG0tWM=; 25:3u5ykNeiCKIcHBsCmE4P7j/7v5LfYizLRbgdBNAUrr86RUoknzXp3n/JiLqV82Mvk2FEg8pRD9FuNi3cRmy1GyNed/4ZDpThv7WU4ALcHOxoh74EQF7eptmLn2tHI7NRvdff612e4/dIVHldzUjDY1grWXX8bSbwZPzefhyhbRzO/jjLf9onUKFIMkkY4JMIUL60x1dbT1u2C7Hl719mibtBN4e4MnvApRxIKuKA2M9xT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DB46055B80A492EECC10@CY4PR12MB1141.namprd12.prod.outlook.com> 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)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(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?MTtDWTRQUjEyTUIxMTQxOzQ6YWV5K1hTSlc2cWEvVnVTWlhPZVh3RG5zTTdI?= =?utf-8?B?ZXhMbE54a3dnZTlZWFNFenBFNnI0WENjR2psZy9rT0tMN0lxdkRMUDdzUnQx?= =?utf-8?B?eG54emVjTm9BSTZBY0tSRk9oS054eEdXLzRzZHhtLzZoVTdySUQ0dWhDT0th?= =?utf-8?B?Y283dGxHUWVZR3RBc1phOGJJaVFMdWZmRGNCdFk0Nm9DOGprT0Z3dnVwSDRW?= =?utf-8?B?RkpUZ25STU81TGxteHE1N0FrbDF1V1VVRHFJVllkZjFGMmNURkZQY0ZNY2h1?= =?utf-8?B?QlVnWHRzeDRrMm1KaXJ2ODJ2RkJLQ1dwem1WQUhBT2VLM2ZlZzhsbVZxdXQr?= =?utf-8?B?c1V0TlpmRFdaWVFXZ3o5QU0ycGRMT004RzRhVVY3a0p3cGl3bEZXaUMwMkVC?= =?utf-8?B?YkF0STBXMWFjNDNBaTQ4RmY0dTYzQVJiOEtuTFpQb3lXczJwbklqaWNsb2Nt?= =?utf-8?B?STk2QUZ1bllYQUNC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zVhME54a2E4?= =?utf-8?B?bTVDNXRLZld1SmEyS3pKVHdpNjBUVWcrMWl3c01ob0NwWXZ0a2plV1VkZ21s?= =?utf-8?B?NDR1U25GczdrUy9hMXhQQkJRRWNDMHFDVmd4akV3eDFXU0FoQVY1c1FIM0pk?= =?utf-8?B?ZE93WndWZldObzhyUkJTaGlKczRvK1BaL1p5VGU2bzUxZzZWOFdzcllEQWNM?= =?utf-8?B?RmwyWTNNU3ZVOFV5UlYyYzVISmlOSHZmYWQ2cGZJcWZjMnpoZVdYYTBrWVYw?= =?utf-8?Q?K09+Uhr5TXFy5/opNpY?= X-Forefront-PRVS: 0340850FCD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39410400002)(39860400002)(39400400002)(39840400002)(39450400003)(2906002)(23676002)(33646002)(103116003)(2950100002)(230700001)(6666003)(9686003)(66066001)(3846002)(6116002)(47776003)(72206003)(53936002)(42186005)(53416004)(55016002)(50466002)(7406005)(54906002)(7416002)(38730400002)(110136004)(478600001)(8676002)(81166006)(86362001)(76176999)(6506006)(50986999)(305945005)(54356999)(4001350100001)(1076002)(5660300001)(7736002)(4326008)(83506001)(25786009)(189998001)(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?MTtDWTRQUjEyTUIxMTQxOzIzOnNBQlJsNFMrTEdCdHB3eFNYWVVZQkJNNkJK?= =?utf-8?B?U2M2eXJhcHZTZG1mc3EvQis1RTI4SUt3c2xUOUg2Tzl0Njl1U3VqUERBdlM0?= =?utf-8?B?OUxXUWVTazVQNHRCcEJXdlkwVXhvamZrVnJyZVJETkRlc2k4UGt4NC8rMGVP?= =?utf-8?B?NHhuaWszTTk4Q0RrYm92Y3ovb3NQdnZobWc1dnU5MDFSUVRnTW9WNVI4WHk3?= =?utf-8?B?cExHUDFE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aS1dWODAyN1NzT0NwQ2Zhc2FlOENVL3Z3MkVKbUZzUW1laTdqcGhW?= =?utf-8?B?MFdYTVN0UWxSb0VDRUxIZHBDaGtIVW1GT2FSTG1WYzRENWFQc2ZabzYrVHYz?= =?utf-8?B?RkdFU1dsd1RXcEY2ckoweUs0YVFOMHdYdDlPQUsyeUpEZ1BzVlFOY2treEo5?= =?utf-8?Q?0w2kh67?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1141; 5:fuOsE99NiePjoL6bH5X3qpx4e9wWxNNrOxdeXkdDDyMbzYm/Lzr1+P3gTtNEWqK0HBcz+WPxeerGfgG4HvDxhaJRS9uGnI/ddoWWqyHifchCwSa+ndpTYOEbbNeJVY+NUgTIE4dk96kAowArsh9DdqhlHYkty+L6n4yxa7M6aNaByvYtfhVfHe0bAmdF0jtl965m22EMX+5aap7JAc8WG2I1y20al3nedD/lQNawBkDWqlUXXDynmHZPVTw5f1kZvXl7zunRBsC4FHpEgDU8WXukCioax3bazpvIBr4/8sX7fdJBINjEyNDHNESEv/ePu8OBY9E1gPY59jB04310Y2/eVMAP0Lz2FfS0B+5UsSZ8v3kl2YVQ8I5+gxMZRnSwYLzv122m+qInVjv13qCdnbbbcrMbp0tgvs7MK+wJ8yuQSfm2TH1dFbOaRZw1BbKJm9BauzSoM6TnqeShwSEwwBtcj7H4H3kUnd7lN9c7alk4FHQtqhh/N9opoKMxU8Dm; 24:0Uy+bqqeRm3FT4SK092hRuT/X8gsPxrIOOM/+KaSx/Epm9BAjcUw4yRrBLgU0LY7CrqkJkwd3mdu8rBvheroH9sd+nmkkioCI1iQJbFMdFU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1141; 7:mdtRk2wUQSY9BmkiUPyWoqU3OcXlS037JsGR74KBZ2ho6fpHerIG6O+y5z+kN8n72wqLxRTGu81OsHqU1uL4w+SlmrJZX9SrTY2TZce9X4xwisCmLiOlfDIJfE5sJzYJ4tf38Nu41wrmx0mifHBiVJriE5gATB/fWOCa+tdtIghwFqgfQgneWa5D1cCVB3Gueo2Gu5H91WTsGf1eOszE1UbufokQXxEO5tdRbmOV/cKQGWO6zFgrq6CQvcyWXAvmaFIcTaGdm9XgMWs0JtEa690b9yhOGtH0oCKEYU8GZV8l1TYv/1Vf878zbsR0phKdQ3m5DUQZ9mG/4wg83gSsXwhxwUC/mmpqC/aYnOal9xP+bvDo46In6NDf3H/NjBQlPO3UDziINixwhzJcJcLPm2UL5BiqyzMHmvBjYjkrM9yFI0jA2glugJoWTWIoWets/bgp7OLxdrwPlSrr8VnCnJkEuKV0YWUIJjK0l0yk15m9X88/b/E3piT532ceKBbzhBuAxs9qTXD5zZzlRMItInMbMqOiQolg0P40bUl04SnmJs3sFjha7thbKa6FhrZ7KeI38Z1TgRMFgYNCJDw+qBcIk9f2j8ddOQdle3Pc+cq8J3NUiPpTH98NVnh/x6I8xWTeNHDckinp/GWU6e+St0Dcsd80XKBrPDEzMXBlXRlSC9kcc+t8F+lef4nNn/Wv4bl2a1SmqaU6kbqV+2JG96cXf8u/cLyQOMr3FPLkwyh1jq5H0ROElHT4Z02pOA1hPShd5YnxcZ9HuQt19AEh5ndo7Fg2RoG1n5/Z3S4Re4w= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1141; 20:0Ph3lLSxsiOoFQbhQjEvRM34Oi7wvwqIiBfVj+NEyS7n7yBUfc3Pzu0xwYxsb7xE2/tZxjgp++fREnpQ6dnYspVn7+ocgNTRr25Oubr68XrzZh/455JsRkLQV7zTzbL2h4Iw1yuo/Ejfou8Jj4J0nR6s16EGeMNE1D2whqpMWBSeE6v6uGtLxHgC4UHXlDRFJzyLE79p0DC+ghiB/KB79gxaD/BPJEmSUI8o9ViG44Np0BQgi1t0Gt9cGEj/Y2WJ X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 18:54:15.4567 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1141 Cc: Brijesh Singh <brijesh.singh@amd.com>, Toshimitsu Kani <toshi.kani@hpe.com>, "Michael S. Tsirkin" <mst@redhat.com>, Matt Fleming <matt@codeblueprint.co.uk>, Alexander Potapenko <glider@google.com>, "H. Peter Anvin" <hpa@zytor.com>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, Jonathan Corbet <corbet@lwn.net>, Joerg Roedel <joro@8bytes.org>, Radim =?utf-8?b?S3LEjW3DocWZ?= <rkrcmar@redhat.com>, Larry Woodman <lwoodman@redhat.com>, Ingo Molnar <mingo@redhat.com>, Andrey Ryabinin <aryabinin@virtuozzo.com>, Dave Young <dyoung@redhat.com>, Rik van Riel <riel@redhat.com>, Arnd Bergmann <arnd@arndb.de>, Borislav Petkov <bp@alien8.de>, Andy Lutomirski <luto@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Dmitry Vyukov <dvyukov@google.com>, Juergen Gross <jgross@suse.com>, Paolo Bonzini <pbonzini@redhat.com> Subject: [Xen-devel] [PATCH v7 23/36] x86, realmode: Decrypt trampoline area if memory encryption is active X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
On Fri, Jun 16, 2017 at 01:54:12PM -0500, Tom Lendacky wrote: > When Secure Memory Encryption is enabled, the trampoline area must not > be encrypted. A CPU running in real mode will not be able to decrypt > memory that has been encrypted because it will not be able to use addresses > with the memory encryption mask. > > Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> > --- > arch/x86/realmode/init.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Subject: x86/realmode: ... other than that: Reviewed-by: Borislav Petkov <bp@suse.de>
diff --git a/arch/x86/realmode/init.c b/arch/x86/realmode/init.c index cd4be19..d6ddc7e 100644 --- a/arch/x86/realmode/init.c +++ b/arch/x86/realmode/init.c @@ -1,6 +1,7 @@ #include <linux/io.h> #include <linux/slab.h> #include <linux/memblock.h> +#include <linux/mem_encrypt.h> #include <asm/set_memory.h> #include <asm/pgtable.h> @@ -59,6 +60,13 @@ static void __init setup_real_mode(void) base = (unsigned char *)real_mode_header; + /* + * If SME is active, the trampoline area will need to be in + * decrypted memory in order to bring up other processors + * successfully. + */ + set_memory_decrypted((unsigned long)base, size >> PAGE_SHIFT); + memcpy(base, real_mode_blob, size); phys_base = __pa(base);
When Secure Memory Encryption is enabled, the trampoline area must not be encrypted. A CPU running in real mode will not be able to decrypt memory that has been encrypted because it will not be able to use addresses with the memory encryption mask. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> --- arch/x86/realmode/init.c | 8 ++++++++ 1 file changed, 8 insertions(+)