# git rev-parse -q --verify 9580b71b5a7863c24a9bd18bcd2ad759b86b1eff^{commit} 9580b71b5a7863c24a9bd18bcd2ad759b86b1eff already have revision, skipping fetch # git checkout -q -f -B kisskb 9580b71b5a7863c24a9bd18bcd2ad759b86b1eff # git clean -qxdf # < git log -1 # commit 9580b71b5a7863c24a9bd18bcd2ad759b86b1eff # Author: Christophe Leroy # Date: Wed Feb 27 11:45:30 2019 +0000 # # powerpc/32: Clear on-stack exception marker upon exception return # # Clear the on-stack STACK_FRAME_REGS_MARKER on exception exit in order # to avoid confusing stacktrace like the one below. # # Call Trace: # [c0e9dca0] [c01c42a0] print_address_description+0x64/0x2bc (unreliable) # [c0e9dcd0] [c01c4684] kasan_report+0xfc/0x180 # [c0e9dd10] [c0895130] memchr+0x24/0x74 # [c0e9dd30] [c00a9e38] msg_print_text+0x124/0x574 # [c0e9dde0] [c00ab710] console_unlock+0x114/0x4f8 # [c0e9de40] [c00adc60] vprintk_emit+0x188/0x1c4 # --- interrupt: c0e9df00 at 0x400f330 # LR = init_stack+0x1f00/0x2000 # [c0e9de80] [c00ae3c4] printk+0xa8/0xcc (unreliable) # [c0e9df20] [c0c27e44] early_irq_init+0x38/0x108 # [c0e9df50] [c0c15434] start_kernel+0x310/0x488 # [c0e9dff0] [00003484] 0x3484 # # With this patch the trace becomes: # # Call Trace: # [c0e9dca0] [c01c42c0] print_address_description+0x64/0x2bc (unreliable) # [c0e9dcd0] [c01c46a4] kasan_report+0xfc/0x180 # [c0e9dd10] [c0895150] memchr+0x24/0x74 # [c0e9dd30] [c00a9e58] msg_print_text+0x124/0x574 # [c0e9dde0] [c00ab730] console_unlock+0x114/0x4f8 # [c0e9de40] [c00adc80] vprintk_emit+0x188/0x1c4 # [c0e9de80] [c00ae3e4] printk+0xa8/0xcc # [c0e9df20] [c0c27e44] early_irq_init+0x38/0x108 # [c0e9df50] [c0c15434] start_kernel+0x310/0x488 # [c0e9dff0] [00003484] 0x3484 # # Cc: stable@vger.kernel.org # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # < /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 9580b71b5a7863c24a9bd18bcd2ad759b86b1eff # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc6xx_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1263:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/trace_dynevent.c: In function 'create_dyn_event': /kisskb/src/kernel/trace/trace_dynevent.c:89:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223:2: warning: 'speaker_vol' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec.isra.28': /kisskb/src/net/bridge/br_netlink.c:652:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2076:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:339:21: note: 'pdeo' was declared here /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': /kisskb/src/net/mac80211/mlme.c:1522:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c:1479:6: note: 'pwr_level_cisco' was declared here /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1843:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1753:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0xa97140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa97140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa97140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa97140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa97140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa97140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa86a5c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.0.0-rc2+ Created: Mon Mar 4 14:16:06 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5031753 Bytes = 4913.82 KiB = 4.80 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.0.0-rc2+ Created: Mon Mar 4 14:16:06 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5063462 Bytes = 4944.79 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.0.0-rc2+ Created: Mon Mar 4 14:16:06 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5064210 Bytes = 4945.52 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b00888 Image Name: Linux-5.0.0-rc2+ Created: Mon Mar 4 14:16:06 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5063418 Bytes = 4944.74 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b00290 INFO: Uncompressed kernel (size 0xa97140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.0.0-rc2+ Created: Mon Mar 4 14:16:06 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5064509 Bytes = 4945.81 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b00888 INFO: Uncompressed kernel (size 0xa97140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa97140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa97140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.0.0-rc2+ Created: Mon Mar 4 14:16:06 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5063440 Bytes = 4944.77 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b00290 INFO: Uncompressed kernel (size 0xa86a5c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.0.0-rc2+ Created: Mon Mar 4 14:16:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5061734 Bytes = 4943.10 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.0.0-rc2+ Created: Mon Mar 4 14:16:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5062641 Bytes = 4943.99 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.0.0-rc2+ Created: Mon Mar 4 14:16:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5064039 Bytes = 4945.35 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b00290 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc4.6 # Build took: 0:03:37.005701