# git rev-parse -q --verify 320cd018d59229ab54ad013a2bf98a9de40fe7d0^{commit} 320cd018d59229ab54ad013a2bf98a9de40fe7d0 already have revision, skipping fetch # git checkout -q -f -B kisskb 320cd018d59229ab54ad013a2bf98a9de40fe7d0 # git clean -qxdf # < git log -1 # commit 320cd018d59229ab54ad013a2bf98a9de40fe7d0 # Author: Christophe Leroy # Date: Wed Apr 8 15:58:49 2020 +0000 # # powerpc/kasan: Fix stack overflow by increasing THREAD_SHIFT # # When CONFIG_KASAN is selected, the stack usage is increased. # # In the same way as x86 and arm64 architectures, increase # THREAD_SHIFT when CONFIG_KASAN is selected. # # Fixes: 2edb16efc899 ("powerpc/32: Add KASAN support") # Reported-by: # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://bugzilla.kernel.org/show_bug.cgi?id=207129 # Link: https://lore.kernel.org/r/2c50f3b1c9bbaa4217c9a98f3044bd2a36c46a4f.1586361277.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 320cd018d59229ab54ad013a2bf98a9de40fe7d0 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_40x_walnut_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/walnut_defconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_40x_walnut_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_40x_walnut_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_40x_walnut_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_40x.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_40x.S:804: Warning: invalid register expression INFO: Uncompressed kernel (size 0x514630) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Completed OK # rm -rf /kisskb/build/powerpc-next_40x_walnut_defconfig_powerpc-gcc5 # Build took: 0:00:44.347325