On Thu, 21 Jul 2022 at 19:32, Marc Zyngier maz@kernel.org wrote:
On Thu, 21 Jul 2022 14:53:03 +0100, Naresh Kamboju naresh.kamboju@linaro.org wrote:
arm64 defconfig build failed on Linux next-20220721 tag kernel.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Regressions found on arm64:
- build-gcc-11-lkftconfig-64k_page_size
- build-gcc-11-lkftconfig-rcutorture
- build-gcc-11-lkftconfig-devicetree
- build-gcc-11-lkftconfig
- build-gcc-11-lkftconfig-debug
- build-gcc-11-lkftconfig-armv8_features
- build-gcc-11-lkftconfig-kselftest
- build-gcc-11-lkftconfig-kunit
- build-gcc-11-lkftconfig-libgpiod
- build-gcc-11-lkftconfig-kasan
- build-clang-12-lkftconfig
- build-clang-14-lkftconfig
- build-clang-13-lkftconfig
- build-clang-nightly-lkftconfig
- build-gcc-11-lkftconfig-debug-kmemleak
make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build CROSS_COMPILE_COMPAT=arm-linux-gnueabihf- ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc' 'HOSTCC=sccache gcc' /builds/linux/arch/arm64/kernel/head.S: Assembler messages: /builds/linux/arch/arm64/kernel/head.S:334: Error: immediate cannot be moved by a single instruction
See https://lore.kernel.org/r/20220721124244.903567-1-maz@kernel.org as a potential workaround.
I have tested this patch and the reported build problem has been fixed.
Tested-by: Naresh Kamboju naresh.kamboju@linaro.org
Another solution would be to have Peter's patch in 5.19 but not in 5.20.
- Naresh