linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Christian Zigotzky <chzigotzky@xenosoft.de>
To: Nicholas Piggin <npiggin@gmail.com>, 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 08:41:27 +0200	[thread overview]
Message-ID: <e57a563d-f3af-c66c-0865-754a527578ed@xenosoft.de> (raw)
In-Reply-To: <1588136973.mf0j03tcz0.astroid@bobo.none>

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


      reply	other threads:[~2020-04-29  6:47 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
2020-04-29  6:41           ` Christian Zigotzky [this message]

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=e57a563d-f3af-c66c-0865-754a527578ed@xenosoft.de \
    --to=chzigotzky@xenosoft.de \
    --cc=contact@a-eon.com \
    --cc=darren@stevens-zone.net \
    --cc=info@xenosoft.de \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=npiggin@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).