All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicholas Piggin <npiggin@gmail.com>
To: Christian Zigotzky <chzigotzky@xenosoft.de>,
	linuxppc-dev@lists.ozlabs.org
Cc: Darren Stevens <darren@stevens-zone.net>,
	"contact@a-eon.com" <contact@a-eon.com>,
	"R.T.Dickinson" <rtd2@xtra.co.nz>,
	Christian Zigotzky <info@xenosoft.de>
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
Date: Wed, 29 Apr 2020 15:13:12 +1000	[thread overview]
Message-ID: <1588136973.mf0j03tcz0.astroid@bobo.none> (raw)
In-Reply-To: <0fffa44f-db23-cd9e-5bd5-4012e2398e34@xenosoft.de>

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
--

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();


  reply	other threads:[~2020-04-29  5:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.127.1586355379.11283.linuxppc-dev@lists.ozlabs.org>
2020-04-08 16:32 ` 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 Christian Zigotzky
2020-04-10 20:50   ` Christian Zigotzky
2020-04-21  6:03     ` Christian Zigotzky
2020-04-29  4:53       ` Christian Zigotzky
2020-04-29  5:13         ` Nicholas Piggin [this message]
2020-04-29  6:41           ` Christian Zigotzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1588136973.mf0j03tcz0.astroid@bobo.none \
    --to=npiggin@gmail.com \
    --cc=chzigotzky@xenosoft.de \
    --cc=contact@a-eon.com \
    --cc=darren@stevens-zone.net \
    --cc=info@xenosoft.de \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=rtd2@xtra.co.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.