Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2710243ioo; Sun, 29 May 2022 00:50:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2bvLoSCHJALkPeH+UZx84K2j1V0o3Sy/sVn8j5FQESuDq6c/2tgfpZ5WiIkKlU27SAY9n X-Received: by 2002:a17:90b:2241:b0:1dc:d4d3:3047 with SMTP id hk1-20020a17090b224100b001dcd4d33047mr17024000pjb.128.1653810620237; Sun, 29 May 2022 00:50:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653810620; cv=none; d=google.com; s=arc-20160816; b=NL5F6sngv9u57nwclStvD/WD17IoySp6tWorDwM5HkS9HYuKGcTXPteSu8lnL9nsbZ vjgg5jvew9JFai8LFyu5rd4Pi8DfJ7fWiGOJV5ugQluk6DaBLz8+w5TznrH3005LggsN I81IH4LwxfiB1SLx8BYWYQPT2CoQF6uD8EF4EJFM87D52o5ZXn4pqKKffwn57goxjnNO cCr8zbFNlM1b25jYx9N2P/Kw2crkYFEx6Sb+UvhEBxtgc6NZjwcb3wxPvd6gwOftIsnP RqZ9P0TnQ/ONpPv/nnxX0NOh8jXsykKhq02dI8nk6jvbziSH4LbV5ipXPjSv4ASkE/3p bSHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=I61q9U46x2jo8cZ0rLnSux63eP8mMLwkUNCs/b7YXCw=; b=u0Gr5tdGnFODNLMG2FitidpyE7pGDf5Hs3RDWEjZuOZryLrXhw206hBLKWQd/qCkDv 5xJRm07vjb4xJ9TbT3AEakZ1Bvq5pfAGMGRCtcZCF1yVEaqsnBg3ffDmvGIS/7/4dznZ D9Bcuu56SgpuM4zyV4vjkK09jyDlz9t2Vzi8t4VFIDGugx1J3amNupI5RatqIemLCrD2 J/ClYcbjgN43/qcOU337wwZnF/C73/Z1QMM6YtxtrTW7Dm0mnj3tuh63f+o8iFONkocN 1ar7HcD/MImkbpinorXRTDH1Hqn6Aevn8uwNqy05UCllM7Zpd+PAoM+j5gFLPGWRLjlS t/DA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r12-20020a632b0c000000b003fbc3be28d7si5558016pgr.335.2022.05.29.00.50.09; Sun, 29 May 2022 00:50:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229620AbiE2G5h (ORCPT + 99 others); Sun, 29 May 2022 02:57:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbiE2G5b (ORCPT ); Sun, 29 May 2022 02:57:31 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DBBC3FBD6 for ; Sat, 28 May 2022 23:57:30 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nvCrD-0001Nl-TF; Sun, 29 May 2022 08:56:59 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nvCr5-005D0y-Nd; Sun, 29 May 2022 08:56:50 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nvCr3-00Cp8z-H3; Sun, 29 May 2022 08:56:49 +0200 Date: Sun, 29 May 2022 08:56:37 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: "Naveen N. Rao" , Li Zhengyu , Palmer Dabbelt Cc: Andrew Morton , Michael Ellerman , Eric Biederman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, kexec@lists.infradead.org, linux-riscv@lists.infradead.org, kernel@pengutronix.de, Stephen Rothwell Subject: Re: [PATCH v2] kexec_file: Drop weak attribute from arch_kexec_apply_relocations[_add] Message-ID: <20220529065637.xgapqjp2342flbuj@pengutronix.de> References: <20220519091237.676736-1-naveen.n.rao@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kx2r5dh4j5uektvu" Content-Disposition: inline In-Reply-To: <20220519091237.676736-1-naveen.n.rao@linux.vnet.ibm.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --kx2r5dh4j5uektvu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, on current linux-next ARCH=3Driscv allmodconfig breaks with: CC arch/riscv/kernel/elf_kexec.o arch/riscv/kernel/elf_kexec.c:345:5: error: redefinition of =E2=80=98arch_k= exec_apply_relocations_add=E2=80=99 345 | int arch_kexec_apply_relocations_add(struct purgatory_info *pi, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from arch/riscv/kernel/elf_kexec.c:16: include/linux/kexec.h:236:1: note: previous definition of =E2=80=98arch_kex= ec_apply_relocations_add=E2=80=99 with type =E2=80=98int(struct purgatory_i= nfo *, Elf64_Shdr *, const Elf64_Shdr *, const Elf64_Shdr *)=E2=80=99 {aka = =E2=80=98int(struct purgatory_info *, struct elf64_shdr *, const struct elf= 64_shdr *, const struct elf64_shdr *)=E2=80=99} 236 | arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shd= r *section, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (I think) because there is a conflict between the two commits: 233c1e6c319c kexec_file: drop weak attribute from arch_kexec_apply_relocati= ons[_add] 838b3e28488f RISC-V: Load purgatory in kexec_file And so next is broken starting from 164a9037b1d33f28ba27671c16ec1c23d4a11acf which merges the riscv tree. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=C3=B6nig = | Industrial Linux Solutions | https://www.pengutronix.de/ | --kx2r5dh4j5uektvu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmKTGRsACgkQwfwUeK3K 7AmDxAf9Ggb6UqEX3OJcHfUAj6XII7Pgm7ANdk/sgjvS9u4KABETUJ4Dub8m44b7 YzTKjAz6Aoat5x0aX/BoeMEGOLKrO10yBqljertv1U3F28A0fvUejuJJoBHnmQHO A2rACjr5HuulnTTeF3vSwtxdKVzyR5bT4ys1ELO0drRWIdeds63oFpM3vg/7Dhkm 6DGR26o5+bBCUsDlpnNlSTy4bqMaXAtqnImET8yrafbTbDhSXbwO57dOlfT0QmTC p2LoUfw5d64itPHNimGmnAJxtoJEET/gGLFzTbZIJk84CEydkc+3/2DyFU3rwHTZ DBh5qrnvrwgxqtYd5zu0HPAfvgDQMA== =tj8R -----END PGP SIGNATURE----- --kx2r5dh4j5uektvu--