Message ID | 20170627145912.15908.60861.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 F3BD660351 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:01:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5AD922B26 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:01:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9FB6280B0; Tue, 27 Jun 2017 15:01:47 +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 34F7B22B26 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:01:47 +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 1dPrxf-00043L-8J; Tue, 27 Jun 2017 14:59:27 +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 1dPrxe-000429-0P for xen-devel@lists.xen.org; Tue, 27 Jun 2017 14:59:26 +0000 Received: from [85.158.143.35] by server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VJ5gz3 z4MbvLUGSrLwi+JIUeJ/A/IAFyWaAwAA X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-7.tower-21.messagelabs.com!1498575560!75935189!1 X-Originating-IP: [104.47.33.75] 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 34507 invoked from network); 27 Jun 2017 14:59:21 -0000 Received: from mail-bn3nam01on0075.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) (104.47.33.75) by server-7.tower-21.messagelabs.com with AES256-SHA256 encrypted SMTP; 27 Jun 2017 14:59:21 -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=FuqZSD1tZozvlsEg6pgT9IkGdjVd5ixygOkeIAXM5Hs=; b=DgjjebaF+VHb65Nh9vENGDmOS4J8UwA+Aex0XLENglZkL4CGTTtCD1x2wJa/kHkbirHYfbzVjueDo14lQ9rzYEPTfyqM82AYZrW+tSSYl6O/yG8VnFTOs8eDyiDLCsG+RzFkOqNx6yL7FZQbnKzyge2B151JxyubnbdbKF+kF24= Received: from tlendack-t1.amdoffice.net (165.204.77.1) by MWHPR12MB1149.namprd12.prod.outlook.com (10.169.204.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 27 Jun 2017 14:59:15 +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:12 -0500 Message-ID: <20170627145912.15908.60861.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: DM5PR17CA0046.namprd17.prod.outlook.com (10.173.128.160) To MWHPR12MB1149.namprd12.prod.outlook.com (10.169.204.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cc832f0c-7ec8-4f8d-9755-08d4bd6d1545 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:MWHPR12MB1149; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1149; 3:zjrYSQDpCJb7V4Uq/fgiiBU6v0v6+2RnfECI+vqKVJe8oOaqeXYX0oyAA1Jm1gtsuGEpvjKwMXta6VrwC5kEbfhxIqnO4epMLo0VNjYpgzylsd2r1k0xqJx/uLobczAQ4DS8HV1lOFTQ5Qt8wXf0thbnrO+KHfv77CDEGHU+bEIr0ils/l5DellpUvmxEPHx0uLr+0SoFBmEaUPJGHL8L9qSL+j76MbhRIV2COr8u70erf3HvRYNuq32ftY4viJlLOQokc4UEBkizqVFrBi7b7F40Z5YiSt/+sUr7LQybJPlKco9XjKRDhrcy3ucXlTGm7c3z1Cur4kgMqaap6SYudJajhh1lxOmSCAxga0nx1KfwzAdGmyG8OHtflGHvpnN6vt30yy9tAqCy888H0PJmjZdx3QK2UDsgHSZbdF35oOsRFjkuNm1lc2pnllD/nDAnP5KLHGclw+/FGyCnnyEj51WN3QhfH+RR0Hg0jzagCr6dVsjtP19RvixTplIJBVF/28Vnl9ehULYaLn2YF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8Tv4yuQGqHhsJ2FU8PP/d/eIhgxTmXwA0zF03VCHSsfuozzWqxjLOWNLtM8JTMQv5MYyyDnDOXnHbWF7FbuNYD+UUTv0U/UJagA3Se+ujehNPGygIozE/BHOI7vxJPpS+ni4Rp7EA8nYCwXfBoeUhxirEm8nfgkpSaBlRGK3Qr7dLfIAIkIrqqmhFq7CB2S/dvX9TCnPHla97ZG7o4wy+MDONZiq74L+sGlXzEIdNjHD5Z9mg2+5dCm/YuHWptPA+OLuNOggLO2LyUcVOh7lQjZS4abYbIl6GeM99/XcDzCPLkhp2aQMDs6lSnwQ9d/dbcqjoNMsG0n7BV2SUBF/5+TzrKOhp85iCnIRd0m5SSH5IrNHUNxgya20mtueaY8f4 X-Microsoft-Antispam-PRVS: <MWHPR12MB11491CEF33D43B1F3C63A0FFECDC0@MWHPR12MB1149.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)(100000703101)(100105400095)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123555025)(20161123558100)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR12MB1149; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR12MB1149; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjEyTUIxMTQ5OzQ6dGNSdnFpMWpaMFFCZlJLd3NBV29jRUp1R2RI?= =?utf-8?B?WTZxTk0vUHZSWXZSbnRTMTdSbkFIb1ZHT2g2a3ZYczM2cVNpYkRIOUM2SXBQ?= =?utf-8?B?Z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RFQTlZ?= =?utf-8?B?TEJvckxSVG1jV3EwZjByUlJNK3JtL1FQWWV6OUxUYUtXeXBqUHhUTTZUbWtZ?= =?utf-8?B?a3dMM2ZsZGc1UlJaamF2OG5OT3JWWFltWmV2S0FUUEFMK09GRkNDR1V3Zmxj?= =?utf-8?B?cVMwL3lOVDJkeU9PTzFEYnJaZGZkclN3OEJQMWRSSzVmN3pVV1E4QkE3VEw3?= =?utf-8?B?a1JXWEoyQmlsS2pqYjRuN1dxbUI1UkNNTHg4UmtYb3NjL0dWcXJOSVROQ01C?= =?utf-8?B?SENBOEVLeVNNbVdmbWFLWHFiUk4zcnVDUFlUZU5jTnhvSlRSeFk1Q1J0WTZP?= =?utf-8?B?cUMyblpLaW9KMjBpaGExZEpQVzJQZ08rdngyb2NZUlN6enloM014TmdIQ1dC?= =?utf-8?B?YUNHTGNyK1NnZVJ1SXRWelZ1a0J5QTdWM2NZSmNqOXo4STNWTm5kTkdocnBV?= =?utf-8?B?aW4xT1F2WmhTNVdJanVxaGlUS3JuTzZ1Zm1NNGMrWGVlVXllQmNFZkhvNXl4?= =?utf-8?B?RDZzU0Y4VWVtMmozR2swMEFzZzEzZ3VMeE1wVzRJc2VhTWRTbm1UUG0rYndl?= =?utf-8?B?bXpua1lKeEwzaExhVks3elcwcktlanRoaHhuejNQVzFzTFpsRTEyU0VlTEZu?= =?utf-8?B?NGNDSDVJWFlsWGIrL2QxYXZ0RXIvR1daLzhmVmRxWmNLTWF3VTdiQk9BdWZW?= =?utf-8?Q?62fji5nUTnln3QLRL8Ze2yvqDfVwnBqe0QqHcF?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39410400002)(39840400002)(39850400002)(39400400002)(39860400002)(42186005)(7416002)(7406005)(6506006)(50466002)(47776003)(2950100002)(305945005)(33646002)(54906002)(66066001)(55016002)(6666003)(2906002)(4326008)(9686003)(5660300001)(72206003)(53416004)(23676002)(478600001)(83506001)(97746001)(7736002)(103116003)(1076002)(230700001)(25786009)(54356999)(76176999)(189998001)(50986999)(6116002)(3846002)(4001350100001)(38730400002)(8676002)(81166006)(53936002)(86362001)(110136004)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR12MB1149; H:tlendack-t1.amdoffice.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjEyTUIxMTQ5OzIzOkpLLzZNRU85cmZvelRjTWlOamhPcjRKL0Zw?= =?utf-8?B?QTRHd1lKakdnRXRZcXo0MlVOUXhqUXVWZWx2ZUZwV09MRXVjdHpNVjVrWFZ3?= =?utf-8?B?VnpDdzRlYzVIMzZHYnNTR2JLS3poY0J0dFZxblZpNG9neTBBSnZOMHR5Znd0?= =?utf-8?B?R1pGL1ZTcXVURFI4amIrWWp6cDhDUVVtakIrZ3hCaFpLeWN1SlE5SlBQTUNM?= =?utf-8?B?SHhDQVQ3NnpuYkxCOEZodWNjLzVLK3I0RG9ranJENitRUmt2Vm9wMVpDcHp5?= =?utf-8?B?YWFleWcxTmNmaEw4TnQ3MUZNeHV6bmdwNTV4MEJtZW1iZ2ZjejJiMjhxc1RE?= =?utf-8?B?WnNQVGRlVGUzOVFjall2eW1GcjAwa2tSZ0ViWHJmNVQ2NlFrSVVRbEw1VXlI?= =?utf-8?B?bFZGMURmLzB0OXh2T3hQVFQ2QzltMVIxOUpBSzRLMFYrSDlmM1J4cHpabUhO?= =?utf-8?B?enMvb3dLY2YyMyt1UC9mRisrOGNnOEVUS2RLdEdld0lFSmNVVmRMRm1CRkIw?= =?utf-8?B?YjIxL1hjREtBUkFTcDRSNmxQV1pNeWFJNVJMakhLdkVtK3RnYUlJMC8zZU8y?= =?utf-8?B?dm9yT3JJNXFCdUhyM3cwYUwxMzY1OXNMWFpXOGRMcDR1YVlkb1I3RFl2K2Vo?= =?utf-8?B?TnUvcHM5R3llT0VUUHJTNHJ3NjhDdC82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CY7bt71i+QZqqn6BOQ85y8WwY+PY58YEOoYcIRjjftPYbsUWp7ugMO4WEvmAysYGv90CiVqgLyq1K2FBPs6fGUfVGgTIhChL2kx87zmO+6vk2fbWcMzKZTCWhpCQM5rdzCzrvRCK1h7GBXf8VNsenT1LcJl3jwwKUZrt4t610Fwl/55AqnpF5mxgav4= X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1149; 20:r8P9DkhyxcIHHsoGNN+NZRpAlKIcrkGPlL2BSUsxdjX8S0p/FIRHzmfU9k4MFS3S3+aH+pQDAKyH5SC/9rmuKzrrHQdrEcTPpvSBG8Wc2u5SJfHMdZtCLyrHDMEMb9o4A2E8m7/MX4aNmQEWYfOhILlQR2oVGKLq1uJP5MQy2Q0CFN9k+s+ZzmR7ECym7rJ4g9Ylax6hkXYAz/lACCPirUXy/WnE3v1r8BAlU1fW/+b65xqckmoVal9XbEb+3JdT X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 14:59:15.0751 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1149 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 17/38] efi: Update efi_mem_type() to return an error rather than 0 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/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 1212956..8141600 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c @@ -757,14 +757,14 @@ static void __init handle_palo(unsigned long phys_addr) return 0; } -u32 +int efi_mem_type (unsigned long phys_addr) { efi_memory_desc_t *md = efi_memory_descriptor(phys_addr); if (md) return md->type; - return 0; + return -EINVAL; } u64 diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index f084d87..6217b23 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c @@ -1035,12 +1035,12 @@ void __init efi_enter_virtual_mode(void) /* * Convenience functions to obtain memory types and attributes */ -u32 efi_mem_type(unsigned long phys_addr) +int efi_mem_type(unsigned long phys_addr) { efi_memory_desc_t *md; if (!efi_enabled(EFI_MEMMAP)) - return 0; + return -ENOTSUPP; for_each_efi_memory_desc(md) { if ((md->phys_addr <= phys_addr) && @@ -1048,7 +1048,7 @@ u32 efi_mem_type(unsigned long phys_addr) (md->num_pages << EFI_PAGE_SHIFT)))) return md->type; } - return 0; + return -EINVAL; } static int __init arch_parse_efi_cmdline(char *str) diff --git a/include/linux/efi.h b/include/linux/efi.h index 8e24f09..4e47f78 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -985,7 +985,7 @@ static inline void efi_esrt_init(void) { } extern int efi_config_parse_tables(void *config_tables, int count, int sz, efi_config_table_type_t *arch_tables); extern u64 efi_get_iobase (void); -extern u32 efi_mem_type (unsigned long phys_addr); +extern int efi_mem_type(unsigned long phys_addr); extern u64 efi_mem_attributes (unsigned long phys_addr); extern u64 efi_mem_attribute (unsigned long phys_addr, unsigned long size); extern int __init efi_uart_console_only (void);