Message ID | 20170627151036.17428.14824.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 50CA160351 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:13:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EDC2286CA for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:13:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7315C286D5; Tue, 27 Jun 2017 15:13:08 +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 B6FBD286CA for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:13:07 +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 1dPs8e-00017D-4F; Tue, 27 Jun 2017 15:10:48 +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 1dPs8c-000161-Jz for xen-devel@lists.xen.org; Tue, 27 Jun 2017 15:10:46 +0000 Received: from [193.109.254.147] by server-9.bemta-6.messagelabs.com id 7C/6E-03557-67572595; Tue, 27 Jun 2017 15:10:46 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1VSXUhTURz33I95NRfHzfDfTLNlmOb8erDoIQr Ckj4oe6gVkXfttg32xb0z5pvVchWtwrBopJkm1sQiA5WiMEFKnVlJk8wHWwYpSFipiYnd61Wz 8/Q75/d1/vBnSJVHoWE4t4vj7axVq4imzFlpuTpXcaE+u21oy5Z747XUdrS749kMcQAdpS12g 8NdRJu7aitpp1ftHvzxOrIUXcSXUBRDYQ8J3geGSyiaQfg6gsb+clK6qHAZAa/OvUSSSoEzID T2i5CwGuvB9/mCQsJxuJqA8A0sGUg8poAXb4LzBIHXQHVNHSlXbADvzQu0hJV4N7RcCVASjsI FcKciNB+qEt+D088jJbwKJ8GDPs+CPhY6bw2LekYsSINHT7OkZxKvhZax2/PxgJOhZWpKIf0B sBdBb/skLWemgP/n20hZlAgdPbfncwDvg29VcTJcD12e/bKijoDx2h1yjE8Bpb39C9Z0qKmfV sg4HAltTQWyKExDwD+yUNxMQbWvipJVVugfmSMX8eVwKy3jIA2zsy7Z0BoLHXUf6GtI5182qP /foP5lg1YjMoA2Chx/muN1uZszDbzFZHbZWItVl5Odl2njBIE1cVbWIGSedNiakLgSEeJpRbW NB9vRaobQrlI2QKFetdLgMJaYWcF8gi+2ckI7SmUYXNNx9pCGsjvsnBaUZS5RFstzJs59ymIV V2xRCUyMNk4Zcoq0UnCyNsFikqkutE4Tr8yTfFgizMX2Jdvicr5HiRq1Eol/UsU4Od5mcf3Pj 6J4BmnVyruCmBJjsbuW0kfFYkIspqoOSMUu9h+lKUV5fbwp8b5xm6q8cFAb6lZ5kjon1rKTex PKw+eDA2z6w8MOX8WwTf9n09cU+5ES5/ixXca8mY8RCaEvDe7HE1/aEuaYnb/L9nxfsVUI6mt aof3KmSyGyujV9HTfzUwNFNW/U5+lhzYnB/NXGI2xSc1XoZJvrjv+aeCJKX9Q3aClBDObk07y AvsX2nBlnpcDAAA= X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-10.tower-27.messagelabs.com!1498576243!86500773!1 X-Originating-IP: [104.47.41.50] 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 17735 invoked from network); 27 Jun 2017 15:10:44 -0000 Received: from mail-dm3nam03on0050.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) (104.47.41.50) by server-10.tower-27.messagelabs.com with AES256-SHA256 encrypted SMTP; 27 Jun 2017 15:10:44 -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=jivMmWEEwI0VgQ1j/wFmHhwW7Rju8+2Vc6JYPSul3S5FgmZlCGb6h6Wdk1LaonQb95O47SZw2O1Cwsf/kPIx1liDCGDnqStB4tNFLny6t/neMETSlPV/LL2YhmhZ0tjuY/qiIlvTM8p/iU10t8Ja81z9E6V22q0j/ZiGGmGsWak= 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.1199.15; Tue, 27 Jun 2017 15:10:40 +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 10:10:36 -0500 Message-ID: <20170627151036.17428.14824.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20170627150718.17428.81813.stgit@tlendack-t1.amdoffice.net> References: <20170627150718.17428.81813.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: CO2PR05CA0055.namprd05.prod.outlook.com (10.166.88.151) To CY4PR12MB1141.namprd12.prod.outlook.com (10.168.163.149) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7317fb4e-34b0-4eeb-0293-08d4bd6eae14 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:CY4PR12MB1141; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1141; 3:sHKrbfnNt4E48ZXXGj2U8UgiwYbE0UMOcJtTsp3j3E76SHgmnTJT+ugHHL8w5OTijgkV3sBQY/KnHDCWYye9KYqMhcqJV3BeRk+ZrxOtK85g+3dzojCBorUE6tH93kxna9cxSsF6HlRZfVDjq4MFoV9NG9qEN4i1eAT54FFDgHu0a6yJFPJhmXeSNbfEyFu/5wD0rkW1rz7WFXoJNd8YEaIt9sp/XYvYQYpvv8M6kFTfm+ERPaUr9pDaUAuBBZwsuViSXEur5XSzmHmRPic7j8IS7KGB8pChifkXbwa7VApD1amfvfpBbyXcJ7GhQy1S6J7xfh6W/JxW3Fxpl1jxSqqEvw/7uTeYUJowj7G982w0QuwN69XK+vdB9elw1VRWpa7U153iI9k4ZXTigJeWcAZMVfbbzVqImZwX5z5FhKi6VLX91D91NSAW9duqlpMwULwuYvbOY3pp2UG69nrPiDWE+XdMhw078OhbW22oLmBtpnD+VlReahuvdWUXhJlSC7GXdWrglh04Em+UUJtMYtzukv4fACNCgfnekySM4oBM12zwMkCMEe8Ellc14kA4biWl0y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ZLctSCIZY7LfQIXNNIfHaYziBUwLtE0DiPYkScVxVt25Ru8S4xw2idGix7D0UUUYWqePdv3NBn6KLLivwL7j7JJhkcvI5+keEr6MZtzxs5gN/5rf0zbQfpb2zw4mtwdFuQmqoPsn18o11qtVtCmrWXSc9F7Y6W1RRLqqddReyGToEEuqnje1BWv5uDCETRuo0gBbgjY7BHQR+dpnqbfrKS//xGAGNfgBu2aNku3+YDWfDNeA5IomTnQZPIG9F5Au3i9 X-Microsoft-Antispam-PRVS: <CY4PR12MB114109886950F9090450D40EECDC0@CY4PR12MB1141.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)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(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?MTtDWTRQUjEyTUIxMTQxOzQ6WXVweDBXb0VzQ0dyL1VtMDVEN2xlV1NqUzlO?= =?utf-8?B?cnZiZTh5Wi9vaUJGUnpHRklCbE0yWWdLS01NOFo4M0Zad21DTjJacDdZQU1i?= =?utf-8?B?UHR1bW90K1NFQXJ0Z2s1cmhQL0VJUHkxamJ6eC84VUtsV013c0tiRjhSSC8v?= =?utf-8?B?Z242bnVJM3ZNK0ErVzdsQ2lyeG9GRkYxWFRxOUs3UlZiUHZTV2lCcEk4aTI0?= =?utf-8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MvbHZLc1RXL21vTXVWdHJ1?= =?utf-8?B?RXNJUmcyRERqV0p0RzAxZ3J6N2x2c0lDdFJDVmlaN3MwNXpQNGRpZGxiK2Vy?= =?utf-8?B?V2RmRTlpQy9rTnM5dXBOcWtUcGVWSGIvVEZ3ZjdBSTY1Z1djSm5jak80cDBr?= =?utf-8?B?ajBqa1UzTFl3Y3VTWDk5OWtGZnRmNnVnMzJ3Si9EMEFtQ0FmNDcvREJzZElC?= =?utf-8?B?WGF4ZS9ITUxYVk93YkNERTJBbkh5VnFlKzZScTIweGlIU3U0SmxSdi9VSWF5?= =?utf-8?B?WE45bnJEVVgwZWI5Y3o3RzNlRXlKbmtTc0Fkc0cvMTdTcWFvcmUvTTNXQ0NK?= =?utf-8?B?cEtHSW5LbmZScEJYcHozOXR0dEZmR1M0RUhhQXFxWGJBSEs1eXVWS280d3NW?= =?utf-8?B?V3E0MWhQdHRPaWEybFU2aVBXSzJTRVJJdXErRStMSWl4SCtjYk1PcDVsamZF?= =?utf-8?B?bnphem1MazBkWlI1M25MTTgxSHlQMTA5RG9IYjFKenZFMnNvRnNOMitaOGhx?= =?utf-8?B?eTd5ejF3YWJaVkQ0SkVjNC8vTXpIcFdBTzNscVJHK2hDZW1nNTYzZXZOeTZX?= =?utf-8?B?TGsxK29YWDZDOGJYRjI3VjdJQ2p3YkZHZlplcXh2OVdFdndVYnhaTzlkNEVt?= =?utf-8?Q?v1H3RtkKqdgcRes0WlHshezu5agRJvtW5NNU=3D?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39840400002)(39400400002)(39450400003)(39410400002)(39850400002)(39860400002)(103116003)(53416004)(97746001)(47776003)(42186005)(66066001)(50466002)(72206003)(81166006)(33646002)(7736002)(86362001)(15650500001)(7416002)(7406005)(6506006)(5660300001)(305945005)(23676002)(8676002)(53936002)(9686003)(55016002)(2950100002)(6116002)(54906002)(6666003)(110136004)(38730400002)(76176999)(2906002)(54356999)(83506001)(3846002)(50986999)(4326008)(1076002)(25786009)(189998001)(230700001)(4001350100001)(478600001)(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?MTtDWTRQUjEyTUIxMTQxOzIzOnMvU0p2TUJ5cnBWKzdOZTlMQ05RTmRVenhn?= =?utf-8?B?M3NsWFlhaXV4djFqTm9lZ1o1cjRKblJoWEY3WXBFUlpNaWNCQmlsYzBGVmVu?= =?utf-8?B?bHZLeGlVVkxDVVNxa3NSanhlY3VHbXJUQmNncnQrc0pacXVsYjhKeW1xUXJR?= =?utf-8?B?T2x4R0dCVzhhRElCVkdsTGUzZk9nN2dDbWRwTkhpdXdYeU8yWHdGNDdGakdZ?= =?utf-8?B?NUZWZWxUK0pPS0lZOUhCSVE3QytiNm9XUFZmdlZiQ0RvUW5JMC85U25RWmxw?= =?utf-8?B?QXpDaXZ5VHBVVjBSMXdUa3FIZk84WXdqMXdPRTVjc0g3VGYxMko2dy92U0pI?= =?utf-8?B?Y1M1d0xlQm9HekhwSlc1S3JWTlRRVWQ5dzEzWXViZCtEdEFoQUxkcFVhNFR5?= =?utf-8?B?MmgyS2ZMZnBvR0lLTHltc05FeU5VWmlheGJSK0wxRVVuZ2lBb0RrZGV1ZjZB?= =?utf-8?B?UTFWN1lyTE43ZHBmanU3U3JjNHgvVEVkZ05ManJHZGxOVVFwL2ZTRVVUREJ2?= =?utf-8?B?NytoVkxxR3I0V1I3S1hPTnpFSHlSQVBPbjZSaXFGc3Zvam1DOVJkM0RBVmx3?= =?utf-8?B?M1JkNlVENGZEMWJWL29PSjQwRTIrTmZoUnZqZHdmSCtyWEMrSWNIQzFCaVcr?= =?utf-8?B?bTB0dXlyUlgzVzIyaUtlTXdTaTBNclB2dnhEZnc1dzJLWXZTRDNkMnMxd2Ey?= =?utf-8?B?cFdxWkZrU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w9Mp9qsjLSaYiZULJT4ERWxxXsM7MpErpAAKnoxMik8yCI6v9bg1GX6Itf2SsG2OPxsJJjb06HdOTqFNqgkCcgolKWWDz9JlGSz2BayQaAll9ibsSvNOMIgy83RUMczmCjPY6FbgEbb/+sj3pRNh82ybHdth0VHjexASA07700sfr3I1T6B2bOBD0g5xGAK50F0TAbWZtcb/5pDZykY2y4YumZ7mCo37w= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1141; 20:mwSAz0nV4GRqbb6tXBrDGx5skEHIYLLnY87mkJepEwpHdiOZDGhtvsSqE3H9FlZ4jy4xZfwYGKZF95cucZDondxdAXn1Nbi1dwJwpmFUC4LjCPy6cSrLnUxmUyQBbUxf80MYKQS27FAudNmO7geNPsS6tJSuNISoxLRT9/lH9GA2bPMbp9SS74475yW4lqKW75Sf5GN4eacSfqZ4+YdNjGaF+EFhz8oBiaACacJZQ+kq5lxEFWh1MKmnm1jIVK1n X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 15:10:40.3025 (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 v8 RESEND 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; }