All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan Chancellor <nathan@kernel.org>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>,
	Thorsten Leemhuis <regressions@leemhuis.info>,
	regressions@lists.linux.dev, laura.nao@collabora.com,
	shreeya.patel@collabora.com, Mark Brown <broonie@kernel.org>,
	kernelci-results@groups.io, kernelci@lists.linux.dev,
	Arnd Bergmann <arnd@arndb.de>
Subject: Re: [REGRESSION] mainline/master: (build) in arch/arm/kernel/entry-common.o (/tmp/kci/linux/scripts/Makefile...
Date: Wed, 19 Aug 2026 17:09:00 -0700	[thread overview]
Message-ID: <20260820000900.GA3034882@ax162> (raw)
In-Reply-To: <e5c6c56c-b0e2-4950-996a-4f9321a1a57a@app.fastmail.com>

On Wed, Aug 19, 2026 at 11:08:39AM +0300, Ard Biesheuvel wrote:
> We're falling back to the mov_l asm macro in this case.
> 
> This is unfortunate, because the only reason to avoid these group
> relocations is making allyesconfig work, now that LLD has caught up.
> 
> I did not manage to reproduce this, but if this is something we care
> deeply about, we might tweak mov_l as below when COMPILE_TEST is set,
> so that the literal pool is always in range.

I am not sure that we do, at least currently, since Arnd's patch to turn
off OABI compat for everything but StrongARM has now landed in mainline,
getting rid of the originally reported error. If this error comes back,
we could look at a better fix.

> --- a/arch/arm/include/asm/assembler.h
> +++ b/arch/arm/include/asm/assembler.h
> @@ -636,6 +636,12 @@
>         .macro          mov_l, dst:req, imm:req, cond
>         .if             __LINUX_ARM_ARCH__ < 7
>         ldr\cond        \dst, =\imm
> +#ifdef CONFIG_COMPILE_TEST
> +       /* The literal may go out of range in pathological cases */
> +       b               .L\@
> +       .ltorg
> +.L\@:
> +#endif
>         .else
>         movw\cond       \dst, #:lower16:\imm
>         movt\cond       \dst, #:upper16:\imm

-- 
Cheers,
Nathan

  reply	other threads:[~2026-08-20  0:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-18  0:59 [REGRESSION] mainline/master: (build) in arch/arm/kernel/entry-common.o (/tmp/kci/linux/scripts/Makefile KernelCI bot
2026-08-18  6:00 ` Thorsten Leemhuis
2026-08-18 16:19   ` Nick Desaulniers
2026-08-18 16:28     ` Mark Brown
2026-08-18 16:51     ` Nathan Chancellor
2026-08-18 17:52       ` Nathan Chancellor
2026-08-19  8:08         ` Ard Biesheuvel
2026-08-20  0:09           ` Nathan Chancellor [this message]
2026-08-20  3:58             ` Thorsten Leemhuis

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=20260820000900.GA3034882@ax162 \
    --to=nathan@kernel.org \
    --cc=ardb@kernel.org \
    --cc=arnd@arndb.de \
    --cc=broonie@kernel.org \
    --cc=kernelci-results@groups.io \
    --cc=kernelci@lists.linux.dev \
    --cc=laura.nao@collabora.com \
    --cc=ndesaulniers@google.com \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=shreeya.patel@collabora.com \
    /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.