Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754033AbdGSNlJ (ORCPT ); Wed, 19 Jul 2017 09:41:09 -0400 Received: from mail-sn1nam01on0084.outbound.protection.outlook.com ([104.47.32.84]:48181 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753268AbdGSNlF (ORCPT ); Wed, 19 Jul 2017 09:41:05 -0400 Authentication-Results: linux.intel.com; dkim=none (message not signed) header.d=none;linux.intel.com; dmarc=none action=none header.from=caviumnetworks.com; Date: Wed, 19 Jul 2017 16:40:51 +0300 From: Yury Norov To: andy shevchenko Cc: "rafael j . wysocki" , linux-pm@vger.kernel.org, thomas gleixner , ingo molnar , "h . peter anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, hanjun guo , linux-acpi@vger.kernel.org, geert uytterhoeven Subject: Re: [patch v3 2/5] acpi / boot: correct address space of __acpi_map_table() Message-ID: <20170719134051.zuf2rji46rfier64@yury-thinkpad> References: <20170718150420.61600-1-andriy.shevchenko@linux.intel.com> <20170718150420.61600-3-andriy.shevchenko@linux.intel.com> <20170719130636.apmaj5ya4obkhvga@yury-thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170719130636.apmaj5ya4obkhvga@yury-thinkpad> User-Agent: NeoMutt/20170113 (1.7.2) X-Originating-IP: [85.243.20.66] X-ClientProxiedBy: HE1PR09CA0085.eurprd09.prod.outlook.com (10.174.50.157) To BN4PR07MB2115.namprd07.prod.outlook.com (10.164.62.157) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6d6cf891-c0b2-4cdd-1f60-08d4ceabcba8 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BN4PR07MB2115; X-Microsoft-Exchange-Diagnostics: 1;BN4PR07MB2115;3:G1RbKxJCnlvABjO/hYLPx6XoxZ3KhaySehqRFO7PvW0KLmC6JP11vlEDKAuGn1mAcLCiR2Faxkh70ek6p8OBPu/n6mC3msFaTXat+HFqyV/6yBoHz5pxwtcdWGxpjYe8Lwt1FYUAAlBo3lmzRu2wI+8Z0rcr/GK18SJiPeUMbd+qg6L/VSL1189RSLFMUcaedfp3NoH/uw6c6S6/VlG8BO/V70hPN05iDLZvygBAmm/poWVxLzQgfd21WhGthxYV373Xn70eyW1MkV5U6m5T5766CqqhLsbaippUlJENlAwFG08Xys7X4d1VFjvRpVaogiUgQa/z987iXB0T9FswpgZm5nni3Jc9rBdLZrbzzMvG2xgSqxKKk2Ls+nbiajoB6yYN5OTHLI3dfL1cZkdKJI0Qb8mDQX2CfEAU5VIEpnGgOYHTJXpmbw2EuM7fN+nhwAWEvZ4y4yZNwxIYjlLdRlEKvWBw/uYu7Mj04nDDkg/Ijm0C9lPk9eGQ+p8ExhL9plD4MhScANHKI4jRSNrRP0splSvft0scguKAdsPt4TY5vWAR4mxkPhcoQANJvyCqK1/JeirKbEpLc/XuvvR8StQAgpXSf7ymzRyQddwOPFR/l7SC/BXoDiCmjZBuHyJh+dxStj1xgZPkuwljMDIt8+5vnb++8ymYXBt1xzlUA6Ot1UvkrV7sWQiG+EL4uvVfKiZr/h2c95k9Fn+wWfjIYs4Tr3UnHb8SX7q6SPJQX6U= X-MS-TrafficTypeDiagnostic: BN4PR07MB2115: X-Microsoft-Exchange-Diagnostics: 1;BN4PR07MB2115;25:XSvLeQDJ8wciSJAhOeDevbAciMSkRre9g6I88UEHT2qvgl7qGk0H1IkYF8D1GK5sz0LQIipLW631fllzAsb4f/94oekbkS5go1OdsN5XWogv1aUGGM/oOVmUKYhAuHT/C4ZeNkMtX1CBwi3YcOopbyX9JuT1y/ueHb9m+MWlPsIZLToUYn4RD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utohP+U= X-Exchange-Antispam-Report-Test: UriScan:(236129657087228); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(2017060910075)(93006095)(100000703101)(100105400095)(3002001)(10201501046)(6041248)(20161123564025)(20161123555025)(20161123560025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN4PR07MB2115;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN4PR07MB2115; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjRQUjA3TUIyMTE1OzQ6R2l0N2J0Q0FGZE85MVBzM3FBdm03OGtzNHlw?= =?utf-8?B?dm5jZkJkZTFHN0l6M1ZLdVA3TVUrdis0dWUvb2FiRjAreXZtcFoxTkIrUk4v?= =?utf-8?B?NThCNzF3TldRdFlRSVVKNlJ5VGJVRDk3OWd2Qytsc2RTTzZPdngvRW1YUU4y?= =?utf-8?B?ZTh3V0RsMEJvOXU4Q1pOQXpqU2V1aDR3akdySXZzbEI3NUNFaEtSSmFld3hw?= =?utf-8?B?K1pzREJHQnlKb0tmZ0N6a1p3OEZMeS80aDFMZjl0TWh6QnNUVnY5bzRRSVZh?= =?utf-8?B?T0tPOWNuamltTUZtOU11MU1xYS84ZmtUNVhEY21xbWw3S0k2WmJqd1ZDT3dE?= =?utf-8?B?QStjSTg3Tm4vNTlOWk5PRm1WZkY1SXdJS21aUllXRkxvSnhubEdCck9OTmVu?= =?utf-8?B?Z3l0RGFpR244MWNSTWFYR0hDbUFSMnhXekl2YVIvZVBGTC9JZEpDbGc3VEdL?= =?utf-8?B?Y1FUYW8rTDIrRmNhSlJEajFWWlg3M3E1WH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BcmlVOXd6c3p2VXRrZjNZbVJHMzdR?= =?utf-8?B?MWNQMmFPSWhmOHdOdjFLamM1ZDZiM1gvaTkvbG4xR0NCNmVmSmtEMk42TlBT?= =?utf-8?B?YkprakFTOGVRZVR1VFZNS1NsZ3NBcnhZS2dlbUk5ZzNmSlhkUHFwTkNuL2hT?= =?utf-8?B?SUtxeklsSTBXN0hNQTI3ekxDcis5S2g2SEFSWFhFeHBmdXpJdVljYm5GUHE1?= =?utf-8?Q?8m/mbAxxqVlzWw3Sr56?= X-Forefront-PRVS: 0373D94D15 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(7370300001)(4630300001)(6069001)(6009001)(39410400002)(39450400003)(39840400002)(39850400002)(39400400002)(24454002)(33716001)(9686003)(50466002)(42186005)(81166006)(229853002)(54906002)(6666003)(4001350100001)(42882006)(2950100002)(7350300001)(23676002)(53936002)(110136004)(38730400002)(6246003)(6496005)(6486002)(8676002)(2870700001)(305945005)(76506005)(2906002)(1076002)(33646002)(7736002)(25786009)(3846002)(50986999)(6116002)(47776003)(53546010)(66066001)(5660300001)(7416002)(54356999)(72206003)(4326008)(83506001)(6916009)(478600001)(76176999)(189998001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN4PR07MB2115;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjRQUjA3TUIyMTE1OzIzOnJ6NzNidnFDTTlNcU9iY3dRaTJaNUtwVW1u?= =?utf-8?B?WXZDbHBaRURJdzBXT2dSUmtUdU9ualFpc1ZSRjBTRnFtbEd3ZUhNY0orQkdn?= =?utf-8?B?TG9KUnd4a2ZVL2pwWXNaL2RVSEJ5bVBiSXBhVEs0SEkwOUVBdEZ4eDlFQk9C?= =?utf-8?B?dHFkYzlWU3MyYnlQa2pwZThwZUFyTUN6b2g1YUZPNU02c1NKTkZwTkN1dTVv?= =?utf-8?B?NDlqbndlSktOeEZoQ0toMy84SFBkVkhLajBGL1h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wODRxekhoVFN3Uk0vbmUyYkJTaXA5?= =?utf-8?B?S3RmVVBMM05Bamh2bkNxQnRLZ1E4QVZBMytoNjREWVlXNmVZalZEbWhtbUhG?= =?utf-8?B?U0FUbXMwZDZOOExjV3o3ZHA4MXJOSlF3TCttWmY0dEt4cXdWc1ZvQjNUdUox?= =?utf-8?B?dU1EcnovcU1FN29ZVS9kWVA4SlpPNUltWVJzSkxBQXRWZC9oQ1hyWWlnbFow?= =?utf-8?Q?GUIiTMpfj8zf6YfuFxDpuhpKBnGPtfQ=3D?= X-Microsoft-Exchange-Diagnostics: 1;BN4PR07MB2115;5:s4xNPDFbUIA5Q+onxtR6C13x2MfD9B0QP++Nu8TwL2T5rHZRk9eGFPU/HA+eKfL2H2AIL6/p5nRK/O0ojZpFmWqGqK5OYIjlV+CyZnEpHnNpvZhbCzJOVJbkzwoqbFIhSKJFznz7Ckvp7OAXovioviNtBqv8oaWnTR62dNpUN+TZnUdooFSp0YzFrgZXViA/CljJQwlD2KU9KPogab6goS8y6j/QvgmO/Qm4Ci9HlM7HqR93Rz1H5JnJaDu0qMtZVXMKmMM9u9wfm1oopLy06D/ntidDth4vFVOzQD2W78OpXcDWzcVb8KWRdR/ttSzNtnEBUv1HCEVmbLv/tfZQHfR1stBdSv0nWjtWf31sym2AyBIGFe0s6aCCHMp0wlPxLb1naXBvlDTyVIRHnzRfji9IxDaFvMQGpf8oNLLScVixvpQDudmwsplZwMaN0/W5qX+6IIiJYEEEDGKyT++ASzNZZLEKw7pHnzDP1ospefOWeQjKdP81xiizZNxMOOgZ;24:njLFsbzji5ZVFLYe9cSTHri3rUf5mjgTkGnzO1XjTA9jbcQBgNu/OsGH2ft3X7v1/yO4g27PfflPBXfldikeF+bGRW0oiS3FR2QyHokFEr4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN4PR07MB2115;7:Ut8tcFZP7nmQuI6gETxavb+4At6N7uVqrOlrLNAw9F9MY3M6SjQ9H5mxmpQgI4FKteXWA479RKnOHWHYn8eBwvVSTAvmxomjw5kmpsnvMDXWVlb35OaR/w11b59QlYI7TdK8jm3DECLXpiNlFwPpnY3GrzlLACkIYmPk1swUWbBSk4X0KJAKiHemFAsOAInLiXTaYvu0sERZGT26N8gXb8ycqXSxGSWUksz7CBhHNRh1DZMmIXdHBmIFQ8qqu2FEid4s/wpvj4lrl+o7rDg8SBBtlc4X319GzdOFW7izL2C8ZkVYzis5y7xGZb+gguZ4ZVSdS5VLe7p+WkYbLJlXYabXwx/5K7iIuw4yDzN8bkjCIZA+Gvgmh0Tk3hrfvHyo/2N6XiV3cjJo8neEUEoiM0VtBGdEHsSMUbj1b5WXuT/JOSxkFll/nGiMrghxnFEDzm1xyEBurl9NopZ2TZm8VxfDAngxeansu3TMCwt3trk/IMJaIsue38FldcPNCVh9XIVzWpGZtbF1Q5kPpU1XpFW4wJom8yDa8Tfg+ahHjzUwE5QG/stvUGx84MxrWoWVjQk8QdBCnSUYbpeMbUlfaWPnVNU18mcMdZcoMXebJ3Li6A1fSaWh5Ta+bjahmi5cjJfSl+subdtx+sqmkfBTCpsoiQoaslPmu4EHgA3qYgOOrD7AQq4GjCBzbRQjAJPOq9MRPcnzXv92TydGLjXQEA9UXN/rMv8aDT0Xz3KjFEB99ZtVR46ib+yxtP3WwtHatqvPqtQHtg9hYYyrkgfralVFs9s+NyvApz0TKcmkcmU= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2017 13:41:01.2292 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN4PR07MB2115 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3908 Lines: 100 On Wed, Jul 19, 2017 at 04:06:36PM +0300, yury norov wrote: > Hi Andy, > > > diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c > > index 09ddb3cd627a..6d5b1346268a 100644 > > --- a/arch/x86/kernel/acpi/boot.c > > +++ b/arch/x86/kernel/acpi/boot.c > > @@ -118,7 +118,7 @@ static u32 isa_irq_to_gsi[nr_irqs_legacy] __read_mostly = { > > * this is just a simple wrapper around early_ioremap(), > > * with sanity checks for phys == 0 and size == 0. > > */ > > -char *__init __acpi_map_table(unsigned long phys, unsigned long size) > > +void __init __iomem *__acpi_map_table(unsigned long phys, unsigned long size) > > { > > > > if (!phys || !size) > > @@ -127,7 +127,7 @@ char *__init __acpi_map_table(unsigned long phys, unsigned long size) > > return early_ioremap(phys, size); > > } > > I just found this patch in next tree, and it seems it breaks build for > arm64, and probably for ia64: > > arch/arm64/kernel/acpi.c:98:14: error: conflicting types for ‘__acpi_map_table’ > char *__init __acpi_map_table(unsigned long phys, unsigned long size) > ^~~~~~~~~~~~~~~~ > in file included from arch/arm64/kernel/acpi.c:18:0: > ./include/linux/acpi.h:231:15: note: previous declaration of ‘__acpi_map_table’ was here > void __iomem *__acpi_map_table(unsigned long phys_addr, unsigned long size); > ^~~~~~~~~~~~~~~~ > arch/arm64/kernel/acpi.c:106:13: error: conflicting types for ‘__acpi_unmap_table’ > void __init __acpi_unmap_table(char *map, unsigned long size) > ^~~~~~~~~~~~~~~~~~ > in file included from arch/arm64/kernel/acpi.c:18:0: > ./include/linux/acpi.h:232:6: note: previous declaration of ‘__acpi_unmap_table’ was here > void __acpi_unmap_table(void __iomem *map, unsigned long size); > ^~~~~~~~~~~~~~~~~~ > > the patch below fixes it. (Tested on arm64 only.) Ah, sorry. This is correct version. >From 484d3dd1d20f7c9494e85c4ac669909155366958 Mon Sep 17 00:00:00 2001 From: Yury Norov Date: Wed, 19 Jul 2017 16:00:02 +0300 Subject: [PATCH] ACPI / boot: fix prototypes for __acpi_{un}map_table for arm64 and ia64 The prototypes were changed in patch "ACPI / boot: Correct address space of __acpi_map_table()" Signed-off-by: Yury Norov --- arch/arm64/kernel/acpi.c | 4 ++-- arch/ia64/kernel/acpi.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c index e25c11e727fe..c7acba3e17d9 100644 --- a/arch/arm64/kernel/acpi.c +++ b/arch/arm64/kernel/acpi.c @@ -95,7 +95,7 @@ static int __init dt_scan_depth1_nodes(unsigned long node, * __acpi_map_table() will be called before page_init(), so early_ioremap() * or early_memremap() should be called here to for ACPI table mapping. */ -char *__init __acpi_map_table(unsigned long phys, unsigned long size) +void __iomem __init *__acpi_map_table(unsigned long phys, unsigned long size) { if (!size) return NULL; @@ -103,7 +103,7 @@ char *__init __acpi_map_table(unsigned long phys, unsigned long size) return early_memremap(phys, size); } -void __init __acpi_unmap_table(char *map, unsigned long size) +void __init __acpi_unmap_table(void __iomem *map, unsigned long size) { if (!map || !size) return; diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 7508c306aa9e..4df611746dab 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c @@ -159,12 +159,12 @@ int acpi_request_vector(u32 int_type) return vector; } -char *__init __acpi_map_table(unsigned long phys_addr, unsigned long size) +void __iomem __init *__acpi_map_table(unsigned long phys_addr, unsigned long size) { return __va(phys_addr); } -void __init __acpi_unmap_table(char *map, unsigned long size) +void __init __acpi_unmap_table(void __iomem *map, unsigned long size) { } -- 2.11.0