Message ID | 20170627145956.15908.64000.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 411A460351 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:02:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58D5C27FAD for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:02:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C30C28111; Tue, 27 Jun 2017 15:02:55 +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 9BE3328401 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:02:54 +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 1dPryG-0004oJ-HT; Tue, 27 Jun 2017 15:00:04 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <Thomas.Lendacky@amd.com>) id 1dPryF-0004eI-Ri for xen-devel@lists.xen.org; Tue, 27 Jun 2017 15:00:04 +0000 Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id 3F/B9-10689-3F272595; Tue, 27 Jun 2017 15:00:03 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1VSaUgUYRjeb2Z2djSnPle3Xpfs2A7TWleLrh9 B/atIM4PKRGrWpt2lPWxmjY0opbZrycqCKLMUj8IygkyNSqlAxaMIJdMfWtomKhia0dLdzI52 /Hve53if74WPIbVeWs/wHjcvODm7gQ6lrKbYNcaPQmpaQpMXrSobK6XWovUNj74RKWin2uY0u zy71dZ7HT81Wb3Y825IyEV+1odCGQp7SXhbP6qRB4QvIrjz+gIpD1p8goAPPb2SEsLQeAl0jn wiZByBt8Pg+89BPhIXE9B/CcsBEo/QUP+ijZYFAs+E4pJyUsYUXgCV1deCmMXr4WJpTdATgjf A2YEnQV4r8XlPx4NLdXgWVHR41Yo/HJqv+CkfYqSCWLj70CTTJJ4NtSOFwSjgOVAbCNAKPomg rDFOWTkfCsZfahQ+GhqeF1IKToK6+x3BlYDnQYs3WaHLCRgrXSefAjiPBr//6oQ/DkpufqEVo V8DZ472Tw5qOF3SPdFcQ0FPX4yC7eBrfjzxunT43nROreA2Nfz44VbCIxg6q87T55Gx4J9DC/ 4eWvDPocWIvIUWibxwgBeMS1fEmwWbxep2cDa7MTFhWbyDF0XOwts5sxif6XLcQ9KXyFGp0AO UW5f8DEUxhEHH3obUNO1Us2vPQSsnWncJ2XZefIZiGAaXNBzdqqecLidvALZov2QLF3gL79lr s0tfbNIJTJghku3MkmRWzOIcos2iSC1orn4GK8g5LAvWbOef2OTnbEfR+ggWqVQqbVgWLzhs7 v/1YTSDQYYIlnZJW8JsTvef7cNSMSEVU9dT5GI391fS5yITd9ucsGNw+uGTp1c+Tos6i49fJv Ld+dypoqqvFUMHfSsrVTM1ptHMgV/DfQv1N6L95uWaDUkZgcOtgZyM7m903uBX3aPYV3empbf u6zqe331kN7m40X7ItHHWlGrHm6ptXctz7OPH5lc6T8UXGlldjWtA11WREaVu32Jq2rR5dYyB Eq1cYhwpiNxvHIY/GZcDAAA= X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-5.tower-31.messagelabs.com!1498575600!102768198!1 X-Originating-IP: [104.47.41.61] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG X-StarScan-Received: X-StarScan-Version: 9.4.19; banners=-,-,- X-VirusChecked: Checked Received: (qmail 20650 invoked from network); 27 Jun 2017 15:00:01 -0000 Received: from mail-dm3nam03on0061.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) (104.47.41.61) by server-5.tower-31.messagelabs.com with AES256-SHA256 encrypted SMTP; 27 Jun 2017 15:00:01 -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=Tdm8sJu4z3Rm3mCabNbWHIQHfatUOfY11Jez04zSN1A=; b=MtjLs2/Cj1s0SnAXtgSnkhK++G1b4KomiY7rwNECdnR130tXJjHXAskv+nigxT458m56oHCGwG5NQHUSo3+xuPb/WhK/Q0vH71oyexsiJj69V+3JTuBDlBM5LceG/RgGfTbYjPPTxEzlxr3FqlcRaHiDUXvJjo4uiKPGXD1elX0= 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 14:59:58 +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:56 -0500 Message-ID: <20170627145956.15908.64000.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: DM3PR12CA0064.namprd12.prod.outlook.com (10.161.151.32) To CY4PR12MB1141.namprd12.prod.outlook.com (10.168.163.149) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 170046b7-7d59-4827-b51a-08d4bd6d2e68 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:eYIh7vu0zmPZoeVmQa7Ex6MFelOvc6xOUbWKpXAB0Tt9uU1+JcJ8I6MsHV8j9dXgVGA8vQw0Y3pVYzMEGjHBL8GsrNmLWrmLzxkXWmP46aStS9SqDQxwgwP/8zwGfBDq/nKlXz3aHyftpJlmTrpl4FAUDfhe026HXTufA/kNcYW7W2C+Y9yOPD+nIJ0Yio+PLGzJafdYx2ncpa/BkqdyfE1+Z1lsYevB6XHsRdKq9yEAvytki5HrQn7Rqja6JgBR72K99H5l8IKRI1khZMVcqv1Yw6FWhhGE/cMY9I15R1+rNbH/LBpnl4iRsT5jzLTuiPqz30gMzxatLa2PpEcEnmLmDRTqMM+9BWyNYfh6bK4gDPkdcqx+WZSOi89eXBCOskPHrnuqELKJSKDmR2xHkvH9EYOcM/R9XKKr/E0BGeUgZYNlBhGL4aBDWa0MjlwXBJvBFC6revnJhsD1Qn3sZplJm1tdhwfJpfike9mQB9IATTXOPL59jCkiPqzZHc+ehxRMhHsJt4EDzVEEI8hunh4y9oNtaHBx0U1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5+oIKATgVb7xgS6YAMqNM3Gng7NDQv+8OMyGU5Veo1iy67hNQAaqVFUzTgkGbxnuJ4NncycUKaOA4luYkot369g4Yk6xXZefXqqfzHSnEU4OHs8mpFaVu3SJfxiGhYlqLIBskWaiA2BZQ+6KsW5jhMuLv/bc7zMrMGqofssPCxegeBhWnd58jDQ8opTG10XTjmPRL2Rabm8OGCBxLKYhZeNVvY4NEVvGEs4HzsWne8kjXd3T5rg8pBzF/VnCI5B+4Dki2cTooYhIFHy4oBBVSY+pysNkLtR/3weJX47dnCKoRaep/Xqm X-Microsoft-Antispam-PRVS: <CY4PR12MB11410AF469C368993EA8B49CECDC0@CY4PR12MB1141.namprd12.prod.outlook.com> 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)(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?MTtDWTRQUjEyTUIxMTQxOzQ6eWt6eHFsYlkySWVLSnF0SURSM0dJcFd4eDZk?= =?utf-8?B?WE9vRE5aSnh0QjdDRWFRUEJ5VFljaEdUTzM3b09JZmpHVm9oVVEwVXc5bndo?= =?utf-8?B?bHlaZm0vSm5mMFZQS25YclFwUlBObGJRTGgySm4yWndOekd0YzFEcUN6RVBN?= =?utf-8?B?d3FtajVLNEtnYlRzOFRBS2wzVjMxTEt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xT2szclgzWWR3MWVrTzRGOGdUcUJLdHoyOGVuTE91?= =?utf-8?B?djBna2ZpK3NiYW02ZWtySjlYRVNpK2xFNEc1cEdZcHNKSDFuYUV2b2dPWUpL?= =?utf-8?B?Y2t5S2wvM014c0R5N0pqQWxUVC9mVDRPOEY0VG5wZ29zN1U3MUljZjNNcG1U?= =?utf-8?B?N2M2OUhzdHQxOWFKUExkL0N3ZUp5R3hCZlRVRFhpUEMvNVc3Q0twU2xQWWp3?= =?utf-8?B?b29ZaXY0N2ZjenQwVDVJL1pkRnRJeWJlalVCb3ovZ1BORmMzcVU4K0EzY1RP?= =?utf-8?B?dDJyQUo3Ty8xTzRhMUNEV1dtUjNCRmFyc21lelBxZVY3ZW1UR0E1Vi9iSktZ?= =?utf-8?B?MTRYdVlPNTNja0llTFZoUlJzV1ZWSnN1UlR6aGN2NG96dTVqQU1lMEJIc1NW?= =?utf-8?B?eTR5c0k2TzlMNTNNTzBZQnFFR2dYYzlHMkZLZkhuVG13MUV4eTBpM3ZjOHdu?= =?utf-8?B?akEwRS92KzlaK2prUStvcVJaMUhRc05vWitIRW4yVGdNeEZyRG1pMWdzWWgw?= =?utf-8?B?MW1palFFSnlGNlpGVU40UTZHc0xTcmdMVjR6R1VUYTRMZnZhRk9xYVk2aHhh?= =?utf-8?Q?f2sFkKLxTXn1kbnAiR09O8jidvG/6aI4yUIUEe?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39860400002)(39850400002)(39450400003)(39400400002)(39840400002)(54906002)(9686003)(2950100002)(6116002)(55016002)(83506001)(110136004)(38730400002)(2906002)(54356999)(76176999)(23676002)(53936002)(8676002)(230700001)(4001350100001)(478600001)(25786009)(50986999)(3846002)(4326008)(1076002)(189998001)(81166006)(33646002)(7736002)(103116003)(42186005)(66066001)(47776003)(50466002)(72206003)(53416004)(97746001)(5660300001)(305945005)(86362001)(7416002)(7406005)(6506006)(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?MTtDWTRQUjEyTUIxMTQxOzIzOkRtQStDV0JpKzRId3Yvb2RUa1BiZjVqbEZJ?= =?utf-8?B?aldsUnF6RzFFUU5TM2hrWWxRemtJRjRPRzVySnY3dEYwbzhkYnpGM3F2ejBB?= =?utf-8?B?VlFXdFpNT0IwQWozT1dkNnF6NGJvNi9FTGhqcmwzVGNhQWkvek4xTmhyeVZW?= =?utf-8?B?WkllODVGd1JQbUZyZjlEVEdCdi9jdjBpMllxWVJXbjdCRUVSdkY1cERIY3Nq?= =?utf-8?B?bm9SMzl4ODdYam95L2I2UmVYWEFHYXpNd0J4RlhMNG1ZT2RYQTVYNytQdEJj?= =?utf-8?B?ckxIVis5eU03S2pxQ1lHc3JsQUY0bmNTK01MMXd0R3prS2ZrcUxZVnp4Q25h?= =?utf-8?B?U3BnbGFSYzlNZkl2TVl1RTMvSjV3VmFBMjBGKzJZaGUzMS9YMU1IbkUrWEFh?= =?utf-8?B?clpacDhONGJHbDU0UmpsdDZKSVk2RTlNTjdJL2lwd2orT1VKWFRqV1dxbFJW?= =?utf-8?B?aWdUV2w1NDVtcmFXaTZzTjNvMnBhSk5xS0tFOGExQzh4eW9mekliT1VqbFpO?= =?utf-8?B?ck9qVGRDL3BpMmIwTjllU05nYkJ0WUY4R3hiMkFGSU9Hb09xKzZHV0U5NVVP?= =?utf-8?B?THVZRVdYdlRxcjE5MnZiTGtmUEZtVHlpZzdBSUhoTUpIS0YwbnhWQ1hPZ1FF?= =?utf-8?B?S3VaaXlkRUVYV285VzZhTlFCV1dFdWFlVHk5SnAyakxmNGlBU2g5QXUxR29F?= =?utf-8?B?TnZOd291OGpKdEZXS084Smx3STBSQko3R2V6aHVQZzZsY0d5ekk2bm8wdFJR?= =?utf-8?B?bVRSOWduQ1BVbE1BM1h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XWwqtsOtLr6PusOzSacUuJMOslrnBvVDKpRjrOd2sL+K8q5rcR1zqjietUyyjuJoTurrPtip5L4beuIJd45WcmA= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1141; 20:F1+TVyecXNYlRPnwc97ttgFVEJlMUXxxPYYuxaOMmqY9VEJjUdiRGuoLtNc+ZDYpYPYEU58iYFoRFYUgi5Clb/NrCKdfl+3nOq4h9AnfwMG7Dt5rf94QL/T3uXBBonrZMUGXnWyFznjmZbyl0xYFPY+n082ADxl0yXZ/xlPAeNNu8g9m7652eseschwgEHjOOCnEHUiBDYu4yCD7XEPc+lQJMi7OK4W7Q4dpnM8lwNUShlUpCrgI7hqiYyAJJSF0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 14:59:58.0343 (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 21/38] x86/mm: Add support to access persistent memory in the clear 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/mm/ioremap.c b/arch/x86/mm/ioremap.c index ee33838..effa529 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c @@ -420,17 +420,46 @@ void unxlate_dev_mem_ptr(phys_addr_t phys, void *addr) * Examine the physical address to determine if it is an area of memory * that should be mapped decrypted. If the memory is not part of the * kernel usable area it was accessed and created decrypted, so these - * areas should be mapped decrypted. + * areas should be mapped decrypted. And since the encryption key can + * change across reboots, persistent memory should also be mapped + * decrypted. */ static bool memremap_should_map_decrypted(resource_size_t phys_addr, unsigned long size) { + int is_pmem; + + /* + * Check if the address is part of a persistent memory region. + * This check covers areas added by E820, EFI and ACPI. + */ + is_pmem = region_intersects(phys_addr, size, IORESOURCE_MEM, + IORES_DESC_PERSISTENT_MEMORY); + if (is_pmem != REGION_DISJOINT) + return true; + + /* + * Check if the non-volatile attribute is set for an EFI + * reserved area. + */ + if (efi_enabled(EFI_BOOT)) { + switch (efi_mem_type(phys_addr)) { + case EFI_RESERVED_TYPE: + if (efi_mem_attributes(phys_addr) & EFI_MEMORY_NV) + return true; + break; + default: + break; + } + } + /* Check if the address is outside kernel usable area */ switch (e820__get_entry_type(phys_addr, phys_addr + size - 1)) { case E820_TYPE_RESERVED: case E820_TYPE_ACPI: case E820_TYPE_NVS: case E820_TYPE_UNUSABLE: + case E820_TYPE_PRAM: return true; default: break;