# 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_52xx_lite5200b_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 52xx/lite5200b_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_52xx_lite5200b_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_52xx_lite5200b_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_52xx_lite5200b_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S: Assembler messages: /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S:184: Warning: invalid register expression INFO: Uncompressed kernel (size 0x52fa60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x52fa60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51f3a8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.7.0-rc2-14549-gfeb8e960d Created: Fri Apr 24 01:36:55 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2623819 Bytes = 2562.32 KiB = 2.50 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.7.0-rc2-14549-gfeb8e960d Created: Fri Apr 24 01:36:55 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2652354 Bytes = 2590.19 KiB = 2.53 MiB Load Address: 00600000 Entry Point: 00600284 Image Name: Linux-5.7.0-rc2-14549-gfeb8e960d Created: Fri Apr 24 01:36:55 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2653025 Bytes = 2590.84 KiB = 2.53 MiB Load Address: 00600000 Entry Point: 00600284 Completed OK # rm -rf /kisskb/build/powerpc-fixes_52xx_lite5200b_defconfig_powerpc-gcc5 # Build took: 0:00:50.012360