Hi All, The issue still exists in the RC3. (kernel config attached) Please help me to fix this issue. Thanks, Christian On 21 April 2020 at 08:03 am, Christian Zigotzky wrote: > Hello, > > Since the PowerPC updates 5.7-1 I get the following warnings during > the linking. > > 5.7-rc2: > > MODPOST vmlinux.o > WARNING: modpost: vmlinux.o(.text.unlikely+0x1a0): Section mismatch in > reference from the function .early_init_mmu() to the function > .init.text:.radix__early_init_mmu() > The function .early_init_mmu() references > the function __init .radix__early_init_mmu(). > This is often because .early_init_mmu lacks a __init > annotation or the annotation of .radix__early_init_mmu is wrong. > > WARNING: modpost: vmlinux.o(.text.unlikely+0x1ac): Section mismatch in > reference from the function .early_init_mmu() to the function > .init.text:.hash__early_init_mmu() > The function .early_init_mmu() references > the function __init .hash__early_init_mmu(). > This is often because .early_init_mmu lacks a __init > annotation or the annotation of .hash__early_init_mmu is wrong. > > --- > > Did you modify the mmu code? Please find attached my kernel config. > > Thanks, > Christian > > > On 10 April 2020 at 10:50 pm, Christian Zigotzky wrote: >> Hello, >> >> The issue still exists after the new PowerPC updates 5.7-2. >> >> Please check the PowerPC updates 5.7-1. >> >> Thanks, >> Christian >> >> On 08 April 2020 at 6:32 pm, Christian Zigotzky wrote: >>> Hello, >>> >>> Since the PowerPC updates 5.7-1 we have the following issue during >>> the linking of vmlinux: >>> >>> MODPOST vmlinux.o >>> WARNING: modpost: vmlinux.o(.text.unlikely+0x1a0): Section mismatch >>> in reference from the function .early_init_mmu() to the function >>> .init.text:.radix__early_init_mmu() >>> The function .early_init_mmu() references >>> the function __init .radix__early_init_mmu(). >>> This is often because .early_init_mmu lacks a __init >>> annotation or the annotation of .radix__early_init_mmu is wrong. >>> >>> WARNING: modpost: vmlinux.o(.text.unlikely+0x1ac): Section mismatch >>> in reference from the function .early_init_mmu() to the function >>> .init.text:.hash__early_init_mmu() >>> The function .early_init_mmu() references >>> the function __init .hash__early_init_mmu(). >>> This is often because .early_init_mmu lacks a __init >>> annotation or the annotation of .hash__early_init_mmu is wrong. >>> >>> --- >>> >>> But the kernel works without any problems after the linking. >>> >>> I reverted the following commits: >>> >>> 70fbdfef4ba63eeef83b2c94eac9a5a9f913e442 -- sysfs: remove redundant >>> __compat_only_sysfs_link_entry_to_kobj fn >>> >>> d38c07afc356ddebaa3ed8ecb3f553340e05c969 -- Merge tag >>> 'powerpc-5.7-1' of >>> git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux >>> >>> And after that the linking of vmlinux works again. >>> >>> Please check the PowerPC updates 5.7-1. >>> >>> Thanks, >>> Christian >> >