Message ID | 20170616185306.18967.8964.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 B2A2660325 for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:55:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A513F26223 for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:55:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 97FAE2865B; Fri, 16 Jun 2017 18:55:22 +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 EF97126223 for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 16 Jun 2017 18:55:21 +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 1dLwMy-0002jq-Bz; Fri, 16 Jun 2017 18:53:20 +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 1dLwMx-0002ip-FD for xen-devel@lists.xen.org; Fri, 16 Jun 2017 18:53:19 +0000 Received: from [85.158.143.35] by server-2.bemta-6.messagelabs.com id 27/5D-03058-E1924495; Fri, 16 Jun 2017 18:53:18 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmk+JIrShJLcpLzFFi42LJ0NcM15XVdIk 0WLhT22LJx8UsDoweR3f/ZgpgjGLNzEvKr0hgzbi3/TlzwR7hiuZ331gbGA8KdDFycbAItDBL zFx0kw3EYRSYzCix9vok5i5GTg4hgVYmifkbQkFsNgEdiWtvvzCB2MICYRL3l10HqxERWMAk8 Wga2CRmgbdsEvvOnWEDSTAJyEgsWLQUrIhFQFXi0eOFLCA2r4C7xKz7U4DiHBycAp4SrfdYIH Z5SLT//A5miwrISay83MIKUS4ocXLmExaQcmYBTYn1u/RBwswC8hLb384Bmy4hoCCx/ft3sPs lBNoYJfZtWcwEMVNFYtbnC+wQRbISR8/OYYGwfSVOrl8EdoKEgLLEqRY/iHCtxM0Py1gg5kxk l9gx6x8bREJLYs3px8wQiWVsEpPP9kANzZH4OnEzK4RtIdG98A8jhH2GVeLO5wSIhgkCEm1v3 0JtlpE48LODHSKxhFXi6JfFrBMYtWch+XQWwqezkHy6gJF5FaN6cWpRWWqRrpFeUlFmekZJbm Jmjq6hgZlebmpxcWJ6ak5iUrFecn7uJkZgimAAgh2My/46HWKU5GBSEuV9/8Q5UogvKT+lMiO xOCO+qDQntfgQozoHh8Cio03BUix5+XmpShK8j9RdIoUEi1LTUyvSMnOAKQymUoKDR0mEN0UF KM1bXJCYW5yZDpE6xagoJc67F6RPACSRUZoH1wZLm5cYZaWEeRmBbhLiKUgtys0sQZV/xSjOw agkzBsEMoUnM68EbvoroMVMQIuDLjiALC5JREhJNTDmfYvkPcp/ekNvUcAH85CVB8/bJ02zv8 3uc/FbX1DzDcPnQtudph7YnnVINGv1pNVsik5uojl2x87Kb2RcWiY2PzH81PrW6td1DE/+cvX Klc3O16v9pNal6/h6u5te3wfJlg5XZkG3dW8XLSo4s8oufLef9bulJgUTfsj+bfGb+Kb8WeGh iW1KLMUZiYZazEXFiQCCtTcAlgMAAA== X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-5.tower-21.messagelabs.com!1497639196!66293782!1 X-Originating-IP: [104.47.41.87] 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 32168 invoked from network); 16 Jun 2017 18:53:17 -0000 Received: from mail-dm3nam03on0087.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) (104.47.41.87) by server-5.tower-21.messagelabs.com with AES256-SHA256 encrypted SMTP; 16 Jun 2017 18:53:17 -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=VQHcKmga3vNkvS19XZArey/mlqYeHDnF+BPclG4wfFk=; b=MBcvuCMgZ66aVxZxQy+bv3gEDK8eme5v2c9UhLAWNncI7vFvffDfyobwt+xgO7v3yAeUIVsjZnaqXFlorR5QiuYD/d6hbgiFbNiklDPuo5PSS9mdTHOGIaARKO9Qraosb/S1HmBYaTVXt6Wq4nsZm1z29w0VaSiGXxYtx5uGvNA= 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:53:09 +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:53:06 -0500 Message-ID: <20170616185306.18967.8964.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: SN1PR19CA0001.namprd19.prod.outlook.com (10.163.220.11) To MWHPR12MB1152.namprd12.prod.outlook.com (10.169.204.16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4b338997-ae46-43ea-12d5-08d4b4e8f037 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:9tgnHim/guqUpok6fXD3/G9eAWNFTadH57T3eZCAmNyMB27NDm+nO0b6tRun1F1sKVA+HWOrjItXtitvWp5ddBVl5dD6RhXwdOrL400PjW5zrrXEouftt3Iefcz7Ae2g0JoEpHMrBdozGDQaZsoVFoJn0rp1YPlmFTLjDcRBdXRqSLk6NEDl1pflMT0acaRy5lUTENgw63AwL4M3fiLu2whTFbujSK8bkFJiLAh+n5MHMWnZwnluF1wN6AHKNDFSwZTu3g/teF8NiKELWlKLEv4LJqSnlaQ8c820kWezr7wq8Ek4v72jMncpiakV8h3jA/kkH6uzld9toR6j+YaohxxxiLMFsi68WfbXeN3y2cA=; 25:WRl0xorBu21DJL/Hr5bwaghBKZ1a2gIPVNMFyVl8X/6xwN8Wcb9xCY/fW4crDj3Z5mQvpw5swxlCrrTSjM1S+KOyNFY8uUZrY9qlAlDMB4eUX9hQAQzxgsMgHD66a2cwcfRHaTzN1XVvHeyXmTKiHUy7IM54e0E0rLTbAkuix9OSqFe0m9mGWkUgy14nQpWFculkKwGV6KPbbiI/dtch9lPgWa5gAqL4cc+jtx5h6grZHPNRQwrETNwoU9PDKXAv4LwDesSjoT17RolPU+u/oDXmWybd6/qZKztyG+ev4dg7oqd6ZDTXqsCXajymAvX0X5N62fARtms3MFo1Ne7c0UtjCvi/T0lOGysdgEvUj7p4RTYuFIO/ALwnsEj+2uE5xA6hE43TFGQafYcujIrgwanHHwW9BCFnk2jjIYUqM3pyj5iZht6UMLs1MksQyQQOfqN8U+UxR84AcIWcfQp8p68rn6Xao9iZc5SC8FBaEmE= X-MS-TrafficTypeDiagnostic: MWHPR12MB1152: X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1152; 31:8q7N2IqzLQsVQUzRIY4S6+5yCgGmueooCO/MkbFvrrEqMCWD42i13U58zklg9kEqgEeNLHWpaZ4my1Sb7U5MJIE3p1v9MVpXZU9IaPkF0hv4aXDRHjP0uqai4r0y7WrI8kytW3yLlz5HJmeLA+7XH6MqXL09HIjqYftYMha2tRGNnPsqZcrq0ZtRZm442zk5PH3Bjdnlm3V93+62myk25Z11aalyNmRu9D2Amho4oHU=; 20:DsPGu02WFRabzc0zI+CC/jmVz1wgz0pr6w7YMmYMEaX50PzcSUEhvRu7/+KJO1uZqvMEN4sZbtqnZvvb5FRZSILbawrKlKsflLGeKgiD18E5znZW9VfpnRMyHha5QCXzN/rMd0xt90Nz9mEaPHGP5E8QVDvvKeM0cmlASDAgSh0OAgou7J0g1qHsBzzFeTqbzhOQpcs0j6o2TLvRquPNZiMtmlgORrC0ToIuf9b3xQKi5/AT2BiBoj+yY4RkjKPRnhy2inKjZzHXIE55cIkM1iQG+/fC8Mlm7F0/jZfkCcEOq4rZ4mNpe0xslg95uCp/QABV1A6Rxe1I8p86EIWvZteqobbi+u4F23gxr7PHQmY89vcEpfwZQLsyjN08Tny1r8CmnTsJF3RDu44UlwOxk3RyIThFGpMvKenwdF2Qfh2yyBAvNERW5Fi7TFIkHWgvdQNEeu8wEij+IZ+EskOJfORj+ycPK7X2v4t47WqKClx7JVfGE8H+0gmWcyszYKyn X-Microsoft-Antispam-PRVS: <MWHPR12MB115269D9148989377669C446ECC10@MWHPR12MB1152.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)(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?MTtNV0hQUjEyTUIxMTUyOzQ6Y3NkS3V0RzAxRjZsYzFVdkdHNThjN1JkbEtI?= =?utf-8?B?K1hYQjRRTWR5MXp4bnpyV2IxdUp6bHA4RGdCdWtYa3UxUTNyYmVlMklpcytB?= =?utf-8?B?RHduY2s0dyswOTNhVm9oMDVaUFFwa0YvTnNVNHgrZ0ZRQ1c2MUIwNW9XY203?= =?utf-8?B?alRJNTRSZUFOYUlTSjdmQ0pzMm9MbjRwOUlGS09DUnJ5cUd6emR5bXMxb0l6?= =?utf-8?B?K2ZKcW1BNmVmbmdHQXYvUFF2a3YwOUZQbngrWTBTTVhTbExrYXl5YWxEYjNQ?= =?utf-8?B?K3RBSTllZzcza3A3SU9hZjVaMUpZSmt6R2pYMkRBTWNrbzR3WThsWXFsc1dq?= =?utf-8?B?S3g3a0poV3FuNm5IYm9uMTg2dUpUcE5RM1NuQ0o4VDFnUmhwN3BRMTdnRGha?= =?utf-8?B?bnVoS3hhaW5yazBTTGlMdmxHUGowRjhmMzl6V2ZSQlBNN0VUeGUzME9YRHlq?= =?utf-8?B?akJIa0NZNENWdzlRb0doeVF2bjNnbEY2SnRVd2hWQld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3Q3pVM1pqS2YyLy9LYUZnK013MXpod3BhSEd5YUZoMWRMbmJqTC9O?= =?utf-8?B?bnBJdTY3R1FTai84RGNDZS83NkZDU2tOcUd4RnR2QzlocWd2UmJhV0M5SnRu?= =?utf-8?B?NTBiSHFvVDBIeis2ZG9ZZVhQdkFPT3ZoMGZVVkx6Z1B3eTg2SGNpU1J5RHN4?= =?utf-8?B?TUNsN2hMTGRBa0J1TXkvK3gvd0IxMHFjVi9EZWxhSHdnVEd1dlplL3JWb2lE?= =?utf-8?Q?uQY+VF5YtqMQr/d7rEF?= 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)(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?MTtNV0hQUjEyTUIxMTUyOzIzOnNsWUlWczRZN3ByTTllbSt0cUJZTU5wVXU2?= =?utf-8?B?MWZGTnRvN1lGRVdNdHdHMXBrYWNqL05FYWN2MUdhWGphQ1FrYmplU2dZSzdN?= =?utf-8?B?d0lFcTI1alNxbFZiUTNvZ3UvZDMvWXFrcjBJam0vdWVvcXR6NmNLMWRIcG9U?= =?utf-8?B?Q1k3MkRySFBQbmdWZC9YZmp0cEQyVkhPOURSUlkrenhZM2FyYVdGRzBRRlND?= =?utf-8?B?dkpHdDNiS2J3Mm5JaWRoYlJzODE3aWw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NFNzdEx5T1VvcllDTVdy?= =?utf-8?B?SUJ3aUpuVnEwbGI0dVF5K01td0JrdW4yT2ZON3hlQjNIRGhzQzhocHdYSXJX?= =?utf-8?B?VXdMamhTMFFPNWFZdjBSaGVOWW01dXRRamowRHVxaTZQZVR5bFB4ZUZmYjBt?= =?utf-8?Q?3ziwJuY?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1152; 5:FwpXd9LLLYz1wbSwLLSae7QLc9jxHGLROq78QB2PzdNUM6kL6jhsyU0GSn9/lqnbmeXbJVImD3RXRNt0miA70iQseVqkjm7IlYpCBserT8ENqEC2PWvAdmMNCQclzVO1gJy0Dt2vbbAfkmh1pP+4VyilvhueNsP3kRK8M6BJ/8Snoao5WVyWwHgBFLucPK7Fx9HCR9kUOI/SaTvSO5oTNFFnyouj3AUh/wQX7x95GxZlwZJAcCBkdNgVucpRt/313LAAO979CnvPsgzMmGIG25yK2fOucRH+PngCZ2Ck+f2ASIaQ0llpIh510ppH7JUrOsT6pMXPTp7vLuxKtk4AGgrEliY6n9XJak3vY32hiUD19jZKvl0/VsFrZ62aFONGfKkXdukwIp/4JpMxBr8YF2CePsjsg7BqkzUHg9V4KwMvsthREdWybUV15SS3UY8/WbAtIbJyfSmgYyldW+j9KJ3u4SSObk9Xxsd9yoVVG1Qt7o/cMnJ7vOXa2F+gPuZx; 24:kDs/yeHzHC5TmGLanSLlmyA+I2wxOBUsexe/W9sQkwjR025eQMOXc3clN3uD7EnelfJqTqmYd7CkGicP6V+Fy2yym56iiwx3nHUBaLnDi18= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1152; 7:2AvKhWdWS4XQTe22Wvxxv/Uwz1MhooIB5igVMaVsZi7Us3Zt11E5bXcm6bXrXgN43tIetolgYLlOYsPdwoxFiQplCs3+IgG7YM8M6P2ESPqZusdndHJV3fk8FXGkqmqC3Vg7iYg/fuIr06i4H1n5dZ+ykegwueguyVHb6UwQEUnG480akDaA4hgOnk5l8BaG5hdCp7aRmwHVjYrEFhmSIFqzrIuNQ3tZVDEWNTsJLedk557Sf2lUsQfdApVcT49W/98RyNZeibJEJRQmjPlV2eB0NMgPqLiMbsuOUlk1ZNYyfIVTgvQdAG9usYAvQwJHihubGRgmxQtqoFh8ZO2hyDWX9M1I0OY41wxX07tpdEe9Oiwi4wGDKL585hLKLs7+Cb9fyY1991A6isUHJ9OR+ImNZAnJ9jEf5AE0MuW+HLn3ogIwItFzC2j1ryReLGJdSqc83h2iPuNzgLgMztEmu8rc13EG42JwV1Kd7kJLg4Vpua7qKVh/nhpjH0ms9Mebh1oNP0BijOb63Enr4CRsIh36zUw5ULT5PrTeKCnEJfUK9gSVqRC7emiznIbtCyxsGndUIH9u1GSORVtaaHSSzUmrE+g92OQ0q1c20Y3rw6VlIBciVsMDDiHyLeFOhxxnF1HuQQQpCwFIJnwvvao6L71uPW8pg/kYJuHBgYq4RiZ9HIG0/5tFR+FElNfRAMV+aiXOl5qkTxdU+Yuuhh+Nwz1D8lPmz9oQ0XHTGSuGvgSDop/Qp6ahjJ2NfX+yDGLIIco3mORZhj3iIdnhEK/pUchr67JD7S8O2jMaZZ96ZNo= X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1152; 20:3iapJJ7+GYQlgJDUh2OThIZeo3YCrZ397Ek0I67XTM2yU66EJ4j8clippyGeyFPJMc0bXlAgrWJuCfZO6HjYPm69Y0TRAqolJUPRlZPj10eeho5OYMswx9tiG473R4+9BY5tyTZdSc6s1OjYQ/GBRRp1LfuumwycgzbWrjB4sJbW5Pkkh6p1+9kZ37IM3qlmar7WfUGqUQKHHEllk8Q5iPv/54pWohzM7g3/7H6hd83QjqAYlgoLTVUxS4veZ8YN X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 18:53:09.6227 (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 17/36] 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 |
On Fri, 16 Jun, at 01:53:06PM, Tom Lendacky wrote: > The efi_mem_type() function currently returns a 0, which maps to > EFI_RESERVED_TYPE, if the function is unable to find a memmap entry for > the supplied physical address. Returning EFI_RESERVED_TYPE implies that > a memmap entry exists, when it doesn't. Instead of returning 0, change > the function to return a negative error value when no memmap entry is > found. > > Reviewed-by: Borislav Petkov <bp@suse.de> > Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> > --- > arch/ia64/kernel/efi.c | 4 ++-- > arch/x86/platform/efi/efi.c | 6 +++--- > include/linux/efi.h | 2 +- > 3 files changed, 6 insertions(+), 6 deletions(-) Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
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);