Message ID | 20170627151017.17428.9460.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 128D860351 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:12:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0350B286D9 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:12:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EB30A286F8; Tue, 27 Jun 2017 15:12:56 +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 2E649286D9 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:12:55 +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 1dPs8L-0000pp-F5; Tue, 27 Jun 2017 15:10:29 +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 1dPs8K-0000nr-2F for xen-devel@lists.xen.org; Tue, 27 Jun 2017 15:10:28 +0000 Received: from [85.158.143.35] by server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N7PeWUfqmOOprRO FpTlxmkpwchGhZK8wP4D9AF4pZcDAAA= X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-8.tower-21.messagelabs.com!1498576225!75782857!1 X-Originating-IP: [104.47.38.61] 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 59801 invoked from network); 27 Jun 2017 15:10:26 -0000 Received: from mail-bl2nam02on0061.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) (104.47.38.61) by server-8.tower-21.messagelabs.com with AES256-SHA256 encrypted SMTP; 27 Jun 2017 15:10:26 -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=rx9s+oihZA9M/4viqGBQ82k2m+x0lSa8RDoJNJ3T0eA=; b=VxGHes7kJeZEbzAtGzw3ypAd354HBmxdyoKRUiy0NkwvZwhS+uOEA2D5zWwlCGjWjBca5T4qGm37LiZwkHxPIEnO8XYzKxlnFecaJE+CUhzI+11FWz2YuKRFvWRDpcOXY9oRe6lujEfjCKPN/ZQQyNb9MPyuWvObA0D2OP3EAxc= Received: from tlendack-t1.amdoffice.net (165.204.77.1) by DM5PR12MB1147.namprd12.prod.outlook.com (10.168.236.142) 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:10:19 +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:10:17 -0500 Message-ID: <20170627151017.17428.9460.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: MWHPR21CA0049.namprd21.prod.outlook.com (10.172.93.139) To DM5PR12MB1147.namprd12.prod.outlook.com (10.168.236.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c1a59c9c-8073-47f8-8696-08d4bd6ea23d 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:DM5PR12MB1147; X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1147; 3:JBrqqmdiundAkbTkfSBN7yvTHIoUadGihP7Vo4KxiiUOEqB9ApfYUrVwRswoSruB6UMnMsxQHPlXbdJPq6Uhmbmz3xKQl00z43+ATdoNJJXJ0y0L+mwBsdkjtJQH4n9BlRXyKXLC1qcHtJR9PCbD4ww1YYhbJpcZwO9H15ZYRfEnRy0fmfIT4EKyLpGAD8RPBr2vbkTNqxENttmNupwusV5yz4ade4XKyqOhWgtAAGwECKtFJwcfuTnOApOWkQPEAbAx/tPdk1QyZl+udSNOcjxjRDrUYC9mY1/ae47Pja5/Kp48umijKjM/PHsDN4DWN7VVqGKAYqeJdKF0FEuIS9PO2WZOq4kgwK9iNRrLsPmqvWWGhXCV1JseYoEGYvNwPKwPYwy3ZL/o7Jjk1Jwv6qd+PIZ9YAyFIB3mMSQ2RClcet9D/k687if1wJZz8nt1qQJ5aWKUYizAfmEOzyVVTLR4zesqNhOuMS9lP5DefN8nfuN5zxqPBiom7/CwSEpK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fMFaoWp3mNI5Ugk/GnoJH3tks0YdZjkxnavrvOgTUWgRYrPy53wkzvJ3VgFB4FBMpH/+695xkvrtGGcHDhSbmm/6+aNL8ZKyVNbutvGEC5MzZ7H41pgCEOkE9ypdVWEB6vzadc1NBRiwunYY6mbtFcfLipOTweLOSVw7C6OjuBF3ZqDFWVr42Wik8odVbpunnk9z1r4Ly0w1qcjCfTo6PdLydkUqok19wbWf50PxQE+6/fazxzsH82/sMDIf5hu9lHHJ5IJgoyeHXB/l9bTHgtFOiUQ1XUwzk9KdkWTtwFoZoTIG5NVFUZNKoPU7AxbKGNjHAKkUSlTLHxExu6ddFqXclNOPtUaNIvkEY2WPqpROPR8wJoSXMfvseguEuZbRV8jo4XbZXpd7hLza8HDRbtb70Ds/nRK2KUj X-Microsoft-Antispam-PRVS: <DM5PR12MB114753675232BC14B5783292ECDC0@DM5PR12MB1147.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(767451399110)(167848164394848); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123558100)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR12MB1147; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR12MB1147; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjEyTUIxMTQ3OzQ6Y0h4N0I2T2ZIQlVRRHZvbTA2YzFLZDN0ZmJs?= =?utf-8?B?TURIMTlLUGY0ekowMGlGN2syWnVZdmszQm95MTNXRkE1NGZMaWpGOHpT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qTFZoTkk1c3JHVWRjY0RRckN1NWJHVURu?= =?utf-8?B?VHJ4Mlc5RjM2a2N6dHd1L2ppbUJ0cWFCV3BJa2pGQWhiU1I0Y3RkcWdWYk96?= =?utf-8?B?bmRuSi91VWFwSWpJQ1ByaEcvUXNHNTNIcVZrNEROckwwem5kcmVRbHRSZER3?= =?utf-8?B?a1RRd3Q4QjJNUTVYQkd5aEVJa2d0clhPMHQ1NkJOSDJqaitmNUFXVlJOenRm?= =?utf-8?B?ZDlJTVBzMkFTYndDaDd2WGJZc3AxaWRaZDdzQlJhb3FoZ0V1TE1wZEcwYW9w?= =?utf-8?B?SXhlVkEya2E0a3pTWWcweDcxcU9JbEZGVUduTDF4aFdNR2xoRCs3alRNQlRD?= =?utf-8?B?TjROdVkvSFhkZjdraW8rOHByVFUyeGE4RVc4am41QWh2dC9zWGx2WTVFZlhL?= =?utf-8?B?QjVhSFJTUWN4VFhDY2pJM1RXQWhIY2RFU2FBenRjaTlkQm4xdlZVbkFiQVlU?= =?utf-8?B?ckJpZXpZWlpaS1FWRG9pR2h5NE9SVTlxbURhaUhRTTVXc3ZKN0orS2hlNWZQ?= =?utf-8?B?cWx4Ti83SFk4cDZKNXdXazNoK3JEbWs4OWM1NmJndGkxS1Y1SU9rU2RaWHVE?= =?utf-8?B?b2lYd3BTTkhDUXhxeXFGajYzSWlqR04zVkZwL1prTWpSTkpvODc0NFJWR1VJ?= =?utf-8?B?TjZLTytJd3BwdGNaS2ZTL0FCN25sRHBoUkZDMHR2WVJvR2cwd3ZZb0pMN0p2?= =?utf-8?Q?j5118UbubIxrQKHhTtpN2KYFJE8sSmUZY8/GBr?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39450400003)(39410400002)(39860400002)(39840400002)(6116002)(230700001)(23676002)(5660300001)(50986999)(6506006)(76176999)(305945005)(3846002)(54356999)(55016002)(86362001)(2950100002)(53936002)(7736002)(42186005)(50466002)(83506001)(47776003)(7406005)(7416002)(8676002)(53416004)(9686003)(2906002)(54906002)(66066001)(4001350100001)(38730400002)(97746001)(81166006)(1076002)(110136004)(25786009)(4326008)(33646002)(478600001)(103116003)(189998001)(72206003)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR12MB1147; H:tlendack-t1.amdoffice.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjEyTUIxMTQ3OzIzOm9CTE9VR0YrcHdFTkVlT1ZaZlZRQ09vTWQ2?= =?utf-8?B?NzExV2pMTGozcFV4NklINXFnbGhHWGdObDlYekl1Q29rV0U3amJGZzVqQ0Vo?= =?utf-8?B?bDNvcVZCZ3dOV2VwSWNFaU1vMG04a0VPaVp0djlZb2dpQ3hzMXRIZDQwQUlZ?= =?utf-8?B?aXlZNVFXbHRXVy8yL2NsTDAzditNZmNKeitHVnQ3QjB1N2t5ZzNXR2NndlNv?= =?utf-8?B?eXl2dzZITGVYbW9UNWNMN3lLUTFuVC9taGpFQm9WZk04NGR1UXVTZ1dZREJC?= =?utf-8?B?Q1J6MEt5UDdBb25lN3FEbGJQc3VUeXFwUnB0bkxuZDluZVFYWWFGMVdnTmY0?= =?utf-8?B?U2VXZE5XUDV1Yy96UVp3SFZPT0dTbW9OdktEZWtkSjFOWVN2Qk42V2xWeDRV?= =?utf-8?B?blpXdHRJOElnUFBGL3Rxd1pOSGdqRXdiNVhOMUJxRjM0Ym53M2hvbFp5M3V4?= =?utf-8?B?UExmSjd6VnFwY3dHeUxDaVBaZElVa1EwalFKWVg0L3JVTGl0UkxscnNMVkxU?= =?utf-8?B?Nk9FUE50ZENRbWlkTUZTaEZoZFVTSEhEMzhjTHJ3OTgrT1hwdnYyd3RsNFlT?= =?utf-8?B?cnJGMFc2UGxqcmtQUGx6U082K1RoOWtKR0FianRCcGZLejZFdGVpalpwbVQy?= =?utf-8?B?ckJ5Zm55cVlUU09rT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ne8g92dgW2xLbEgv/dkwBFWRHjFZLBM3e0Mh6w8wB3YOTSpKEJsXTKa2cZ2jW/bG+DTBv02fVOvQKutMhzPwyGfJSyAhCP4hIQyPXBQV4sKJuhgiqifLQOhiIppPILKxrLTmXDucAh4F3De8fxj/E3B5BKTvTgD+LvmK4aSb8kxuzOhpJM+G1WVzdzXpplGMSSYIf5WsirLzIHLsmwqyDocLqzy0IQJ6izl8h58lhnn4TRug0Mo50fqkTFBqVxTKUPF9VgsdR/9es0hFudsLN1Hcbc7/atOEUJw89KIckUs+x6IJ+L7n9MXnWZsC; 24:8wTkE+22b1dMjwZUn76qbEqnFXaZXJGeT61NV8+X4NvyoVpgEhukAQRtaGEnxSkCn7lCdoph+n56KPbGYetMrPadt7vud7AxlIzxfDUhc1o= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1147; 7:pGLRIXc6XNzROgNtX31T6zlmN3vDjZsMebROMTdNVs4mPARYXewu29kiiemiuHboda0bvni8RvNlQp35RqyT7udPxpL5FB2uu9Q0/aFMSNYPbsXEswtDRUP11QPTnLZL0tDzlUeCByJS1b12ejMeoClJeVjx4e4lo8xS1W7I+JgC2F1FUNdIqWvG+W+1njBHxXn1e8a8vyueV4eAh11YJ7WTLDgBAW/cpFgRU69H5ODWmAaj+5xzMTkHj/ACdsObjRoYyvcMII08kCRzdCkM46N1HsKi0hCr7gFKqHP2HaF5UsGPpIZ8+3e+fQdjbpIyG/GsWnceJ6vAjHnHRINY8hVyYTRXnSJv6GVljaAPegqhbvfOK39+PB+2v3aHb/rmsaK8gWKs5AKLUoioZU/7tousCLVgNBIsSwr5D2ZRMtRmrQkK9PVu5uWb30iKBFclxscYP3CL16ENjFFzC4VpGOcCB2CATdK6ZeTF9UQh5n6IXickP9FzOYvud5y7tXhLoOKEfR5eJbv21ePpCosbUyP1Qn9fCLHUmv16nidpXAjk1B5v7MUhln41k1tDTmowcJqxfpnTUj5DEAl+jgAhQwCM8VAAYYFpAOJwIil8P0sySuhVyLUULgD7k0lY1TlQLY7DNpn83zu/cpRmoiu+3QtOSkvLHzmInr8fd+evvf0QoKcaHdFeK7cyGU7TZs4dP7wW6TOIyxHXZXMCXZELVplHiozeT1hgRQ3GyrSUG0YIpCNaSi3IposDsRmC4PRHtDTt1Im48lcTQlndlwNlyy5gCiKN24dYZjSblEaMeM4= X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1147; 20:/YZVCo+rytq1J85d4WvHUVC0RrRZ11EDri1GEVeBxCsJqujVTdQFmr2g/8lhCztY48ln0Ba4Tv2WHwCHUljQeYWupSHkySGKywJAk7SUagvKuePa/zRhDQPRMnURJhz+jPkmOq5C0XgjuXRNy7pksUAhVyaNb41ZT8J6e0FcrIRnGDiqMkvEbGlNavlhNjdVeMGvc0tWvJjSu1n9DXg8IEHFD8FCSrFuXrxKss4fjHhE0OauwF0inxgaGg3K9P9m X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 15:10:19.9263 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1147 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 16/38] 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 |
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index 045d6d3..69d4d13 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) { @@ -855,6 +874,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);