# git rev-parse -q --verify feb8e960d780e170e992a70491eec9dd68f4dbf2^{commit} feb8e960d780e170e992a70491eec9dd68f4dbf2 already have revision, skipping fetch # git checkout -q -f -B kisskb feb8e960d780e170e992a70491eec9dd68f4dbf2 # git clean -qxdf # < git log -1 # commit feb8e960d780e170e992a70491eec9dd68f4dbf2 # Author: Christophe Leroy # Date: Fri Apr 17 11:58:36 2020 +0000 # # powerpc/mm: Fix CONFIG_PPC_KUAP_DEBUG on PPC32 # # CONFIG_PPC_KUAP_DEBUG is not selectable because it depends on PPC_32 # which doesn't exists. # # Fixing it leads to a deadlock due to a vital register getting # clobbered in _switch(). # # Change dependency to PPC32 and use r0 instead of r4 in _switch() # # Fixes: e2fb9f544431 ("powerpc/32: Prepare for Kernel Userspace Access Protection") # Cc: stable@vger.kernel.org # v5.2+ # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/540242f7d4573f7cdf1b3bf46bb35f743b2cd68f.1587124651.git.christophe.leroy@c-s.fr # < /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 feb8e960d780e170e992a70491eec9dd68f4dbf2 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_83xx_mpc834x_itx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 83xx/mpc834x_itx_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_83xx_mpc834x_itx_defconfig_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-fixes_83xx_mpc834x_itx_defconfig_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-fixes_83xx_mpc834x_itx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x607ba8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x607ba8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x5f74c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.7.0-rc2-gfeb8e960d780 Created: Fri Apr 24 01:50:43 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3056786 Bytes = 2985.14 KiB = 2.92 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.7.0-rc2-gfeb8e960d780 Created: Fri Apr 24 01:50:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3085465 Bytes = 3013.15 KiB = 2.94 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-5.7.0-rc2-gfeb8e960d780 Created: Fri Apr 24 01:50:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3086033 Bytes = 3013.70 KiB = 2.94 MiB Load Address: 00700000 Entry Point: 00700294 Completed OK # rm -rf /kisskb/build/powerpc-fixes_83xx_mpc834x_itx_defconfig_powerpc-gcc5 # Build took: 0:00:53.969966