Message ID | 20170627145903.15908.84218.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 24A6D60351 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:01:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 156C027FB3 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:01:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 056D328553; Tue, 27 Jun 2017 15:01:27 +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 CA1A82818A for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:01:25 +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 1dPrxR-0003sy-TF; Tue, 27 Jun 2017 14:59:13 +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 1dPrxQ-0003ra-7b for xen-devel@lists.xen.org; Tue, 27 Jun 2017 14:59:12 +0000 Received: from [193.109.254.147] by server-7.bemta-6.messagelabs.com id 96/3D-03620-FB272595; Tue, 27 Jun 2017 14:59:11 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1VSW0gUURj2zMyuozlyXN38W7LLVpTmbR+6Pdm GpRmJFREVUaOO7sZedGas7SXMFg2xm5KQmi6uEaapFWRkhYoKiZkZapcnNcQsITOyCKs5zVY2 T9/5v9v88LO07ozWwAouWRAdvM2oDWQscZGJMY/FvQfj21rCNtfNeJmtKLm77TuVhg5prI50p +uYxjJX8pDJuRziGp835qPh4GIUyDLYTcOPrmqKPBAuQ3BrpJQmDx0upKBx5BNTjAJYLY6G4e nPFMGheAcUfW3/jcOwh4KxckwMNJ7WwuP+Pi0hKLwUPLXXlSRW6VgDzVNJBHI4GS56bUQRgHf ChYl2mmCdMj7fMetPsB4vg/oXbg3BHA6BJ1ffMsRK40hofhBHxjReDq3TVb+tgFdA69ycVsVF CIZ+xquRq6FidsBfnUdA99MqRsW7YahtUEMiAa+CXneqOr5OwYzXTBYBfF4LH1+O+DKjoPbGN x8e84fJ0QxVNKaBOneHr+AeA4VT61Rsgw/l476yw1DSVuzT9Glgfl5WzdMY6pvKmEsopmLBnh X/9qxYsKcH0TfROkkQTwhijGlTbLpozbbIdt5qizHFb4y1C5LEZws2Pl2KzXDa7yDlHvyU7z5 6czutEy1hKaOea4C9B3XB6c7MUxZeshwV82yC1InWsiyu7S7YZ2AcTodgBK4mV5GFiEK24Mqy 2pT7+qMENsgYxg3nKDQn5fB2yZqtUr1opSGcE4kPE8KS5/hr+3OZgyjCEMoh5Z90QTmCaLfK/ /NTKJxFxlBO61RSgqwO+W/6lFJMKcVMdRoplvl/lCEflUTrJ4+Et3pDR+n1rwrcvVcWb/NaC1 KWpVZVNjXYTH71lXn+5glav9/Mye/fmXsd7K5bx5896u88+brb0VI7smi0p3LJWVNS3heZbWw o3ZCS1XHONbClffZyc+4NT2ZldFdDR3jiMTnBfEDYbE+I9PTsqXleqr+7/eTp0WvnDD+MjGTh TVG0KPG/ANBl2SGUAwAA X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-8.tower-27.messagelabs.com!1498575548!99426089!1 X-Originating-IP: [104.47.41.68] 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 48074 invoked from network); 27 Jun 2017 14:59:10 -0000 Received: from mail-dm3nam03on0068.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) (104.47.41.68) by server-8.tower-27.messagelabs.com with AES256-SHA256 encrypted SMTP; 27 Jun 2017 14:59:10 -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=BDehJHNPlAieNDfwtgFcXcyXudfeKkV6Ou5nvTHJknJh/ec45Pb4Fic0klPUXHHLNAZhso6GAmkg7q7r3FeO3hy2RMzvLqPZOusglyo3PaMjNL+hgZC7vWluYMw0l3/fmsGpi1MqO8GiL6WOcE6YnGIiJhVNqc/ztuCBU0BY3Ww= Received: from tlendack-t1.amdoffice.net (165.204.77.1) by CY4PR12MB1141.namprd12.prod.outlook.com (10.168.163.149) 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:59:06 +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:59:03 -0500 Message-ID: <20170627145903.15908.84218.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: SN1PR19CA0012.namprd19.prod.outlook.com (10.163.220.22) To CY4PR12MB1141.namprd12.prod.outlook.com (10.168.163.149) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7c5139a8-ff96-491c-fb4f-08d4bd6d0f94 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); SRVR:CY4PR12MB1141; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1141; 3:jj4rATJqxRj5cefPCKu+NsccEkgWeFbH5CXSTr3iZVOYLgVNUlAj/YQHNlVHiUQLl/+f/3gkDe8AwNkBawx11oj99n5hgeqLYfoAJdsQxId5sAW31Imc0Mun0cPhxQGbrwotHkw7ZgrQmWFqEQ5hzgADj/q8j4V9f2FGOzbw1QTWCxCGmbAMqttqivNpCRW63JbDiluOEjiXMu3P96ZimlMeA9M6LnNsISzpg0L78L8mjir86GenVyr7yFe07M8XPqzrYGbhTmiIJfJWJ77HaGQhnbi7cuwczNH6oCX2k2GFMsyPhLMMrVDHbvQGahazQb4EANDXDuI2r9vWY63Ia6qJdfeqI2b6zAdewplRCOnPXE9nZ/UiLvrxNA9wOQHmE1//R/lNlTzLZc3dLgttSyHb5Jnam3IT1A4pYLgC3Sd6hRd6dw/JZm+XSLmGvgF5Omb1DHJXuj31GrpWtGmYpyarLCmZdEtEgJ5wi6V4BOb/f2CwcnRbIf0QVBS8yrLDkLRyAh9Z/IqEsHBduziv+eo58KSXDr+P6KaoEnNyHMaLHtY8J7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ErYcvBYP6zGt7carrpp9wMoTIe+HK3qcDV7tkGqFv8Cj55RAbWwR+6NzSJwEt+wsCi6IX0jgRmI9W1H/8M0XNEBJSkZ5rAL05bT4lgyl9Uc6uo0txnKZ1UrZCS9k5SbNcpAP1IiyneYm8x2Pub9uqaBZHrMWZiBqBPecPQ4JUntGQqXroE1hAlYwmK4fwoWTvWa0png8EqjwMOcKmamN5NH3OLGLTEZdvljHfhtGekQLpMKSeL3rUOWXd/wWlaXfz2/+7AB39MjG/22NMW2T0zO9DubuB7nSOGoJvbCwcFy X-Microsoft-Antispam-PRVS: <CY4PR12MB11412545132DC55B7A14C231ECDC0@CY4PR12MB1141.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)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR12MB1141; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR12MB1141; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQxOzQ6dGI5VURUOUZXMWY2NSt5NVp0NDlTRjFHUUpP?= =?utf-8?B?c21UK3Y1dVd1KzUvOVBmY01mdmh3dUw3TUJmaSt0RlJKWEhFdzRtZXVyTTk2?= =?utf-8?B?RGluanhENHVyNWx5V1hZSUlNVWUzT1JKa05pd0FpZ0FiNW9UMmtML3FWeGY1?= =?utf-8?B?cFNVMFgvNWxpWC9lbXZSWlg0Smc0dk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OU94QzdKTlorbkhnOWFwL3hDeFhyRkY3NFNXbGd3c1R6UDRZTlc5?= =?utf-8?B?bzhqUXBnaHdYUWNyRkdaSHpoS0xRSE9kelphU3lsVUhUcUwwaUFzZXZiTU9E?= =?utf-8?B?dFhINWtucUpNUmNUR2RjNGdnNDhsNXkrK3dReEJXUWo0REZqQzJoQVovQ3Ru?= =?utf-8?B?VXM0U1lBNXpqNzVEQWQvaW8yQjRzSzM0QzZ1akN6eVlkVW9RT2VxUG9oQUhZ?= =?utf-8?B?T2J5K0oyT3JVU09hR1dpTUw4MnoxVmNZRXFrUDlTbW5PRVlRSkZZR2tPRi82?= =?utf-8?B?aTREQmtPaW9MamdQRlNrVGtRcjFMTHN3cnhSSS9nNkdQdW9tSEt0VjExd3NC?= =?utf-8?B?bGs0QTlHY2xnbEF6Ukhwai9DaFFUYmp1TDh5TGlaN3g3R2o0bHp4NEhsNmps?= =?utf-8?B?eE5kaTRCTXVZMWFYVFFTQXFyWVJjK2V4Nm1DQWhGdnJwM2pRK0Y5SjVtd0wr?= =?utf-8?B?dHc4dVQvZGhLMVNoMFcybHBsSHdaeXFNMm53bm8xYVBzdm9ZRjlVcEtuQXlD?= =?utf-8?B?bnZFUkp4Skx1UXFhNWhTZUlSRXFCZjE3L1ZBNTI3amorNWZROEE3dHVoKy9j?= =?utf-8?Q?0xxxUEK/KQ0oqOcS01f9+XU/oqcCWu/F9YO0UN?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39860400002)(39850400002)(39450400003)(39400400002)(39840400002)(6666003)(54906002)(9686003)(2950100002)(6116002)(55016002)(83506001)(110136004)(38730400002)(2906002)(54356999)(76176999)(23676002)(53936002)(8676002)(230700001)(4001350100001)(478600001)(25786009)(50986999)(3846002)(4326008)(1076002)(189998001)(81166006)(33646002)(7736002)(103116003)(42186005)(66066001)(47776003)(50466002)(72206003)(53416004)(97746001)(5660300001)(305945005)(86362001)(7416002)(7406005)(6506006)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1141; H:tlendack-t1.amdoffice.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQxOzIzOms3RHN0VHVUTXdKdUdNMGdvU05Lb2R4TWFa?= =?utf-8?B?QSttR0VnYitNeFViczdzUTJMdUpLSkJGRW1USGFjUmRielVBaWtQdnVJTVRu?= =?utf-8?B?WlpXVWZ3cHJTOFdzOG5uMkpubk4wVGorZGRCRXVXd0kxdDhEdTNoc0lBNWVu?= =?utf-8?B?emhuNUwxU0pPWXpqR2crcjJ1RmlqakpIOE84alBhUWkxM3B1YkhnYldWVzNO?= =?utf-8?B?K3o2bDkvQ2k4T3RIQ2xtUUVPTzBmRFN0V1h2WkpiWkdpOVRzZE5pUm5jODNk?= =?utf-8?B?eVY3MjJJQWM5VXMyUlJZNE5PVG90ZzRLbW52TER0bEY1SlZXclk1bHk5b1Ny?= =?utf-8?B?UTBQSDJZZXNOL1ZWRFhNdlJReDIrbUJVZGpsYitUZkJHeXltbTZDcEJkK0ky?= =?utf-8?B?dGYybWF1M1UyaTRoakR3Wk1KdlEwc3EvcTZKNEhEaW9sNGh0NjFBKzJFaTFk?= =?utf-8?B?Z2FhMnFtM2xSK1dSOXFwZ0swMnFFdnI4WGlqaitOOFk0R1gzSWhsMTFJZGdp?= =?utf-8?B?NW1TZU5HNi9ZNlc3Q3VHTUZlU3FBSXhtVEZ6NERtSlMrQ3RiaTg3YWdWREF5?= =?utf-8?B?cTduS1ZFbTFqZjYxV2s0Zk5PdnN2akV4UHlMSUYvUDM1NjhoSEE0T09DRzhN?= =?utf-8?B?RHA5SHdwbkljaFpHNXNySEtrZUVDekR6Q3kwcy9BTjB6Q2tFZWdsNE5wRHlk?= =?utf-8?B?MEphaG5iTnlQQjM1T3BOQ3I2NGV6bkc3eHlFcFFtZ09pQWNyTnppdzYxU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sRK9VmGDUHk1yaQrCGbn3q59h/oF4ZTCPgVhGO3iUWXMiYyotfniWEpWU569Yz7wV05TzpbRYC+MVhLtw8lZPWst8= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1141; 20:Q0Uj6pfG9NMomz5bY7gNk59oTy4Q+aytNx81VY436c1IOhMDhuUaYtsg0tL11zCzUh7KFLksU2BJoRavFBGcQJ029TcW+CBlNSZUbIn7sw217ziTHzg5n+m3+7wj40lQArg1RIiaWpODwzNbdoUXG2Rl/FpM9cMTLB6ysZXMClfYLgaxsSoMml2xxZcO2U8Zjb1aR37iVOhVx09XaUIsx4EcScKrHwI+tK/HIMTfI9c+OnqIZxB73qucJyykTkDh X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 14:59:06.1901 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1141 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 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);