# 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 32 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_tqm5200_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- 52xx/tqm5200_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_tqm5200_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_tqm5200_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_tqm5200_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:1311:1: warning: the frame size of 1160 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x74a1c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) Image Name: Linux-5.12.0-rc3-g525642624783 Created: Fri Apr 30 02:39:40 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3294330 Bytes = 3217.12 KiB = 3.14 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_52xx_tqm5200_defconfig_powerpc-gcc4.9 # Build took: 0:01:25.907276