# 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 5256426247837feb8703625bda7fcfc824af04cf # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc885_ads_defconfig+HUGETLB_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc885_ads_defconfig # Added to kconfig CONFIG_HUGETLBFS=y # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc885_ads_defconfig+HUGETLB_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc885_ads_defconfig+HUGETLB_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc885_ads_defconfig+HUGETLB_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x41a484) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.12.0-rc3-g525642624783 Created: Fri Apr 30 01:40:25 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2068133 Bytes = 2019.66 KiB = 1.97 MiB Load Address: 00500000 Entry Point: 00500204 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc885_ads_defconfig+HUGETLB_powerpc-gcc5 # Build took: 0:00:46.680120