Subject: Re: arm: tinyconfig: entry-common.S:156: Error: r13 not allowed here -- `bic tsk,sp,#(((1<<12)<<1)-1)&~63'

From: Russell King - ARM Linux admin <[email-masked]>
Date: Tue, 21 Jul 2020 16:46:36 +0100

On Tue, Jul 21, 2020 at 05:43:15PM +0200, Arnd Bergmann wrote:
> On Tue, Jul 21, 2020 at 5:07 PM Naresh Kamboju
> <[email-masked]> wrote:
> >
> > This might add little value.
> >
> > arm build sets failed on linux next 20200721.
> > The defconfig ( +config fragments ) builds PASS.
> > The tinyconfig and allnoconfig FAILED with gcc-8, gcc-9 and gcc-10.
> >
> > make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j32 ARCH=arm
> > CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> > arm-linux-gnueabihf-gcc" O=build zImage
> > #
> > ../arch/arm/kernel/entry-common.S: Assembler messages:
> > ../arch/arm/kernel/entry-common.S:156: Error: r13 not allowed here --
> > `bic tsk,sp,#(((1<<12)<<1)-1)&~63'
> > ../arch/arm/kernel/entry-common.S:243: Error: r13 not allowed here --
> > `bic tsk,sp,#(((1<<12)<<1)-1)&~63'
> > make[3]: *** [../scripts/Makefile.build:361:
> > arch/arm/kernel/entry-common.o] Error 1
> > ../arch/arm/kernel/entry-v7m.S: Assembler messages:
> > ../arch/arm/kernel/entry-v7m.S:60: Error: r13 not allowed here -- `bic
> > tsk,sp,#(((1<<12)<<1)-1)&~63'
> > ../arch/arm/kernel/entry-v7m.S:86: Error: r13 not allowed here -- `bic
> > tsk,sp,#(((1<<12)<<1)-1)&~63'
> > make[3]: *** [../scripts/Makefile.build:361:
> > arch/arm/kernel/entry-v7m.o] Error 1
> >
> > full build link,
> > https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/648560264
> 
> This must come from
> ac5bb8f8445f ("ARM: 8983/1: asm: Rewrite get_thread_info using BIC")
> 
> Adding Linus and Ard to Cc as well.

Absolutely no point.

It was known about last night (see your irc scrollback - I mentioned it
to sfr).  It was reported earlier this afternoon just after I dropped
the commit.  It's now been reported again.

So, please ignore these reports.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!