Message ID | 20170616185243.18967.44475.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 C124D60325 for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:54:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B370D2865B for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:54:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7A7D28670; Fri, 16 Jun 2017 18:54:54 +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 716132865B for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:54:53 +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 1dLwMa-0002SQ-Oy; Fri, 16 Jun 2017 18:52:56 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <Thomas.Lendacky@amd.com>) id 1dLwMZ-0002RR-Br for xen-devel@lists.xen.org; Fri, 16 Jun 2017 18:52:55 +0000 Received: from [85.158.139.211] by server-13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9IiA66mhC7xkKFJtf0 1cWOHQ2aVJOCno1aTvAC+xsykuL8lQMAAA== X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-12.tower-206.messagelabs.com!1497639172!67527493!1 X-Originating-IP: [104.47.38.86] 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 43508 invoked from network); 16 Jun 2017 18:52:53 -0000 Received: from mail-bl2nam02on0086.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) (104.47.38.86) by server-12.tower-206.messagelabs.com with AES256-SHA256 encrypted SMTP; 16 Jun 2017 18:52:53 -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=3Dqr5I3Mf0/G+9XmmbGxNcRNyUQtUYO512N+GI/ktsw=; b=MgTgsbJxqKgaIvs7/tvUdbUDHbjHuL73hsebtfaNnTGqvMYaTRj7wZAwwMJhqstXQEIDPOJFC+QAVpGTxaLHNnsFPjq1swGF7vJ4b03OgAdqxECsHIlzL+vauKxczNrfq2RqYr7tOu0GwGRC+PUiYphwigW6mJO11Ogyldeg0oE= 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:52:46 +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:52:43 -0500 Message-ID: <20170616185243.18967.44475.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: MWHPR2201CA0037.namprd22.prod.outlook.com (10.172.59.11) To MWHPR12MB1152.namprd12.prod.outlook.com (10.169.204.16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 92b4ca04-9094-4c8b-d9e9-08d4b4e8e1d1 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:TqkTukhLaqFhvd/6Qxz4AREaL0aMVJKjVjnilLCajmHXUw9HlenQEe77HckF4FxuGnnxqfbkwlfMY1Jo8p5rgFbY2c7cvfld1eOPwQRJxNfPzfpKRxdzGTJlRv69qTKQiquqf1fjNUTSUhoILRhHYkLP03aBKTTK2BpEM3rpL+2Eztl2vmUw38YJac7ZjqVM0E+zCvGKQHKaLMmVkmdyaRHY7HPwZMrNwnrpQv4AkYcaIJgMCTxT75FhXhqUxVPd54RDpEYcLhgHiDXcif/KGSYnZ3zx2/fAMhWK2iZa29bv3K+lUW0N5b+t94kJJGo5CMr4cyd5yDR58G4g3kkqPnEmdstCcpsOUOJPf0L9Um4=; 25:quui+j9aenqu+j7/SzORDD5eEoL7L1A/tmFwq53j6zXMLKdZABYOJTCW8c7Pdr9seWVZqLbcT4tdIoActIlkEYFwfb9OifYlXvbNn0l2UlAO371TEd/NpSu277IbiMDuZh2pAZXXuycGTwlNbhDPKWP/Q03Zf80pzWDT4BGnqj9RmHMPz/qZdzyq7/PqpcIZU4nsFAgXOewYhs56OKffk+gLOahE/ZFtgGpeRX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Igs2MMB/GnyZF94DLl2ZRn X-Microsoft-Antispam-PRVS: <MWHPR12MB1152EBA7B6BAFB3FF41B96F0ECC10@MWHPR12MB1152.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110)(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123560025)(20161123558100)(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?MTtNV0hQUjEyTUIxMTUyOzQ6MWwvY3pBTlhWS212SElRMHNHNkpDV0s3UGw2?= =?utf-8?B?WlJiZGFJVURrMUkwUDNsd3E2NkllU0RWelNWWDZPRkgxdXgyWnljcmFYUlhI?= =?utf-8?B?dnJyVDlkQkN2MEIybjhRQ1VvRVdJcTFFNDZ5MGt3RWs2NUhaWUUzSURlcjZB?= =?utf-8?B?a25ZZlowZEJQd2x5MlZlNHpUYnhoZnRCN3ZXZUZqSGVhMlE2OGk1Y0VGekpq?= =?utf-8?B?QjNFVkpYMlB2M2xKUSs0M3JqQWV6TnBkYkIzUXdkMkIrOS81QWpWMDVYYWtp?= =?utf-8?B?UVVtUUhaUlZmQ01GNkpMdTNJZEphMzZiQWd0aFJZeTRUZEhIODRtRUdCaE02?= =?utf-8?B?aU9ZL1pSKyt1amlxZDFBMFJiMjQ1VTE0M0dLOTc0QVpZRTVFVXpwUXZxSlFr?= =?utf-8?B?V2J6dXRvYlBoUkxp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5Ly91bkNoTjVzczR2VWVoWkFyQmRHcnlsMnhwQUV2cWRYYTV3N0gr?= =?utf-8?B?K05WN3cwMDdQaUthSmRBcCt6cUM1TXBFWTVzYVdwUjlwbkRib3BRUVh3TEVB?= =?utf-8?B?aXNFSUR3MDhWc0l6Ym5PUnQyWitPWnJNc0RzWk5aWS84L25PenlIUnhjOUVR?= =?utf-8?B?WG5IamxSM2JaSHQ3RVFrcHRrL1c0YnNyM1pPVDl1NW14dkUza09lemppdWRs?= =?utf-8?B?VUg5b0JEa29zYzVHQzBTcWJsRGw5VG5UdDR6TUdtOUFNZzVwVE5XdkQ4YjNY?= =?utf-8?B?MVE0cGVzYXJQKzliT1pUSHFGMnJJYmhVVzZxZ0ZqMmwraHQwclNieVh0Zjdw?= =?utf-8?Q?/2y0x7JbuuKBcMAOA=3D?= 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)(575784001)(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?MTtNV0hQUjEyTUIxMTUyOzIzOkFxbkkvQk9hVXg2SytyU08ySVNHaWtDZkdV?= =?utf-8?B?dDlIRldEZEFHOTVvN1pVUlUxZ1BhVnpqQlNic05heFNmSU1zZGNxT3ZPUlFh?= =?utf-8?B?QWpvZlZyVW5yR1RIeFVXd2pZMjFuVz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ZxUDRsdTJsQzNIQlFmUWFpK1U3dE5lZXAwek1RWkh2?= =?utf-8?B?N1hLUkdlWUJXeW51cTE5bk5vMGh2OHNFeDhBc3BaZWY5VE1BREVLTG9vUzlQ?= =?utf-8?B?VjF1ek9hcVkyMmdXbGdvN0ZkR1M5VGhEQXJEbW5YZWNsTEZSbHlmNXliVlFR?= =?utf-8?B?M21IYkdFR1hRN3RTUndrc0cvOHJFUlVUalZvdTI3aDkvVUZRUlVwdUdlRnR0?= =?utf-8?B?Uk9LMGVOLzhoaW8yekJId1ZJaEZkSXNNTDJDaVBZZEtBaEhvYXVWNXVTa2w0?= =?utf-8?Q?RXgjzIX?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1152; 5:RAgz4Slkv6CcpA7IPcCA95eDeDt0+g8fA7KFwZIwNjBkoUQCkZ7zKMluPhCt7XE9KE0Yx1+00rWDiMlwYkfpbV27jJszzd6a3/oghpIDUxSY0iYEhpPb7yy01qWga2i0BVMDE5Tnvstb56ADDqkM4L6NFwcf/YtIOHK7wybNYPR4SqdTCMBLNMUosmLqkAeZ01+4NcuqQzAyclX8NbLUvD79Ae3oBX/aeIS6pNJu68GKHs279KHgZ42K5zWp4AQiS0blEeUiFJc+KvJf99ATQH35OU0gkjY2awFV/ASx7twRrX1q3Taee/AJFFkXjDdEiV41oba1MK/pb4bNLyDvMqeVssK7uF7pUTWa8fc9uGIDFrjWezzff1exLzFncXrwGqTK945RU18HxG+Nl4rDJMGBS5YcgaD3Ru4zDrNcdUkycOUQZ57e/OZ9PVdvI1p8V3R29207rctgSSZEl2r9htUJsQriWv0pmUb8v+u2UE2s8H9eOcX7b046iS/HM9dP; 24:5+DHh3N5nQCiOJOsbKDuJghNXASwM+dYB+3exPCOa3VBTTRi4okjmPIXRlL5ChL3sGsL+tskcai62zYhmNPjFGfQoMGdcWJUSi+c5yqlK/Q= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWH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evTDSt6ObAUiGFvx8Adi3cjqoPfP9Kkq9uVX9qcXE9yIKwdB387jMC54Dww X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 18:52:46.0277 (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 15/36] x86/boot/e820: Add support to determine the E820 type of an address 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/e820/api.h b/arch/x86/include/asm/e820/api.h index 8e0f8b8..3641f5f 100644 --- a/arch/x86/include/asm/e820/api.h +++ b/arch/x86/include/asm/e820/api.h @@ -38,6 +38,8 @@ extern void e820__reallocate_tables(void); extern void e820__register_nosave_regions(unsigned long limit_pfn); +extern int e820__get_entry_type(u64 start, u64 end); + /* * Returns true iff the specified range [start,end) is completely contained inside * the ISA region. diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index d78a586..46c9b65 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c @@ -84,7 +84,8 @@ bool e820__mapped_any(u64 start, u64 end, enum e820_type type) * Note: this function only works correctly once the E820 table is sorted and * not-overlapping (at least for the range specified), which is the case normally. */ -bool __init e820__mapped_all(u64 start, u64 end, enum e820_type type) +static struct e820_entry *__e820__mapped_all(u64 start, u64 end, + enum e820_type type) { int i; @@ -110,9 +111,28 @@ bool __init e820__mapped_all(u64 start, u64 end, enum e820_type type) * coverage of the desired range exists: */ if (start >= end) - return 1; + return entry; } - return 0; + + return NULL; +} + +/* + * This function checks if the entire range <start,end> is mapped with type. + */ +bool __init e820__mapped_all(u64 start, u64 end, enum e820_type type) +{ + return __e820__mapped_all(start, end, type); +} + +/* + * This function returns the type associated with the range <start,end>. + */ +int e820__get_entry_type(u64 start, u64 end) +{ + struct e820_entry *entry = __e820__mapped_all(start, end, 0); + + return entry ? entry->type : -EINVAL; } /*