Message ID | 20170627151111.17428.69076.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 838C760351 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:13:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 939C4286CA for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:13:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 869B4283B0; Tue, 27 Jun 2017 15:13:37 +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 DEC5B283B0 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:13:36 +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 1dPs9G-0001WK-5J; Tue, 27 Jun 2017 15:11:26 +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 1dPs9E-0001VP-Kl for xen-devel@lists.xen.org; Tue, 27 Jun 2017 15:11:24 +0000 Received: from [85.158.143.35] by server-9.bemta-6.messagelabs.com id 35/50-03557-C9572595; Tue, 27 Jun 2017 15:11:24 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1VSbUgTcRjvf3c7L/Hs72b2NLNsJla25aLEPkQ SfagPhSlRS6hudW6rbdrdjFkEIW6mEErvTSnfEkorSEoretGwV10vlkaNpDcqaUQUmVTW3W6+ dJ9+z//3dg88DKn20lqGd7t4wcnZdXQkZZ2faNT7CrNNaW1+Y0bD13oqE63ovPqLyEIbVDanO d+9WWW90DMcUfAKu99+Evaid2w5imQoXEJCc6CdlgeEDyI423eAlAc19hDg8fQT5WgiQ+N50B v8HsIavBGabzwmZRyLawh4cwTLBhIHabju76JlgsDToKbuVEhE4WR49sEbIWMWr4CP3jJKxhP xSjh5uDcUqpbeu4auhTST8XQ43VOiUvQxcO/4O0nPSAVz4PyV+fIziWdAa7A6FA84EVoHB0Mb AN6HINjXQCuZs8D37VGEIkqAzu5qSsGrwFvRSMiZgJPgfslqxdtOwPNgVTiom4bhHwfC5rkQP FpFKsSbCPD4h6jwoILXD9pVynCJgtKjL8MddvjbdBcpOBd+36lQKbhLBbUv1iqGIIb658V0Jd L7xu3qG9vVN27XGkSeQSkiL+zkBf0Cg1mwWawuB2ez641p6QYHL4qchbdzZtGwJd9xAUlHMUH 62lDjn2UdaCpD6CazTZBtUkeb87cWWTnRukkotPNiB0phGFzXWZyjpZz5Tl4HrMYlyWIE3sK7 82x26chGlMBE6WLZ3gKJZsUCziHaLAp1H83UTmHTZR+WCWuhc9Q2cp5PUIJWwyLpn9RRBbzgs Ln+5wfQFAbpNGytKKVE2Zyu0fQBqZiQiqkTWXKxixujtHvRrtsXO5qbtsebUj4XvY8zVQX2f2 wYNizzBwbtt+jU2KcnmoRN/QmT4ooTraU7DumbyxyGjAefje5UdtDjXdcCH1JtT0qTkonFy6N vVq/B2Ttb4nMW9rTuyYtcOn2qavblit03zGWPK41f4peo+36eW2Va9HBb1nrX+beZE64fC+T6 dJRo5YxzSUHk/gH1i4ZLmQMAAA== X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-11.tower-21.messagelabs.com!1498576281!75799768!1 X-Originating-IP: [104.47.32.49] 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 32932 invoked from network); 27 Jun 2017 15:11:22 -0000 Received: from mail-sn1nam01on0049.outbound.protection.outlook.com (HELO NAM01-SN1-obe.outbound.protection.outlook.com) (104.47.32.49) by server-11.tower-21.messagelabs.com with AES256-SHA256 encrypted SMTP; 27 Jun 2017 15:11:22 -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=RfVgC3CxM5/cX5aPi+1JB0Iq+Sg75Pv73awl38f4pXDim4TlZPSo4KYEJa4x3TeP/Mwn+LzjYtnABdVPG3UX9ShNhBOftWyqkZ75+c1z4HFYE7JtBoBuB5jqMmq1D1TAJIyTN3sULBI1/cpQEJObTHGpj3ZVkOiyc8s0ydTlfW0= Received: from tlendack-t1.amdoffice.net (165.204.77.1) by MWHPR12MB1150.namprd12.prod.outlook.com (10.169.204.14) 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:11:14 +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:11:11 -0500 Message-ID: <20170627151111.17428.69076.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: BN6PR1701CA0017.namprd17.prod.outlook.com (10.172.26.155) To MWHPR12MB1150.namprd12.prod.outlook.com (10.169.204.14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: da567e92-9db9-4f81-f978-08d4bd6ec369 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)(300000506067)(300135500095); SRVR:MWHPR12MB1150; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1150; 3:jvNnVhpzFyJeWpcKxbCyinWwO8jGbifhXbbe2UyY+exq7Gl2OIWU3ZMDgWMEGVPoKwqP8iCmiLqFr3ZzYtkggNh0QymeqYyfsnDmoomM8vuR02X5jijtL4c1+OjbavJFB5mUJ9Vu6HNb8fTds+/3Soft52K9puo+wrWDAKhybvOvPmsalAHDnJ93FmeGj5KFRvnEm+USWIefQA4Uw8MdvACIaM4HdxyJXMulkmCK/oM6SyRdGhgyLg6K/yP+zoAI6FACV7C47pEddpWhm1mrOkt1z0EeaIAOyh+EcEUTuDl5YRqJB/LjsNr0eMx/AVjP+rp90SZxTRW62Ov7Ho/JOs0L0NxJNB49lNPGGpQDm9SE8YKrR8QjrsDjJ6ozHwTodI+FuINz7/nPxwJ1QuUB7jEZWBQD6wwwY1tt0Cihrn/AnNNRpgY6ERB9Z/DcINjwFbh5832SbFBbOm/xj2DaOp952pQvqhloydN5jogIvXu9h+3LrBREgYIFQzWiktDkyQwTk5F7BRsauEPZ+Nfge0il4nD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AxpwiIH5TqCrb8CUfrFq6/ocMo3whdIMA+utIewOdqfLv6ZymTgO6msUo94r+uvMaTImMEAFvzbK+ut2AYBBWfXvEAHcLBcFuayR6g5Q6cY6o50ygK1lKKUpM7CltJhZk4UVOiSSLA3zigyGsRCxuKIVfqKfFMP+D+oaw4KfTyE+0AJItYVBl3KM= X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1150; 31:oASe8Tmqj9EEvSSRDQEIH0ukUv5+inSQokgefQeRqMXxvXtI78EylkThwyuG4NN2U18Cw7y3loEpcJtFtj2N/cae8UKR2DelJH+uIAKgoylBRPabJRaxBugyGfdPPeuYGU9lSDe/ORzolzGp+MKTLYrMzQ3MfZzfV/xc8+zz5yTeHrfGQkwLRsM9wQWXVTBEAF0cDKnojimyYgW8DfM8iIZf4ZFYxftLpQ34Y80qoEizx27bOOMPR6qPYqhu5sOyObI0L6iEN+SR6V+x37TRSA0DWcb1l7z1hJUh/6HE4js2O5lj4bllmqGaEBIKAAV7LckYzcE13jqzkRasWqnP2hVk228kLczW8J+JPgyL03W8gDnqYRXb4+s1rWZvOpnMz18U8F3P4wwsDvITsk/r103IbRK8vrJEZgBJVcrn4bU8jtYNJeQ86dkeBGwISmeG+JwGV8LYaTIWWSFtLxTaCf2sFHmExsG0F1/sdZzecS9rkkKkS00kovpD0c43tf21xn1e8sjKuHIUqpcKYqOb4MIgf34terBa62HwTgZvjNUYFK677MRm4T00GunIQ5/ltDMhNm88nFEmzaG7YMFVo1mMgz4I/7fyofvJ9S13HIj88Mug+m9Ehc66XjJvGgTdVsdY9v/a4Wug5Rve70J0usgUf2yDro6l8TXw0IaRjHc= X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1150; 20:qNrBC9FGg4+S47mhWTLSt1NKS1xih2TpihNEU+QkjWOouAQ7Vo5hXLFZP7M6eLS7669D8gSqJJwW/Lnl6co0FxR/EPxhc/4QYdsZ+BgVSkPRus4Gc6bKO480ZIDx91JKABvYlQwm+jB2BaY3sG3BaltNfcv8Bjv47bYGAlKO99G5pN/VmRn8kpX0yMzjlK9wFJpbQNC53EuYi+clPnp18o23Im0kMU0PvzoMDD5TTq5jsNFf/FV9VpFhEXpm5Ud0HczxtpIepUeEKthSz4ds15Xhv8QFl7D/CtUtqnBTy+FRdlgGTAFSJuIcvyXZJQ/VjyZpIue6WLSslVadZexhyIRSxODQvtcofO+DKTn4Eqj0fHZQh8IL8KrungLA1dMG2nsFS2CnmZWO8BdFhQZXhIOndnx5A5mrFjoXB/QmFZJreh+pxWZoTOl45RkrYV9Y8qTe/DvWfxPwyCvHbonnjsv+rnZe3E5eePUAZZ3wBTRoJxAP0U52fowKtcRGB3hF X-Microsoft-Antispam-PRVS: <MWHPR12MB1150B2F849C3ED89F0F0F7D0ECDC0@MWHPR12MB1150.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)(8121501046)(5005006)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR12MB1150; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR12MB1150; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjEyTUIxMTUwOzQ6TWpDVENJTXhQdzg2a3pKWjNhRk1laUFCcUhl?= =?utf-8?B?WmFBWU45bGpROEZMbEw2cFV0RThkdlRjdVVpVEF6Skd0bko2MW9ZL1B4MkdF?= =?utf-8?B?N0o0WjhXeDV2clJZUVRxQisxMTNzMmN4MGN0S0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RtQ3NDTVBxZWpOZ0FkOG9HazlmSWFuSFF5Q290cDFw?= =?utf-8?B?Y1ZqalpYTjRrSDFzUnBwOTFCMUY5REJadkRNb09vWEJhQzEwWmwvMDIzZHNi?= =?utf-8?B?Q2piOWJ6WnJwd2k0emNwWHlBY0VmWjJkUnlSMXRLaWZCc2xteThITHBHYnRX?= =?utf-8?B?QTdmMjc5dnRzZGg0Zkx1QmtESGVDUTh1R21kQmhDbkpTUDFzbVhEaEJxeUFJ?= =?utf-8?B?ZFdRdTRiVStoLzJ2Q0svOWVLU0R3R1NKdzVhdmxDZVdVR0g1bTJEeGlUTU50?= =?utf-8?B?dFVjcmZFRTRsa3B6WDl4OHk3Z1B3WU9Ec0JDekh3TUNIR25CeTVxNFpsMXJU?= =?utf-8?B?VTdyYXlIY3pVSHlRcUVFVXcvSVNDbkJkZTlFOHQ4OWNmWUR4ZXdoQ1Roenpq?= =?utf-8?B?Tld3a0JoV1pCM2JRWThZUDArY3JXSDJuN25kQlRsUi9ZLzQ3WVpuLzlkZDJa?= =?utf-8?B?QUZCMTdVa29sNllhdWtxRmpLUUtNcW5Sb252K2VjNFdZOXY3UFBwcUZ6ejUw?= =?utf-8?B?c0ZaL3BlRGVLT1VVdDhtQ1U3aE45VGFRbmNXMVhGYUxnQmk0dE1CUHNBdEdv?= =?utf-8?B?S1dJZmllbWh1ZTBiOFlQQll0VC9hMjBOQ3hJZG1vYzlIRlc3TXhqL2lld2ky?= =?utf-8?Q?SmjvejO1tif6TfdjkIbv0/DAC1US79/L0DO3SK?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39860400002)(39450400003)(39840400002)(39400400002)(39850400002)(4001350100001)(42186005)(110136004)(2950100002)(6506006)(6666003)(103116003)(38730400002)(189998001)(86362001)(97746001)(55016002)(54906002)(5660300001)(7406005)(305945005)(81166006)(7416002)(8676002)(53936002)(4326008)(9686003)(7736002)(83506001)(478600001)(72206003)(2906002)(66066001)(23676002)(25786009)(54356999)(76176999)(47776003)(53416004)(50986999)(50466002)(33646002)(1076002)(6116002)(3846002)(230700001)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR12MB1150; H:tlendack-t1.amdoffice.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjEyTUIxMTUwOzIzOjIrQ25HeHhMQ0I0TTBEaWVvaUg1OVhRazFP?= =?utf-8?B?VVQyQ2hCVm1vcHlRekVURzNraGRmalJZSThzdi8xR1RrZ0hycVRVSFkyeExQ?= =?utf-8?B?NndZSFpycGZWOVQzZXh3ZkJLaFgrWjBUb1lLNWprbzlZZm5Vdmk1Vm11N0ly?= =?utf-8?B?MjdGTjQ3Y0crd3ZpMDMxaEE2K25MMXEvUEpTVG0ydmlIRE1yaDcvbFgvbXBV?= =?utf-8?B?OG1NOGF1Q0Q1Y0I4eVZJdGVEendCUWZQRFF6NGcvWHlMY2QvSkFuL3RtT3E1?= =?utf-8?B?MkJjdzVCYXJMV3dXM2U0MkU3cVlDb1p6TlBXdkt3OFRoNTRXOGdCaTZFVVNZ?= =?utf-8?B?aGVQMjhYSmNtcVFuZ2ZxSXJFRW9HZHZOVUpCUE0yTDlhUHV3d2h5Kys4R0xC?= =?utf-8?B?MVFNU29rUE1Ea2tXZkFnOHZIdURMUXVYeW8wczBzOHRXOFZoYWEreHpLMWF1?= =?utf-8?B?aTY4L2RkeFgrNGU2YkZpajBEckpaRUsydDkvakFNRnk2cmlJcm5hUmZOQ0R0?= =?utf-8?B?SVBDUTZJaHNjbzlSZkMxeVRvS2QwbmRvYmFQRTUyU2xHYlAzTGtXZXN5NjEz?= =?utf-8?B?eGthVGw1SGFlMUVYZ0RqL3hoRE5UK3V0UkN4RGFnYUZaRnJlNm9zOXo5ODkr?= =?utf-8?B?NCtRekFWVzdvTkxxdUVWdnlOb0NJRDhlVTQrSVoxRk1DNE5QSFVD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UMejCJAf6hCCkDyOy4ik9IMCuysB7X1LSusnkP80XX7LKuQVvvRDjpagq4MIsCctK7RrRrMlTsP+LZwWsSVk9Gfks2zWIoHzfcuh8/QOA5vw+P3lImUFddjJyIWZkgfo4clbgUTviBpT+0EjOlBE6rq8naZl4H54pon9q7vU4psAZIjBJIqI= X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1150; 20:YgTYZzIwGyk3H/XN6tXgqJg/cCEXVld70aKtzFr/rmpFi+yxupP+4FV23qNF6FbbVED2/tImr7gl+V832QSnO/M5xIzD165gWMdlzP+ZEICZg8RusxTcZAMPKTZkRyZcCqMjpfsXpUnLuO8c3FvhFjB5yFX64+b9/QooDWqRmC5OvVmLB8wcdnHnDHKnOkWklRyw34Lmi3vD2AeYCiwNwQKbho4J+5+5aycV5XciHZSoQIvtcC2PXYAnVR7RL3Dp X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 15:11:14.5824 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1150 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 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;