Re: [linux-next:master] BUILD REGRESSION 543b9b2fe10b2e12b8d773af65314d322f91e479

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 9 Jan 2023 at 15:38, Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:
>
> On Mon, 9 Jan 2023 at 14:31, kernel test robot <lkp@xxxxxxxxx> wrote:
> >
> > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > branch HEAD: 543b9b2fe10b2e12b8d773af65314d322f91e479  Add linux-next specific files for 20230109
> >
> > Error/Warning: (recently discovered and may have been fixed)
> >
> > aarch64-linux-ld: ID map text too big or misaligned
>
> This is caused by linker veneers ('stubs') that are emitted into the
> ID map text section:
>
>  *(.idmap.text)
>  .idmap.text    0xffffffc018c04000       0x38 arch/arm64/kernel/hyp-stub.o
>  .idmap.text    0xffffffc018c04038       0x28 arch/arm64/kernel/sleep.o
>                 0xffffffc018c04038                cpu_resume
>  .idmap.text    0xffffffc018c04060       0x38 arch/arm64/kernel/cpu-reset.o
>                 0xffffffc018c04060                cpu_soft_restart
>  .idmap.text    0xffffffc018c04098      0x468 arch/arm64/kernel/head.o
>                 0xffffffc018c04098                init_kernel_el
>                 0xffffffc018c04290                secondary_holding_pen
>                 0xffffffc018c042c8                secondary_entry
>                 0xffffffc018c043c4                __enable_mmu
>                 0xffffffc018c0440c                __cpu_secondary_check52bitva
>  .idmap.text    0xffffffc018c04500      0x3c4 arch/arm64/mm/proc.o
>                 0xffffffc018c04500                cpu_do_resume
>                 0xffffffc018c045a8                idmap_cpu_replace_ttbr1
>                 0xffffffc018c045d4                idmap_kpti_install_ng_mappings
>                 0xffffffc018c047bc                __cpu_setup
>  *fill*         0xffffffc018c048c4        0x4
>  .idmap.text.stub
>                 0xffffffc018c048c8     0xf7c8 linker stubs
>                 0xffffffc018c1c8c8                __idmap_text_end = .
>
> It seems unlikely that the entire .idmap.text.stub section is
> dedicated to veneers for code in .idmap.text, and the linker probably
> dumps them here because the next output section is non-executable.
>


I bisected this to

commit 5e5ff73c2e5863f93fc5fd78d178cd8f2af12464
Author: Sai Prakash Ranjan <quic_saipraka@xxxxxxxxxxx>
Date:   Mon Oct 17 20:04:50 2022 +0530

    asm-generic/io: Add _RET_IP_ to MMIO trace for more accurate debug info

which seems entirely unrelated, but looks like it may be causing the
number of direct calls (and therefore the number of trampolines) to
increase, causing the ID map to blow up like it does.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux