lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 21 Jul 2020 17:43:15 +0200
From:   Arnd Bergmann <arnd@...db.de>
To:     Naresh Kamboju <naresh.kamboju@...aro.org>
Cc:     Linux-Next Mailing List <linux-next@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>,
        lkft-triage@...ts.linaro.org,
        Linux ARM <linux-arm-kernel@...ts.infradead.org>,
        Russell King <linux@...linux.org.uk>,
        Vladimir Murzin <vladimir.murzin@....com>,
        Kees Cook <keescook@...omium.org>,
        Linus Walleij <linus.walleij@...aro.org>,
        Ard Biesheuvel <ardb@...nel.org>
Subject: Re: arm: tinyconfig: entry-common.S:156: Error: r13 not allowed here
 -- `bic tsk,sp,#(((1<<12)<<1)-1)&~63'

On Tue, Jul 21, 2020 at 5:07 PM Naresh Kamboju
<naresh.kamboju@...aro.org> 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.

       Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ