Message ID | 20170616185253.18967.55724.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 327F860325 for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:55:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1307F26223 for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:55:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 771562865B; Fri, 16 Jun 2017 18:55:12 +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 6F8C526223 for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:55:11 +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 1dLwMn-0002b1-11; Fri, 16 Jun 2017 18:53:09 +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 1dLwMl-0002Zq-Hf for xen-devel@lists.xen.org; Fri, 16 Jun 2017 18:53:07 +0000 Received: from [193.109.254.147] by server-11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f7Qw 93R6sVLEaZmYcNLMMf8AHBdvq5cDAAA= X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-10.tower-27.messagelabs.com!1497639184!84868750!1 X-Originating-IP: [104.47.37.82] 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 50505 invoked from network); 16 Jun 2017 18:53:05 -0000 Received: from mail-cys01nam02on0082.outbound.protection.outlook.com (HELO NAM02-CY1-obe.outbound.protection.outlook.com) (104.47.37.82) by server-10.tower-27.messagelabs.com with AES256-SHA256 encrypted SMTP; 16 Jun 2017 18:53:05 -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=stzAOh7xF3bCcaM53h95yFus41wP95UPKx4XkZHxj/0=; b=mjgAEsZysBNEz/+wSP9pIB9vgIf9fS1QPAlEhL8b2cYOVXk1PNfdDRyAQKngP8W/hM3eInHnJ/zhH0dW+7czhTeyvJRvUSZru9dz1tj7/wYzRpayOpVIQ9QhOjwzdNll8XaMb9P+eeQ4frB4IRR0+F0NEiTOR9agRdwFgjmedhA= Received: from tlendack-t1.amdoffice.net (165.204.78.1) by CY4PR12MB1143.namprd12.prod.outlook.com (10.168.164.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Fri, 16 Jun 2017 18:52:57 +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:53 -0500 Message-ID: <20170616185253.18967.55724.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.78.1] X-ClientProxiedBy: BN6PR1001CA0001.namprd10.prod.outlook.com (10.174.84.14) To CY4PR12MB1143.namprd12.prod.outlook.com (10.168.164.135) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR12MB1143: X-MS-Office365-Filtering-Correlation-Id: c082b774-134d-4315-a4dd-08d4b4e8e999 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(201703131423075)(201703031133081); SRVR:CY4PR12MB1143; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1143; 3:BC930b1QEH51iyExdTFeYKTNHhy1qOgc0UEMPLb5PLRiZwtiOiezvyGipfKYxT0i2HWa9CAJYcgwMxOh0bx1A5CAJolrIXsGLM9GtciYwQTcbfDfiqzGOizQV72b9XKU+L/LZVaJeUD+QDcKd1LX3o0muSBzxdPctk5PZAPCKCAL7owyLkdmoJvwS5VQ9WOswk89gq83GziTzmutmZsMzoZMSjuNFuAQTMkcklU2ICjlUPk+eZ7DuXCUV+cRQEWXsGqRGXhIrFTeTh/r1JwCeWnafiAHlypnRN2wP3z0ESWUAphgZGLqLSy4g7b7JTQO9kTnXhU8Bb8H1SCm0fW1ZcV/KnGiDZG5dcYEgC3WNCU=; 25:oWmZrtSorm/ZUN22bBRjaoUcLBE2ZkT1TlNRNefglCMhh27mUPsrVeqfq3VjdPeOfWE1s8+50cjEym6uj2WGzqUmoGtVPTIAMpvFHTOApJOjbD/Zn9q2Bqk14HXYE2gkMIXRklNTZ+43h01uv+Qo0eC6Zzzvbh8qTjAb88uukCojt1fA6DzvBNhRrV77H118S1SwX9IuOZjC+rA0IuHbg2qRGZpq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ispam-PRVS: <CY4PR12MB11436C691FFBA4D91A22B5F1ECC10@CY4PR12MB1143.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)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR12MB1143; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR12MB1143; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQzOzQ6TE5TSklrMVMrQmRmakFLYVhZWDdWVVlYQUs4?= =?utf-8?B?VDZEM0FVeVd0aWc3WUxHTmVDUk9nSUdZRzQyTVNrbi95dGRIZ2lSQ0NyZWFG?= =?utf-8?B?SDRSbGszWE82OHhuSTdKVG5xR0drR3F6bGR2d0FjNE5oRDdXbWEvQ0duOGxn?= =?utf-8?B?RCtGemptaXlkZ0FiTHlDZ3FSdEhEbnFCTjlQSE5jRkZuYUFMcW0vRk15cVdJ?= =?utf-8?B?SG0rTzhpYVRwYVgrMWFWelIycjdBNmJBWjBwOXdKT2xPRDd3M3BFaWR0bFJV?= =?utf-8?B?NFc1cEJwbzFLZWpMNUdLK1k2SzJZM2ZZRVpXVHBqRkswYVM2aFQ4OGF2eS9j?= =?utf-8?B?d082RFJJZ0E3OWhEbFN5bEdlTk9SSE1mZEMvaGwzWjgvOEFXQ3hWWXNiUUt1?= =?utf-8?B?MW4yZVVpL0R2WFY1dFMrSUwvR1RQSDRaVC9oQkxOdm1PMkZSOVlBd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ya1lQYmxYdzBwZTFUeERnTEhYZmhWbFBMZkpl?= =?utf-8?B?SmFuaUpFellBeHNvVlphbE14VDhRajd5RjBFSGRmUDVKemdEZURqb3NydE5K?= =?utf-8?B?cGpmMjBZbTAvQ3lvTWFza2lNZjI1cWlNbjU0d1BvbTlFYmg2b2V1bzlDSGY4?= =?utf-8?B?V01qUzQwc1ZVMjJCZ0tlQUEzSStQMGY3VVM4bjY2ZTduT1ZFY0dwaGVFSXVh?= =?utf-8?B?ZDR6NHpjSVhhT3A5OXcxZnJsY0FqSUFIREd6d25leENVdnRvUExwdnZIZTcz?= =?utf-8?Q?TVwwYDdkbOcxwdvilMO?= X-Forefront-PRVS: 0340850FCD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39860400002)(39410400002)(39450400003)(39840400002)(39850400002)(23676002)(7736002)(2950100002)(6666003)(305945005)(55016002)(1076002)(4001350100001)(53936002)(478600001)(3846002)(54906002)(189998001)(230700001)(6506006)(9686003)(86362001)(38730400002)(110136004)(6116002)(2906002)(5660300001)(7416002)(81166006)(42186005)(66066001)(53416004)(83506001)(72206003)(50466002)(8676002)(4326008)(50986999)(54356999)(76176999)(33646002)(103116003)(47776003)(25786009)(7406005)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1143; H:tlendack-t1.amdoffice.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQzOzIzOmE0NEE5MzlzdmcxdFRab0J3WGM5S2lBMkQw?= =?utf-8?B?VjRSNnd5TXQ3ZHMwODA2dDcvTm00YjhjYkswRC82bklJSURZYm1PaGZ0Q1Ey?= =?utf-8?B?aWJ0dHVVbHdaZEhab3RlYnlwaGlTenNydDc2VFdBWkRRQmV6UkNXM3pkLzN6?= =?utf-8?B?Uy82LyttanRicytOb1RiUFhOVEtyOTV4TEI3LzFmQzhrcnQzV3RUR1J4S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ZmJa?= =?utf-8?B?T2ErOGZCRTNKdFMrYTYyMm1PUEUzQUdaV2xHWkIvQys3c2VJWVVqRW1MR29I?= =?utf-8?B?azJMQUxzeTlmeWxRU0V3SFE0M25DV0dFWngwck5uVDd2UXNUaFpWVmFxNlBj?= =?utf-8?B?NWZIMkJhak9UMFhGK1NQWVozdnhpZ2Y3WXl4SkMzam8wWUI1aVppcVNGNm9o?= =?utf-8?Q?Qkn5sdY?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1143; 5:0AZsFHxAe1slrK39bp9Y1cNeoYP5KDIsi8Kt/RFTE8hK8ISpND2HZ+3gF57VpLdOxjiMGWgyDPoprJhvjm4h074mHSPB8LFywY2BugUb/W5q+a2jTZgb4F9bCNY+Qjhnl3ExdozOQFSLQJzUpQy3yfDEchO+y9YAL4vQtV5Oo0MhXWMrldYd33jOnu7rOonUL/DClQtyW3HQEYeld4tPJbAI6Fr+BAl+9wl4exNexBTOEeTN9wlkrpY6H3xaqOuyT20yygZ0uWhofUcfaiNqHOTIFsRQIEhHotlWnlxHrx7rDZwcAL1blGtFSGrrQsU3flIfbqxMKVmwsP5XA4EHGrxScEwhd1CIDJnW1jhAIDcktRKNqsXa8d6aOserSPj1MRljlx/6CybnytlyY09+cXOBU2K4Jy4V2g6GUUV5GPX8IiNBvt1EFKzqH1Qot58sa8Db/UPJFpILaPjweNMQk14+JmGezFBXieBoTZDPAVIuHcfg4LTIJCoZjr7h2gEL; 24:YM2gwJgC/6a86L9jFdiOjcNXtQjqFM0gp/HgBlqmoiqUOQMbMWOjd1puVvl2azZXSmxCPw6/05eGMoVmdrBEIRUuLQMhocuMS7HL6iH7PMA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1143; 7:x8ulA9WXb3jC68k1cIwSpOJCLqoTD08zEjRlE2diDH2bSst7Qeu4OZuxuws6iObltknxLL0nhQkc8KzVPTUbWxA/SeB06QcuGPS2cdY83aHpBGsnTUN2RFF9fAH3ISSkRA2xmVGzwI+XltIzCNUrOiTs3FcJ8FHTXFUgEDqCsxm5pWnoKXTsUJJVkYVvEf93pPjVf/zwaS3RWLAmD5k2vnD3+wkeZPbATLGf3LEWSYEqfvlisOtIKVYzVX7nUVobOfooG8gtDnxqw2YzUVRgacjBU+EWmibWp13+G220JU8MUmlwf3MV+EohpKKRVXpisgWoDK6d/FePPEsyWveZEA6AqMMFUm9O9/sGqWlY7G/ocayivD80xR7eaDt2h8nBf0kLpLRcfR2z5fis1HPGbg+ech4lWT4F4vOtm/3J8E/nPxhRiF/sMzUF6CPMb9kXfyuCm94mfvLCA5h57xFmgBgX9CY1dDE4onGfjwY11FPphkoeacrMI2AjcgQzlk8nwVHJTGBuGjHmF8ypjTt5G/GSlE6O0o9HNNXzwg+3fUNzWO7xrk7ahI1id9OP43tfkwTag3yrryvswHeX8WO2ePZZWSvZdc8Nx29iYrtp0C5HIZmH+1kvPIJ/7YS3SdExXtK+L7LM5FCQnJh4GeLYxI3KihRx2j7zpLs88XBS2hjXNcfHI5Z9hbtKaRGjEHic4SMU1xxSPOsjsl4TFf4dxGJMVb6MtStEsvbNASOrHiIXBKG94b2M6FiAEWziCoL3pNQwL8ztlqKgjtJw96eISsHoCd3o0OL6MmymPuYgRZc= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1143; 20:Y6hI8eWWx9bJwKxG7cLaumnh/o3zzP4F+Q6jI+cOQVab9DlA4M6WE38Q1UizCEOstkes4sjdMhCl6LKCq6tfRArhfBFsx7As0b+KHm6HhZyj58Mr0Ajq2RpuEcwxG4U2WVnJdniGsrV37IRBBgT8z5yMXwHqosLwR5I3BLD5PYzv2xgl7ZN4RxCE8RJTo6/UmeliuFjAwvqLGhI2XdUhBgoJZKAN1TcHk/FfVcdzmX3o7l7cbCLjaInAM8L2qh8M X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 18:52:57.3155 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1143 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 16/36] efi: Add an EFI table address match function 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 |
On Fri, 16 Jun, at 01:52:53PM, Tom Lendacky wrote: > Add a function that will determine if a supplied physical address matches > the address of an EFI table. > > Reviewed-by: Borislav Petkov <bp@suse.de> > Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> > --- > drivers/firmware/efi/efi.c | 33 +++++++++++++++++++++++++++++++++ > include/linux/efi.h | 7 +++++++ > 2 files changed, 40 insertions(+) Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index b372aad..983675d 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c @@ -55,6 +55,25 @@ struct efi __read_mostly efi = { }; EXPORT_SYMBOL(efi); +static unsigned long *efi_tables[] = { + &efi.mps, + &efi.acpi, + &efi.acpi20, + &efi.smbios, + &efi.smbios3, + &efi.sal_systab, + &efi.boot_info, + &efi.hcdp, + &efi.uga, + &efi.uv_systab, + &efi.fw_vendor, + &efi.runtime, + &efi.config_table, + &efi.esrt, + &efi.properties_table, + &efi.mem_attr_table, +}; + static bool disable_runtime; static int __init setup_noefi(char *arg) { @@ -854,6 +873,20 @@ int efi_status_to_err(efi_status_t status) return err; } +bool efi_is_table_address(unsigned long phys_addr) +{ + unsigned int i; + + if (phys_addr == EFI_INVALID_TABLE_ADDR) + return false; + + for (i = 0; i < ARRAY_SIZE(efi_tables); i++) + if (*(efi_tables[i]) == phys_addr) + return true; + + return false; +} + #ifdef CONFIG_KEXEC static int update_efi_random_seed(struct notifier_block *nb, unsigned long code, void *unused) diff --git a/include/linux/efi.h b/include/linux/efi.h index 8269bcb..8e24f09 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -1091,6 +1091,8 @@ static inline bool efi_enabled(int feature) return test_bit(feature, &efi.flags) != 0; } extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused); + +extern bool efi_is_table_address(unsigned long phys_addr); #else static inline bool efi_enabled(int feature) { @@ -1104,6 +1106,11 @@ static inline bool efi_enabled(int feature) { return false; } + +static inline bool efi_is_table_address(unsigned long phys_addr) +{ + return false; +} #endif extern int efi_status_to_err(efi_status_t status);