Message ID | 20170627145751.15908.55617.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 B302D6020A for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:00:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5534286BF for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:00:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 99AB9286E0; Tue, 27 Jun 2017 15:00:06 +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 78BA5286BF for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:00:05 +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 1dPrwJ-000379-Hu; Tue, 27 Jun 2017 14:58: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 1dPrwI-00036Q-CO for xen-devel@lists.xen.org; Tue, 27 Jun 2017 14:58:02 +0000 Received: from [193.109.254.147] by server-7.bemta-6.messagelabs.com id 15/A9-03620-97272595; Tue, 27 Jun 2017 14:58:01 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1VSWUwTURTlzUyng2HMo0C8VlFTRFEsi4j6I24 fwgcKEuPyoU5xpE26OVNMjSQSU1AhIkpQKY0WkIg0LnEBA8aIwgcIBpfggh+KQCJSEi0uCZo4 02HR93XuPeeed25yGVJzkdYyvNPBC1bOrKNnUcZE3U69U9i+O6l2Imbtla911AaU3tE6QWShP SqT1WBz7lcZS+sa1PbPkc6aB2fJQjQaXoJmMRR2kfDkxpBaLhCuQHD99TlSLjS4iICyk6V0CQ plaLwC+vzjRAlimAi8ET59jJHbkdhLwMB5LOtJ7Kfh4bPuoJ7A88FbW0/KmMKxUNl9M9hncTq c9tdQMg7FGVA2/Cio0cj9toBaxlF4AVx76VIp+nDorBqk5H9JvAxutiTKbRIvhGa/JzgKeBE0 //xJyxkAFyMYbShEiudicAd61YooGjp6PEEfwJnw7YdegTHQ5dqqjLYR8MZfPenTQ8Nd12lKm V0O/gvVpEIMqOFOZ99UoYIzlffVStFEQX9x72QmM5x436FScAZcc1dM9rtVUPNuhzLQj8Fd5a PLkd79z6rumVXd/6zqRWQjihN54TAv6FemJhgEU57RYeFMZn1y0uoECy+KXB5v5gxiQq7Ncht JRxEivfuo0Zv9GM1lCF0U64PtuzWzDbYDR4ycaNwn5Jt58TFayjC4tuN4jpay2qy8Dtj4Q5Is XODzeOdBk1k6siklMGG6SLbPLtGsaOcsoilPobpQCtPgvTdOML+bmscJTdBJO4f9LkuxLDXmW 6eNpg72BYrWRrBISqkJs/OCxeT4nx9Bcxiki2Bpm+QSZrI6pv8bkaIQUhTqUpYcxcHNUNpClB /anlrie8SOpgeupwxk5zxNMdpO9a5zlWXBqiVxW3LZHtu8uLeezF9De4v9/YGjXRVrvpiftD0 /E7/r6p+JbaqmTWkhw4GXy17Hjs1NjB/TABPTc3mt58igqC6I/3CrZXNR+/DB+uxjYuFJe1Fr 6tgQ8arcl5gWnuasWl+QXbNfR4lGLnk5KYjcX0RufimrAwAA X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-16.tower-27.messagelabs.com!1498575478!109376710!1 X-Originating-IP: [104.47.34.87] 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 33520 invoked from network); 27 Jun 2017 14:58:00 -0000 Received: from mail-by2nam01on0087.outbound.protection.outlook.com (HELO NAM01-BY2-obe.outbound.protection.outlook.com) (104.47.34.87) by server-16.tower-27.messagelabs.com with AES256-SHA256 encrypted SMTP; 27 Jun 2017 14:58: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=IbvHU+X3HtNhzeyYskwsys/rpVmfaFp1qJ4jHzapIKY=; b=5E0gf2pJFGuWo4BTIzJ2N84YfWOSuvcZHD6vec4iDw0cxcGiKAtyNE4vocAzsALCWbn7sVMUUY7MKsHdj9InDFm+/KSxFyQwh1q2TBiPgA03EerNYaNPAnVRmhfF4Ysmgp8ofWWwMyYviFrVB7y06Fb5Cg0DqPXEzleFlmrL9K8= 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 14:57:54 +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:57:51 -0500 Message-ID: <20170627145751.15908.55617.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: DM3PR12CA0063.namprd12.prod.outlook.com (10.161.151.31) To MWHPR12MB1150.namprd12.prod.outlook.com (10.169.204.14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d01237c9-490b-4921-d068-08d4bd6ce512 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:tPB09GSYSwmr2tmCfCvUIxTzqIn3805FBd8tNFDF2KQKeRmFKE97DmANsciakS46WKPzaJbQmIM76njL+lCWfnaNzJ+CakNbJ0HoXYzZzr90iNZ8keFd0/Y1ae6/eChSVZfDDuZfnY7+do5K2/tCxWhRhvkQdRpv1wudzj8PIMDKvlM2WEuTqMJNl8FjKJDlRHRAj0ChF64ml0mAGazn73C/LrhqIDAVHlqguinLj7JbKpLDKWRuiAQjur+zuJXVYWTFh4ua47cQb3EXTBBQ4uNIOjqQU4ZZf19RAErinuSGCZefBZAbGvOeCokigUiqwrLLPnC+FE+bPhhbad2P5sz1GfRlLB5s17AmTz3dG5DQY4UfOpGy62qaSLCsDVWjRu3f5yD2J9G6GS4JuWxo9QYb04z60qpggHsKi7qOLLrisp8orskXHxYEAmlFWXGjHykI5WzCAoskom/D6+j0v7oc+VoTVK5JxfnbKVpfacUdjDHfk5j/yZx3AsQDTB3nWVEjUr+0S2P41s9WyW0s0nZgvuQP+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44HkEgtigiohDsWBP8fVGlHCfV88F3neaoqlkuN1BoPXYAU7xqEqPS//JvBP8m9ZtKdF/E0gtNQXZuE0qRsSxiK/rMxX9yiewdlnwVeDxH19pxuaeogxKteIKQFQLxoGRCmyeMpkx/7bZjGuu/Q8ZEpWeAGVdmd3RYT2Gwnt6wJLxkbNwsjpwk7tBXdB5aOlTqAwV8h+rko89aYMTjPPyTPTWBYJTZlfIGMU1wUz1DR5gr1rZnZj0Smz3QWnpacryrWvDK/U6r4MZoKxghXQHw0qwlLQKhHrzOUaDqlELkm8vstWR3CylqOp55kyZ4liUYxSM/LY5EHSTjDsRHdNuHdUVPXLFOki9KyCGWOn2RH/9N6nzF5X/Fti5QxuKs X-Microsoft-Antispam-PRVS: <MWHPR12MB115035BD12C558F69D6AF157ECDC0@MWHPR12MB1150.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(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?MTtNV0hQUjEyTUIxMTUwOzQ6dzBWZCtBUDBGdWtkekl4cDg1SFR5L2NLT1VK?= =?utf-8?B?cTlZbmxvYjlreUZjenVzSTBsenRWbDV6WjRWZjIweXcvRXNMbm80U1pCMER6?= =?utf-8?B?YTUyRFhocFExcFRyTXZmZit5NFVaWXp3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nZWVXBOTG9pbHpGVnJ3NCthL1E4aXUwK3lwbGJ3Z0R0UkdZVFpRQ1hSeUtJ?= =?utf-8?B?YUdlbTAvWmhzMkhtQ3BiZzM2NGJHbEJGVk5ia2pBaU9KMThaeTB4QmhBZ2xF?= =?utf-8?B?d1JEWXYvc0VySUxFTHhCNE1kUE9LaEdKYUdNSmNyYU4vWVhITzhLWnFnZjJI?= =?utf-8?B?ZHNzd2M0czhKVmtqL3N0Sk1jQmlqdG9RZ05BUlhWRFd1a2wyM212NFFrVjZ2?= =?utf-8?B?dU5BcWRsZmdiM1JpVEt0dFc4cm1aMndPeHdkWFJLMFMrck1UMklHRU1HTWs1?= =?utf-8?B?L0YxWjhNRnFFSi85dHQ0Tm9salFBQWhvVHNUeTd6UHRLUG1hSWpSaGRBRzhK?= =?utf-8?B?N1JvM2lxbnhZZGZpUktyaStsMyt4RnMvbTRNUnNjbFJibW5xUVVmMnNhelFo?= =?utf-8?B?Z0dZNnVYUzdwMDdUYUpVRTJBL2I0RjdoWnBsUEl4Uklyek82R25FVlhZZVpK?= =?utf-8?B?VU5SWFdBREJjR1dSK0VwdEZqWldQUWFCY29GbzFHRjBjOUJIeXNDRzRUZHgr?= =?utf-8?B?SllPYlMrNVZ5TDZjeE1USjhhY2s1dWJLbHcwd2hDTVdHY2JYUkFVVzZFbHJu?= =?utf-8?B?RGJjUUhmNzYxSEh4dnljdGFPdUlhOGpuL3VOakhleXNiaXk2YnBJazRtVkh0?= =?utf-8?Q?WTuV4OjCuYgIjbOBE=3D?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39840400002)(39450400003)(39860400002)(39410400002)(54356999)(25786009)(76176999)(47776003)(72206003)(478600001)(66066001)(23676002)(2906002)(3846002)(1076002)(6116002)(230700001)(50466002)(53416004)(50986999)(33646002)(97746001)(86362001)(54906002)(55016002)(6666003)(6506006)(103116003)(42186005)(4001350100001)(110136004)(2950100002)(189998001)(38730400002)(7736002)(9686003)(83506001)(5660300001)(7416002)(81166006)(53936002)(4326008)(8676002)(7406005)(305945005)(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?MTtNV0hQUjEyTUIxMTUwOzIzOkxjayt5ZDloa082R3JqZ1BTMGRiM0RHN3hU?= =?utf-8?B?U3VxNGIxL0gyVjlrblJwbWlrMGxwdlF0V0gxZ3JCbWE3UWJOTk5tMEpsR2x3?= =?utf-8?B?Q1VFbDRTSzlDQ29PbVVCOFZSbzRvWGVpUDM4VTNGNjlwZmRtaDh4NStTRHFx?= =?utf-8?B?S05SM25zSjR0UzVFRGtmL2dCV1RGL2FLQ2w5UHJITVJMOXk2NmNsa0dDbHAv?= =?utf-8?B?SGZveC9kUDVjN3Zsa0QzR29OWmZLeDRvbHY1UE1YMllSMTJ2VzVFQ1NxSnR5?= =?utf-8?B?MlpCWmpNcXBGY2ZRclZoKzhpVlNudG5wZUdrUTljUG9yWVgwN3J3ZnNyUzg4?= =?utf-8?B?bU0rMVlUaU81Y1JTdzVuRjRlY05qUWsycTNxRDJaSFJUZmVJR1VvSHJBdDBz?= =?utf-8?B?aklvb09zU0E1Mjdwdy9RVWMvR2tQUXkyK1U1U2tWVjhDUGF4RG8zMG1jUnE2?= =?utf-8?B?ZExIMlM4MGx6V0pPbVRxS3pvWWZSUmx5Tm0zK3FUemdsZk1DWTZKanphaVBq?= =?utf-8?B?NThTM1E1OXpJai9jYUVKTmZ1ZWl5RkFZUjRDclZpdlBtbVVHNm9VbElybkl3?= =?utf-8?B?eVRTZitEZGhZWUVadXd1Qm85dlFWMDZrSjhyM2pHUmlIdlZIbnpFVTk4Wm93?= =?utf-8?B?L20zd0F5c2lLdjZ5UnBWaWx2ZVR1d0VyOG4xdDdRbDF6cllmTTRCNnRGc0Mr?= =?ut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xqhk3bby5DPn7TFQT6AVcx/v2bSm05NPgR095K+uvzKmaR/eDZ8vS/xPBSImdncjDFVA65phGDA2tebqzcLZVWUv7/7tqcExZdtNSf7iLIp+ANqnzLZu4gzRmVnCjHRdrWba4OI/8BU+m4GkN0ZeppyTTIq30glA= X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1150; 20:5N7jEWFBq4ooz6Fzi9NhYcGA7gcbXujnuR885Laq2IFZDwYp/zUoc00CNYeWWdQ3sls8VtiMvjKD3fbXl+VLqSN2jVZzR8oURVy4MTb0z+6xLXJSE3nRsEgMBAxZvPG6o9DrjjXESDfabcWD20ZeXGoNfkLJF3RJQtOQTj7OdeGimxhlnSm6I7sc/kz1NOEHOMjFvri3xezM4gAUBCGi2oo+4fMX0jBxTSbKXyXwwbqizg4GmQU/JbGdEx0j4o7Z X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 14:57:54.2321 (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 09/38] x86/mm: Simplify p[g4um]d_page() macros 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/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index 77037b6..b64ea52 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h @@ -195,6 +195,11 @@ static inline unsigned long p4d_pfn(p4d_t p4d) return (p4d_val(p4d) & p4d_pfn_mask(p4d)) >> PAGE_SHIFT; } +static inline unsigned long pgd_pfn(pgd_t pgd) +{ + return (pgd_val(pgd) & PTE_PFN_MASK) >> PAGE_SHIFT; +} + static inline int p4d_large(p4d_t p4d) { /* No 512 GiB pages yet */ @@ -704,8 +709,7 @@ static inline unsigned long pmd_page_vaddr(pmd_t pmd) * Currently stuck as a macro due to indirect forward reference to * linux/mmzone.h's __section_mem_map_addr() definition: */ -#define pmd_page(pmd) \ - pfn_to_page((pmd_val(pmd) & pmd_pfn_mask(pmd)) >> PAGE_SHIFT) +#define pmd_page(pmd) pfn_to_page(pmd_pfn(pmd)) /* * the pmd page can be thought of an array like this: pmd_t[PTRS_PER_PMD] @@ -773,8 +777,7 @@ static inline unsigned long pud_page_vaddr(pud_t pud) * Currently stuck as a macro due to indirect forward reference to * linux/mmzone.h's __section_mem_map_addr() definition: */ -#define pud_page(pud) \ - pfn_to_page((pud_val(pud) & pud_pfn_mask(pud)) >> PAGE_SHIFT) +#define pud_page(pud) pfn_to_page(pud_pfn(pud)) /* Find an entry in the second-level page table.. */ static inline pmd_t *pmd_offset(pud_t *pud, unsigned long address) @@ -824,8 +827,7 @@ static inline unsigned long p4d_page_vaddr(p4d_t p4d) * Currently stuck as a macro due to indirect forward reference to * linux/mmzone.h's __section_mem_map_addr() definition: */ -#define p4d_page(p4d) \ - pfn_to_page((p4d_val(p4d) & p4d_pfn_mask(p4d)) >> PAGE_SHIFT) +#define p4d_page(p4d) pfn_to_page(p4d_pfn(p4d)) /* Find an entry in the third-level page table.. */ static inline pud_t *pud_offset(p4d_t *p4d, unsigned long address) @@ -859,7 +861,7 @@ static inline unsigned long pgd_page_vaddr(pgd_t pgd) * Currently stuck as a macro due to indirect forward reference to * linux/mmzone.h's __section_mem_map_addr() definition: */ -#define pgd_page(pgd) pfn_to_page(pgd_val(pgd) >> PAGE_SHIFT) +#define pgd_page(pgd) pfn_to_page(pgd_pfn(pgd)) /* to find an entry in a page-table-directory. */ static inline p4d_t *p4d_offset(pgd_t *pgd, unsigned long address)