From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CAB1C83007 for ; Wed, 29 Apr 2020 06:47:14 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 404CC206D6 for ; Wed, 29 Apr 2020 06:47:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=xenosoft.de header.i=@xenosoft.de header.b="kZekB7JM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 404CC206D6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xenosoft.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49BpwD5BdvzDqM7 for ; Wed, 29 Apr 2020 16:47:08 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.helo=mo6-p00-ob.smtp.rzone.de (client-ip=2a01:238:20a:202:5300::5; helo=mo6-p00-ob.smtp.rzone.de; envelope-from=chzigotzky@xenosoft.de; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=xenosoft.de Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=xenosoft.de header.i=@xenosoft.de header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=kZekB7JM; dkim-atps=neutral Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49Bpnw0J77zDqJ5 for ; Wed, 29 Apr 2020 16:41:37 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1588142490; s=strato-dkim-0002; d=xenosoft.de; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=yQIW7CdxCm1nZ34EyW5UqRtDKqPhYxjf49XAnI4L+GU=; b=kZekB7JMD1c8RZUkqTIs5HIF1ncLczIcPvbUWJdOnAXBbt/YOKOEAaDXOjuXzeK/oz 4YUNwukSGAWgtVbREbJnhd99Hiqxsmy+LMgr0i+nMhF1Gbtbo0PDunYTXYuEXgKCbz/E 4krQYmfGRR56SINxvWEG2SVcCuVndKQBDg27YeXLEhFvSqUgbtuO21bWTtMirzXbJ1zQ xw9LAjBIGMq81szq3P2vSSZPDnDfA8Ces0DLBI5CLmOiNnWqRD/1iC7PPpbC6J409L1d 2RrirVp5f85GSHVOjXf9HV6AW4LEcGB4tUBalXdMx7yz/Eq2eyR5iCkCG90MR8otOhf/ aaKA== X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGM4l4Hio94KKxRySfLxnHfJ+Dkjp5DdBJSrwuuqxvPhUJ75BWFoEZCQ5Q07Tlj1hNt/jTQ==" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2a02:8109:89c0:ebfc:71ad:77cc:45a0:8302] by smtp.strato.de (RZmta 46.6.2 AUTH) with ESMTPSA id I01247w3T6fRXfE (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 29 Apr 2020 08:41:27 +0200 (CEST) Subject: Re: Section mismatch in reference from the function .early_init_mmu() to the function .init.text:.radix__early_init_mmu() after PowerPC updates 5.7-1 To: Nicholas Piggin , linuxppc-dev@lists.ozlabs.org References: <865a35c1-1eed-cd39-9645-06eedbe61b4b@xenosoft.de> <24c8f0fb-6e40-3546-a33e-1a4c9643e9f7@xenosoft.de> <0fffa44f-db23-cd9e-5bd5-4012e2398e34@xenosoft.de> <1588136973.mf0j03tcz0.astroid@bobo.none> From: Christian Zigotzky Message-ID: Date: Wed, 29 Apr 2020 08:41:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <1588136973.mf0j03tcz0.astroid@bobo.none> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: de-DE X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Darren Stevens , "contact@a-eon.com" , "R.T.Dickinson" , Christian Zigotzky Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 29 April 2020 at 07:13 am, Nicholas Piggin wrote: > Excerpts from Christian Zigotzky's message of April 29, 2020 2:53 pm: >> Hi All, >> >> The issue still exists in the RC3. (kernel config attached) >> >> Please help me to fix this issue. > Huh, looks like maybe early_init_mmu() got uninlined because the > compiler decided it was unlikely. > > Does this fix it? > > Thanks, > Nick > -- Hi Nick, Many thanks for your patch! It solved the issue. Have a nice day! Cheers, Christian > > diff --git a/arch/powerpc/include/asm/book3s/64/mmu.h b/arch/powerpc/include/asm/book3s/64/mmu.h > index bb3deb76c951..3ffe5f967483 100644 > --- a/arch/powerpc/include/asm/book3s/64/mmu.h > +++ b/arch/powerpc/include/asm/book3s/64/mmu.h > @@ -208,7 +208,7 @@ void hash__early_init_devtree(void); > void radix__early_init_devtree(void); > extern void hash__early_init_mmu(void); > extern void radix__early_init_mmu(void); > -static inline void early_init_mmu(void) > +static inline void __init early_init_mmu(void) > { > if (radix_enabled()) > return radix__early_init_mmu(); >