# git rev-parse -q --verify 5256426247837feb8703625bda7fcfc824af04cf^{commit} 5256426247837feb8703625bda7fcfc824af04cf already have revision, skipping fetch # git checkout -q -f -B kisskb 5256426247837feb8703625bda7fcfc824af04cf # git clean -qxdf # < git log -1 # commit 5256426247837feb8703625bda7fcfc824af04cf # Author: Christophe Leroy # Date: Fri Apr 23 13:52:10 2021 +0000 # # powerpc/signal32: Fix erroneous SIGSEGV on RT signal return # # Return of user_read_access_begin() is tested the wrong way, # leading to a SIGSEGV when the user address is valid and likely # an Oops when the user address is bad. # # Fix the test. # # Fixes: 887f3ceb51cd ("powerpc/signal32: Convert do_setcontext[_tm]() to user access block") # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/a29aadc54c93bcbf069a83615fa102ca0f59c3ae.1619185912.git.christophe.leroy@csgroup.eu # < /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 5256426247837feb8703625bda7fcfc824af04cf # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_ksi8560_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/ksi8560_defconfig # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_ksi8560_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_ksi8560_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_ksi8560_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x541900) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x531348) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.12.0-rc3-g525642624783 Created: Fri Apr 30 02:41:38 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2693675 Bytes = 2630.54 KiB = 2.57 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.12.0-rc3-g525642624783 Created: Fri Apr 30 02:41:38 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2724711 Bytes = 2660.85 KiB = 2.60 MiB Load Address: 00600000 Entry Point: 00600314 Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_ksi8560_defconfig_powerpc-gcc4.9 # Build took: 0:00:30.221742