Message ID | 20170627145922.15908.65516.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 EF7DE60351 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:02:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75567280B0 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:02:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6906B28111; Tue, 27 Jun 2017 15:02:04 +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 BD2E027FAD for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:02:03 +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 1dPrxn-00049A-GT; Tue, 27 Jun 2017 14:59:35 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <Thomas.Lendacky@amd.com>) id 1dPrxm-00048H-Lx for xen-devel@lists.xen.org; Tue, 27 Jun 2017 14:59:34 +0000 Received: from [85.158.143.35] by server-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NVCCjc1cSfIC+xcaUUHOlwMAAA== X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-16.tower-21.messagelabs.com!1498575571!63936448!1 X-Originating-IP: [104.47.34.48] 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 4055 invoked from network); 27 Jun 2017 14:59:32 -0000 Received: from mail-by2nam01on0048.outbound.protection.outlook.com (HELO NAM01-BY2-obe.outbound.protection.outlook.com) (104.47.34.48) by server-16.tower-21.messagelabs.com with AES256-SHA256 encrypted SMTP; 27 Jun 2017 14:59:32 -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=OqZ94pG0MVlz+MPUAth3J5xX58Y7/VA2nt9nth04rGA=; b=mj1qg6x/xb8hVvnWYoY+zUoPauOwrSFufN4NxDzKYTTTP/CcOt3G6zP7z1XOEAszcgwJJKUiH09mCE91FUNZ4qKlDkLG3q+OpSwbFzDShb7LG8AhJRAukuYRREPk5yBE679cRJbbnrHcIpe0eTbzLr4Iifsn/ytAH42RY12P/Fo= Received: from tlendack-t1.amdoffice.net (165.204.77.1) by CY4PR12MB1142.namprd12.prod.outlook.com (10.168.163.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Tue, 27 Jun 2017 14:59:26 +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: Tue, 27 Jun 2017 09:59:22 -0500 Message-ID: <20170627145922.15908.65516.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20170627145607.15908.26571.stgit@tlendack-t1.amdoffice.net> References: <20170627145607.15908.26571.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: BN6PR03CA0027.namprd03.prod.outlook.com (10.175.124.13) To CY4PR12MB1142.namprd12.prod.outlook.com (10.168.163.150) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7c41c568-cf12-4722-886e-08d4bd6d1ccc 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); SRVR:CY4PR12MB1142; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1142; 3:23xLNYUme8xwi48/xT/ciW37mehEwySIgq06bPP051lAQLE36KYMTUkPFjF/DLnVOleSQ2IG9uHTc4LcDsrAG/l4RM3lRDAkgPvhr54mAayr6XkDpFnFCdK9aDt+8HT6CirxD6VSkyMcyRpYDwwafotEt2+EOiM7yRczhxqe35lS8BSB1tQNkIKNCDFIWxVg0t73w1a19FjXvbSYoaswpP1tLvIamoUvbaeV8bStsKYlRXLfiSmStrintCtUgJas4eC591+1pUVYndUAymZsS4I3EeY6Vu9b/T8lnC2pr8h21ZlLqC616XUmkBHqVkOI2I4jxEjhRTAWjdxLLJeOeA7SMoOl6YbylWcVC6LoCSV368OkTgEJWuov9rbAGnmDQyOs1lZI1jdXH/msPdMrp+AOh5+kxjr/gLoqnhwpzLmAqU+uYnk3lPal82vNyJgcGK0nx9WJ1GLSt38TTiCbttWC6OI+f2XlAaL7Jo0cHHfrcUpFaJlchvBDJoJ1htCQWSsRFP5aD6WRoSUmdLVE/QhXn0Xl+ZqIXe7DxKhamVCWGdTzrmBd+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OvJHPBPUzdK0B25eegM66Jdtb7hAYwrJVue/+FJqdjV783IP6a/9LzFljRBZTkYfYFlZjpyaTYweiyk6DOMQBfKa9hQwkKzztrZcXm1SbX/gqAjS0453J03btFYhFZYGcub+/aF5/OwjiZPq3w2162XsxYgwbRzgu/MnFDHKVitxH3rQbhG573nCW/vr1XCzGRTT8IJTy7hioOXSjlGxQZHdqUGgCL/V7pMZ66fdVbKjtltrqC5KqyKJGJzmFUjfTRDZN8oCmwuhZJNbiK1pt X-Microsoft-Antispam-PRVS: <CY4PR12MB1142889CCBFB38460D3AEC30ECDC0@CY4PR12MB1142.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(767451399110)(148574349560750)(167848164394848); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041248)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR12MB1142; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR12MB1142; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQyOzQ6aDV0OTVMcWF5cDkraDF5MGg3WGhpSUtYci9V?= =?utf-8?B?TGZnaGQ5UEZHVnhIOHZ4R0k3b3NOQkNBdXRxUU1OSDZkVk9RV04yUGRGeTda?= =?utf-8?B?NHZNN3FUY2h4OExlU3RVVW9zRXhyR28yeUdoK1VHQ0Z3RTFTdkpxVnQrZGpt?= =?utf-8?B?SWlXckZBRkIycGhaekhWTHh4VmJ6V244cExaQVdEWDNOYmdoME5o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JsaXh3czc2UnduT2M0YXlKNmV0elhib1BD?= =?utf-8?B?Z3V2TlJsNjZsN29CRnY3dktrR2VYRlk3UWpieHBSV1Q0Uk5PcmlmeDZSUGZu?= =?utf-8?B?VnVRRmJoQ1lBKzRVNy9jZnJBZStTRkRBQ2p1SXBrT1ZQSGZiRUhyOE04c0Vz?= =?utf-8?B?c01xRDdrQmRGaDV0Rzd6bG5FMkQvL1pMSVE3bzluNGx6cVQrSHc2d21VczQ1?= =?utf-8?B?RFN4WkMxcCtrR2FYa25idHZCWDdxTTl6SkZsQ1l6QjQrSE53S2FSbXZ5eSt6?= =?utf-8?B?N0ljNDVxNEgyZGdXa0JWcHo2TWs3b3MxU05sVDM5TVY5QXRQRVhSOEdGTjlD?= =?utf-8?B?S25PQ3gvZUlwQXRGVGJBMVpodmVRckRkdXNWWlEzeUVOYVJoOEd5ZmhTcXdV?= =?utf-8?B?MmZFZkFxSEhpOVk4b09naWVTblJZbmJxVFhOM0VJRk9KLzdDS2tPQ1VPblNY?= =?utf-8?B?OUdHbnBGcEFiNFFFTGMzRzdvZ29BM3FtaU1yY3NabTVEN3ZhcjdTaC9zRXpF?= =?utf-8?B?eGU4eWtJZDhDSm1CRHhLNGdKQ2FrZUdYaWNXeW5EZFJGM0VLa3htYnh1cll6?= =?utf-8?B?WTczNlp6ZE9Pd1RzbmVYYjhGcTFTWVVzcEFSS2N1eEkzZTljQ21SSGZFSHEv?= =?utf-8?Q?5jxLmqbt70KYCls9RzI1KlacoDSK8qbc2cfo=3D?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39400400002)(39860400002)(39850400002)(39450400003)(39840400002)(83506001)(23676002)(33646002)(50466002)(478600001)(25786009)(53416004)(4326008)(42186005)(50986999)(76176999)(103116003)(15650500001)(72206003)(305945005)(54356999)(38730400002)(6666003)(5660300001)(110136004)(2906002)(47776003)(66066001)(4001350100001)(7416002)(189998001)(1076002)(55016002)(2950100002)(7736002)(53936002)(9686003)(7406005)(86362001)(6116002)(230700001)(81166006)(3846002)(97746001)(8676002)(6506006)(54906002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1142; H:tlendack-t1.amdoffice.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQyOzIzOlVaUEplWUlRdE9ETXkrcG9LRXBkV3BtaWdY?= =?utf-8?B?eWQ2R2FKNTNBeHhMdFRCdEJVTVJUbnlNa0RyNndhVmlUZ3QvV29jOE9KQ1Y0?= =?utf-8?B?SERZb0pvVVZ3VmVCWlBuS0RhYkxEUzBpN1VyTEozNjdmVkxGaTcra3Q5Ump4?= =?utf-8?B?bEVuSFVTemt0dzhpbGJscURDKzNXSFJJOTN6TWdGQ25IN2dJRVVHQkZsQ0ls?= =?utf-8?B?Y3FWYkJsYndzbS9KM0w0Vk5hRjh5QWI1dUFTN1pSSEJQWFBub3NJdW1HMjVk?= =?utf-8?B?bUNWVTJRNnY2d01QRE5FZVJ5UTlFbjExTVYvTC8rNGVidlFWZzFvNGpESkt5?= =?utf-8?B?Mm5zaTdsR2N5S2hGVFN6L0JTY2RsK0Vqb0tXZFRMajMyVUxoRWF2enlTZ01s?= =?utf-8?B?NGgwSHRSVWsvZFBFajd6YVA2K0thdHZ5N0J4R1Y1bjJyZEtFOHN3UWVLOXhl?= =?utf-8?B?VE1rNW9vN2RDbnRGcm5tcE1pb3c5MUZCZnJmRUM5cm5VdWlRT042WXltemlU?= =?utf-8?B?TlB2UWN2cjJ5OE1tekFveXoyaktWMVJiOTFzZTRvS2Rnank0enNJUWtpMmRx?= =?utf-8?B?YVArV3ZKelRtZDcxNnVDdFBpaFlBMy9hSDJNeUZaTEg0cVI1WElRN3o2bFVr?= =?utf-8?B?ckN2L2tCOWpGWkpqY2g2RXRsUkljcmluNVJ0WGFla2paWmRUaVFZdUFJT093?= =?utf-8?B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MZgbnQDxakWaP8aDvR3KHjhT93RiPQEgkDCn5/9w/BYXIgXsyCDucagspNnNZHfrt701SenYzZUsRm/7rFHWet72jS+bNhOIxgh1/jM/9H6cAUAFtmFxPBePqJng/46i2Jktixq68HFKAPcG+yfnDGd8fgI3E5h7G1X3yTZxNPYCpbFBvn6OF4CDdKoTxUYEjwwukJmwlLMGvtPZErIVoIp+UDD7N08S0jUS84kUr4Ks3lPGM4HVI= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1142; 20:VsQMk78anCBMQM4JIqKzjvAHFZuzzFMUskFQZKqScp8CuDlCQtuKW+HthgI05oZ8IP8BDUibFpznDAMm0T5vjfuJR7GofFOVoOI1Ls6KS6PXcHKg+L0Qe7RuSWPP5KC0dEIc7Ae1H3gut2RTjQnbnWklvp0C0MdRp2xgs3dApXczbcGb8wZV9mrBXb1XICNw/iwxNsvZtoOwu71ovE0xoy/cymK4hqAJNMHKCH6D45Y0tHYlq3Ex/Uo1XsunlxiF X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 14:59:26.1927 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1142 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 v8 18/38] x86/efi: Update EFI pagetable creation to work with SME 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 |
diff --git a/arch/x86/platform/efi/efi_64.c b/arch/x86/platform/efi/efi_64.c index 9bf72f5..12e8388 100644 --- a/arch/x86/platform/efi/efi_64.c +++ b/arch/x86/platform/efi/efi_64.c @@ -327,7 +327,7 @@ void efi_sync_low_kernel_mappings(void) int __init efi_setup_page_tables(unsigned long pa_memmap, unsigned num_pages) { - unsigned long pfn, text; + unsigned long pfn, text, pf; struct page *page; unsigned npages; pgd_t *pgd; @@ -335,7 +335,12 @@ int __init efi_setup_page_tables(unsigned long pa_memmap, unsigned num_pages) if (efi_enabled(EFI_OLD_MEMMAP)) return 0; - efi_scratch.efi_pgt = (pgd_t *)__pa(efi_pgd); + /* + * Since the PGD is encrypted, set the encryption mask so that when + * this value is loaded into cr3 the PGD will be decrypted during + * the pagetable walk. + */ + efi_scratch.efi_pgt = (pgd_t *)__sme_pa(efi_pgd); pgd = efi_pgd; /* @@ -345,7 +350,8 @@ int __init efi_setup_page_tables(unsigned long pa_memmap, unsigned num_pages) * phys_efi_set_virtual_address_map(). */ pfn = pa_memmap >> PAGE_SHIFT; - if (kernel_map_pages_in_pgd(pgd, pfn, pa_memmap, num_pages, _PAGE_NX | _PAGE_RW)) { + pf = _PAGE_NX | _PAGE_RW | _PAGE_ENC; + if (kernel_map_pages_in_pgd(pgd, pfn, pa_memmap, num_pages, pf)) { pr_err("Error ident-mapping new memmap (0x%lx)!\n", pa_memmap); return 1; } @@ -388,7 +394,8 @@ int __init efi_setup_page_tables(unsigned long pa_memmap, unsigned num_pages) text = __pa(_text); pfn = text >> PAGE_SHIFT; - if (kernel_map_pages_in_pgd(pgd, pfn, text, npages, _PAGE_RW)) { + pf = _PAGE_RW | _PAGE_ENC; + if (kernel_map_pages_in_pgd(pgd, pfn, text, npages, pf)) { pr_err("Failed to map kernel text 1:1\n"); return 1; }