# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 320cd018d59229ab54ad013a2bf98a9de40fe7d0 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- randconfig KCONFIG_SEED=0x4C3E5F08 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- olddefconfig .config:3909:warning: override: reassigning to symbol STANDALONE .config:3911:warning: override: reassigning to symbol MODULE_SIG .config:3920:warning: override: reassigning to symbol TRIM_UNUSED_KSYMS .config:3921:warning: override: reassigning to symbol UBSAN # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8860_bl.c: In function 'adp8860_bl_ambient_light_zone_show': /kisskb/src/drivers/video/backlight/adp8860_bl.c:600:32: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8860_bl.c: In function 'adp8860_bl_ambient_light_level_show': /kisskb/src/drivers/video/backlight/adp8860_bl.c:578:10: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8860_bl.c:578:10: warning: 'ret_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8860_bl.c: In function 'adp8860_show': /kisskb/src/drivers/video/backlight/adp8860_bl.c:442:16: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/core/gen_stats.c: In function '__gnet_stats_copy_basic': /kisskb/src/net/core/gen_stats.c:156:19: warning: 'seq' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/core/dev.c: In function 'validate_xmit_skb_list': /kisskb/src/net/core/dev.c:3604:15: warning: 'tail' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/mpi/mpicoder.c: In function 'mpi_read_raw_from_sgl': /kisskb/src/lib/mpi/mpicoder.c:352:8: warning: 'buff' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma/sh/rcar-dmac.c: In function 'rcar_dmac_chan_prep_sg': /kisskb/src/drivers/dma/sh/rcar-dmac.c:951:23: warning: 'high_mem_addr' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma/sh/rcar-dmac.c:950:23: warning: 'high_dev_addr' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'serial_unlink_irq_chain': /kisskb/src/drivers/tty/serial/8250/8250_core.c:242:2: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/splice.c: In function '__do_compat_sys_vmsplice': /kisskb/src/fs/splice.c:1416:8: warning: 'type' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/splice.c: In function '__do_sys_vmsplice': /kisskb/src/fs/splice.c:1390:8: warning: 'type' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/rhashtable.c: In function 'rhashtable_rehash_one.isra.18': /kisskb/src/include/linux/rhashtable.h:110:10: warning: 'next' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/rhashtable.c:222:28: note: 'next' was declared here /kisskb/src/kernel/futex.c: In function 'futex_atomic_op_inuser': /kisskb/src/kernel/futex.c:1686:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fec_ptp.c: In function 'fec_ptp_adjfreq': /kisskb/src/drivers/net/ethernet/freescale/fec_ptp.c:340:50: warning: 'corr_period' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fec_ptp.c:333:11: warning: 'corr_inc' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/tx.c: In function 'ieee80211_build_hdr': /kisskb/src/net/mac80211/tx.c:2558:27: warning: 'chanctx_conf' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_handle_pwr_constr.isra.35': /kisskb/src/net/mac80211/mlme.c:1603:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/hwspinlock/hwspinlock_core.c: In function 'of_hwspin_lock_get_id': /kisskb/src/drivers/hwspinlock/hwspinlock_core.c:345:6: warning: 'id' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/fsi/fsi-master-ast-cf.c: In function 'dump_ucode_trace': /kisskb/src/drivers/fsi/fsi-master-ast-cf.c:459:5: warning: 'p' may be used uninitialized in this function [-Wuninitialized] arch/powerpc/perf/perf_regs.o: In function `.perf_reg_value': perf_regs.c:(.text+0x30): undefined reference to `.is_sier_available' kernel/sched/isolation.o: In function `.housekeeping_any_cpu': (.text+0x110): undefined reference to `.sched_numa_find_closest' mm/page_alloc.o:(.toc+0x0): undefined reference to `node_reclaim_distance' make[1]: *** [/kisskb/src/Makefile:1106: vmlinux] Error 1 make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc4.6 # Build took: 0:01:49.489693