# git rev-parse -q --verify 870d16757ba8918c3f8cac162b9ca7669556dbab^{commit} 870d16757ba8918c3f8cac162b9ca7669556dbab already have revision, skipping fetch # git checkout -q -f -B kisskb 870d16757ba8918c3f8cac162b9ca7669556dbab # git clean -qxdf # < git log -1 # commit 870d16757ba8918c3f8cac162b9ca7669556dbab # Author: Mark Rutland # Date: Wed Dec 16 21:32:48 2020 +0000 # # arm64: make _TIF_WORK_MASK bits contiguous # # We need the bits of _TIF_WORK_MASK to be contiguous in order to to use # this as an immediate argument to an AND instruction in entry.S. # # We happened to change these bits in commits: # # b5a5a01d8e9a ("arm64: uaccess: remove addr_limit_user_check()") # 192caabd4dd9 ("arm64: add support for TIF_NOTIFY_SIGNAL") # # which each worked in isolation, but the merge resolution in commit: # # 005b2a9dc819 ("Merge tag 'tif-task_work.arch-2020-12-14' of git://git.kernel.dk/linux-block") # # happened to make the bits non-contiguous. # # Fix this by moving TIF_NOTIFY_SIGNAL to be bit 6, which is contiguous # with the rest of _TIF_WORK_MASK. # # Otherwise, we'll get a build-time failure as below: # # arch/arm64/kernel/entry.S: Assembler messages: # arch/arm64/kernel/entry.S:733: Error: immediate out of range at operand 3 -- `and x2,x19,#((1<<1)|(1<<0)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<7))' # scripts/Makefile.build:360: recipe for target 'arch/arm64/kernel/entry.o' failed # # Fixes: 005b2a9dc819a126 ("Merge tag 'tif-task_work.arch-2020-12-14' of git://git.kernel.dk/linux-block") # Signed-off-by: Mark Rutland # Cc: Catalin Marinas # Cc: Will Deacon # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 870d16757ba8918c3f8cac162b9ca7669556dbab # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0x68CF2876 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4074:warning: override: reassigning to symbol STANDALONE .config:4077:warning: override: reassigning to symbol CPU_BIG_ENDIAN .config:4077:warning: override: CPU_BIG_ENDIAN changes choice state .config:4079:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:4080:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:4083:warning: override: reassigning to symbol GCC_PLUGINS .config:4084:warning: override: reassigning to symbol LD_HEAD_STUB_CATCH # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/eeh.c:1571:12: warning: 'proc_eeh_show' defined but not used [-Wunused-function] 1571 | static int proc_eeh_show(struct seq_file *m, void *v) | ^~~~~~~~~~~~~ WARNING: modpost: vmlinux.o(.text.unlikely+0xd88): Section mismatch in reference from the function .fadump_calculate_reserve_size() to the function .init.text:.parse_crashkernel() The function .fadump_calculate_reserve_size() references the function __init .parse_crashkernel(). This is often because .fadump_calculate_reserve_size lacks a __init annotation or the annotation of .parse_crashkernel is wrong. Completed OK # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 # Build took: 0:07:32.260122