# 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 870d16757ba8918c3f8cac162b9ca7669556dbab # < make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc83xx_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1515:1: warning: the frame size of 1160 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x7a4a30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7a4a30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7a4a30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7a4a30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7a4a30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7a4a30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x794348) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7a4a30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) Image Name: Linux-5.10.0-g870d16757ba8 Created: Thu Dec 17 09:58:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3580477 Bytes = 3496.56 KiB = 3.41 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.10.0-g870d16757ba8 Created: Thu Dec 17 09:58:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3610518 Bytes = 3525.90 KiB = 3.44 MiB Load Address: 00800000 Entry Point: 00800294 Image Name: Linux-5.10.0-g870d16757ba8 Created: Thu Dec 17 09:58:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3611043 Bytes = 3526.41 KiB = 3.44 MiB Load Address: 00800000 Entry Point: 00800294 Image Name: Linux-5.10.0-g870d16757ba8 Created: Thu Dec 17 09:58:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3611154 Bytes = 3526.52 KiB = 3.44 MiB Load Address: 00800000 Entry Point: 00800294 Image Name: Linux-5.10.0-g870d16757ba8 Created: Thu Dec 17 09:58:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3611408 Bytes = 3526.77 KiB = 3.44 MiB Load Address: 00800000 Entry Point: 00800294 Image Name: Linux-5.10.0-g870d16757ba8 Created: Thu Dec 17 09:58:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3611131 Bytes = 3526.50 KiB = 3.44 MiB Load Address: 00800000 Entry Point: 00800294 Image Name: Linux-5.10.0-g870d16757ba8 Created: Thu Dec 17 09:58:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3610605 Bytes = 3525.98 KiB = 3.44 MiB Load Address: 00800000 Entry Point: 00800294 Completed OK # rm -rf /kisskb/build/linus_mpc83xx_defconfig_powerpc-gcc4.9 # Build took: 0:01:07.131837