Message ID | 20170616185349.18967.38054.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 4357460325 for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:56:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 338CF2865B for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:56:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27BE928670; Fri, 16 Jun 2017 18:56:14 +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 9148D2865B for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:56:13 +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 1dLwNf-0003Hd-Jr; Fri, 16 Jun 2017 18:54:03 +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 1dLwNe-0003Gf-A7 for xen-devel@lists.xen.org; Fri, 16 Jun 2017 18:54:02 +0000 Received: from [85.158.143.35] by server-6.bemta-6.messagelabs.com id 4E/63-03920-94924495; Fri, 16 Jun 2017 18:54:01 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1WSW0gUYRTH/XZm1lEc+VwNj4uWraZlaupD2V1 USgkj7UEUSmdtctf2Yjtr2EMkumZsEGagtJmYty4UgS92ATFxKy+pWSRRFLVbomRmSqt4a8ax tHn6z/n9v/85Bw5NKCxyJc0VmzmTgdWp5J6kZlvYzqiULclZMZ/HAuKbJhvJBJRifzInO4KyK a1BbSzOpTRzNy67F37ExTPPZmQlyMlYkQdNYgsBi50hVuRJI3wVwf3hKkL8UeByGYz2f6VElx xHwtvxaZmofXEmvOr6RoraD9fL4Es1Fh8QeFwO7f19chHIcCDUNzQTUotNcP3TwLJmcArcmqw WQmnaA6dC+cflHIVQrph1Let1eD3ceW2hJLsPdF9zkqKdwFvgweNtYpnAG6BtvHY5EXAwtLlc cnEEwBcQdC32UlJmKNimBt0lUxDYX9aSkk6DpjIrEjMBh0CP5bBUPgfvfraQUs4Vd6hxPUISi IB7vQ5CAkNysDpGKQnooH6kdsUUD5duziPJ1EfB4IfrKyNVYqiZsazMGggdsxfdJdBEgX26ka pEW21rVrWtrmpbs2o9Iu6icJ4zneFMUXHRapM2X2PWs1pdVGzM9mg9x/NsPqdj1Xx0nlHfioS TcBO+h6hlIbETBdAy1TpmwpmUpfBWG0+c1bC8JsdUpOP4ThRO07jBXnpUSRqMBk4FzJfw5CyF j4nL54pPanXCif11Au2l8mNOhAqY4QtZPa/Nl1AP2qj0Z6I3CwCLQFNk+Pfs73EOoSClL4OEm RRehZxJrzX/z8eQP41UvkyG2N1LazD/Sx8TGsuExhmDCWJjM7uKlCXIzb73duZ3767Whl3z9/ Och/qI4U2tdS+yg0/9uuMW7PApLdhTtq8kMt3unZ2wFPemp87Np6ApZGHeaS05iNNr6NSUe21 B1onnttzFhcn9UyNJP9hfryt27xgzDji0B7yW+t/71aa1P+26rG/+XVWegzsPnk88Vhd2PK1j NoA/7ehWkbyGjY0gTDz7B2njpRGXAwAA X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-4.tower-21.messagelabs.com!1497639239!68099248!1 X-Originating-IP: [104.47.38.57] 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 8000 invoked from network); 16 Jun 2017 18:54:00 -0000 Received: from mail-bl2nam02on0057.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) (104.47.38.57) by server-4.tower-21.messagelabs.com with AES256-SHA256 encrypted SMTP; 16 Jun 2017 18:54:00 -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=hxK7INceThijkSydmMCXxIVcmjnwi1u2LAtsWD/kJjM=; b=DaEfCRUosSTy2XEQCFBoEYGR3N2nrj1iaTyYdQWjExmr+agPNKU4SGpCLh8+O0J9zyjCAYHtAxMKA2S8L3mbl65g9nfIXFNGlDqUqzOAsLQBB/2iAQT9sCRsSC8K4Qv+eohe2yndwjfAWr4MD6LfzmT+Re6sVZqGm6APpv1p3S4= Received: from tlendack-t1.amdoffice.net (165.204.77.1) by MWHPR12MB1152.namprd12.prod.outlook.com (10.169.204.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Fri, 16 Jun 2017 18:53:52 +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:53:49 -0500 Message-ID: <20170616185349.18967.38054.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: SN1PR19CA0015.namprd19.prod.outlook.com (10.163.220.25) To MWHPR12MB1152.namprd12.prod.outlook.com (10.169.204.16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9ff44f00-7184-4715-9629-08d4b4e909ca X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(201703131423075)(201703031133081); SRVR:MWHPR12MB1152; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1152; 3:rcxwJLlLWSPir/sLV/mawOte1fez5lcZhWYa2RhaEoDSxbl25fl2fFFRlTLR+EsC/eYc6zwWgKeJtQ1waAjpw2Rg+NOobHIAfEB9qlXxOUU88B0Obxa/M9NOcPPhroKNPORhOx8f4vN01N3CxFxiX7n0xL9x76/DZoGn4TsDg5mUbvl/3JqIQXiOwE+d/2jRsylXdLo4oQp5fug3dgDcSPtsF9K+qaA/P1crHR2tQFX/NDCoq6F+M1bchSb+xOEAScLn3CKf9JGXFVfPl1MkOAz4zxzNFDkctbf4ZyRCECM+m/iYVbre/aJ1YHnvVYhwUAnxEJdVfB6OWxEy1Xu02pphgbdVu1w4jmftcbpuZU8=; 25:K4RGh7BL/WNglqMa7EpsnEGDfssz3ohntVEq8g9QEeyfqPTfb6SER6h6/JPqJZH3FHeeDjm2CgJSnd+mOBaBNfvfNCuMCrE7Q83vxACJxqaCMjMuWdwYZXyF7/1SjB344F96QF84YxErGVh9Pq3EGE9murBW59tV+IozJ/CYWCh/Q1JhLNPdpgKAzufOkP+f45wF/8SXjARPXtnNfidI6GDef39BmUpyg0+O3UutJ1qCZpYuWCuFijAR+YN3lQw2UtkhXg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4p4SSE1jnud3OJ X-Microsoft-Antispam-PRVS: <MWHPR12MB11524324C254FB288BC1C15BECC10@MWHPR12MB1152.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)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041248)(20161123564025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR12MB1152; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR12MB1152; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjEyTUIxMTUyOzQ6a3pwU2lZTjJUQ2YwREtHSnBlZHJMTmZlSlJC?= =?utf-8?B?dTNIK2dmaG43S3J1ZUkzcnVBK2tYV0ludWEwZnY1VzZUelVsbG1wUDJRQjlx?= =?utf-8?B?ZWNFY0lLU1FaZXRxeVJkbkNnNWp5S0dmdDBhWjlEMGtpaE9WdDBTMU8vS0Yr?= =?utf-8?B?VElud2lvdWpmUmVvSWRLd3lVSFphbzVPQUNKZy9mbHIvNE9kVHIvODlubmJ6?= =?utf-8?B?TXdiL0Q0OGFoQ093ZDlwTUJXYVRuU3dnTmdZM3M1eHZrT1ZJSlovWFkra3VF?= =?utf-8?B?NFZOV1ZqRlZFbHFZQWQ0SkVraVJjRnBDNlRhWXJGTDNiK0pqaEhGdXV5L3gz?= =?utf-8?B?WkQ5bjRoNXJXQVpwU0o1eTlweEtPNzNyUGNPQWxtNXZjKzhOcmhlcWdFeGdX?= =?utf-8?B?Y05uRndhMmxOZG5IMWlUdWVQd2p1T0NM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NhUTZRYlRoZUtmdVhqTmx1OGg0?= =?utf-8?B?YmpuUHl1aDUycFFhMUozSUFkeHgyOG5WVzVZSmlJRG9qbEF1WEN4eFREMzdC?= =?utf-8?B?STFLU2ZmVXo1QWtWREhWYmVrUXJXZ3M0SVVwWTloOEpnV2JKM0gzMitmOTVM?= =?utf-8?B?azdqdHE3R21hYVhCc3orWSs1STFmN3BWWWJkQW43eU54OTNiVW13Y3ArU0lS?= =?utf-8?B?WXBCVjYweEdWSzNQYVpvU1ZGRXRjTWtJMWRkcW5QOW1ycmJsWVdhc0w3NFFt?= =?utf-8?Q?J53kitspF/Kz0G+Tpcc?= X-Forefront-PRVS: 0340850FCD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39840400002)(39860400002)(39400400002)(39850400002)(39410400002)(230700001)(50986999)(25786009)(7406005)(72206003)(76176999)(54356999)(305945005)(50466002)(6666003)(4326008)(7416002)(81166006)(4001350100001)(2950100002)(86362001)(23676002)(478600001)(6506006)(8676002)(83506001)(55016002)(53416004)(103116003)(33646002)(6116002)(3846002)(47776003)(53936002)(5660300001)(7736002)(189998001)(2906002)(9686003)(38730400002)(110136004)(1076002)(66066001)(42186005)(54906002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR12MB1152; H:tlendack-t1.amdoffice.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjEyTUIxMTUyOzIzOnBwU2dUSUk1elRwbE56Nm1mdXNzV0gzTEQ5?= =?utf-8?B?UGwwTm5YVEl3NElEY2pobjFOSjRmQ09ybktBV0U2NG0ybnJlWCtyR1pEK3Rr?= =?utf-8?B?Z2NOYXc2bCsxK3dxNXAxRGtRNEpIdjgvcVVMSkFoVWh6QVdhcHp0KzhtZWdJ?= =?utf-8?B?ZXM2TW5KRGpIbnFMZVU2SmF6L0pXMm5YYmliSnV5T2tBU0F1bkE2S1pnckR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RK6DzwSKWTZEAfDJguHhbUieYBL7nYtN9HArQ0HnyXnXDBI8LN3+nGS+anWTrsGmbFtW8B614yLDX4Vk+PCoOxmP9p806apM7SHXy09dAVIgcvjR8f8/KwUU5bfhZWkPsAywPPJgJII0LVKCUoxqFUPJJRpU+i/N6KUqIp7vNEJd6B/6HdUExS/BqQRThaD39SUK/yn09gaUS4WKKSwp1TxJR1zJ/ASwg1d6dknMIO6xLHovJNiuFv5DBTgyiWn1/jwQumQjFYYaQF5eDukvZ2WwyU8z3Ekl1F2n18FvyvbcUIV8NjZHTxD6LI07Hkow//l/FHYv+m0sjHhKIlRoD214uxbFZEXD7uIXScEFobttHqritUvVJ9oDH34oDTZ1GJzskU3Gdbib6WtQpI5tugLd3XRajqa3TQTdnJCGuTj1mNiJ9isajgDmuB+aC1vUGINE9SVKAk4dlPDkBVu+Tu3jjowCFr4H+Pw+VTRbqgq5wwklmjFV0f54nkDws0jjVL1UD4b264Dp34/1/WmTv+Hq3eNUiH7FLhKlFCzeXI9q20vaDluY2htf7sammXxWtoYEWtbtEywH8RUKVBmX9xeTNmiBCxBtkH/R2TQODxHYPjJwMRruMOWwAjSL2wZSWaqFUzLVOPxnJE9KYwa3mEd6swqKDVHvQQGNfuKFRC/58wkF3slXm9ftfJNiV0a4T1+5kQ3Nm7ELNdtEIOHWrneUwQaecDYMUtgLYr2g= X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1152; 20:vb4aAjUZWjsmpZ+lgP4EbUwc0NexRLHu20racczZMFEfAqpDwrATKsGcPfmIs4RqhGwQ2oZRYt3gFpw/2ZfWsWm+Hg3/cmQw9pcClNgafNkfoVOgdN0gGOPE0khBRNKkypiYaFBj4UPUxtVN/qe8/CZmRT9WVbwKuYHEFu30garn374POLabgiaudmGdXYDcdETVfjyJPjYm/lfG8Zq4UXLf5nqQI/ty35PIiBme3hqyVlnqPG2ExlktJyNZUaDW X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 18:53:52.6983 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1152 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 21/36] 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 f3fa007..0254b78 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c @@ -428,17 +428,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;