# git rev-parse -q --verify 8e9ad2720cd1cf55530755362ad899f69e09fb9a^{commit} 8e9ad2720cd1cf55530755362ad899f69e09fb9a already have revision, skipping fetch # git checkout -q -f -B kisskb 8e9ad2720cd1cf55530755362ad899f69e09fb9a # git clean -qxdf # < git log -1 # commit 8e9ad2720cd1cf55530755362ad899f69e09fb9a # Author: Michael Ellerman # Date: Wed Feb 12 22:11:00 2020 +1100 # # powerpc/xmon: Lower limits on nidump and ndump # # In xmon we have two variables that are used by the dump commands. # There's ndump which is the number of bytes to dump using 'd', and # nidump which is the number of instructions to dump using 'di'. # # ndump starts as 64 and nidump starts as 16, but both can be set by the # user. # # It's fairly common to be pasting addresses into xmon when trying to # debug something, and if you inadvertently double paste an address like # so: # # 0:mon> di c000000002101f6c c000000002101f6c # # The second value is interpreted as the number of instructions to dump. # # Luckily it doesn't dump 13 quintrillion instructions, the value is # limited to MAX_DUMP (128K). But as each instruction is dumped on a # single line, that's still a lot of output. If you're on a slow console # that can take multiple minutes to print. If you were "just popping in # and out of xmon quickly before the RCU/hardlockup detector fires" you # are now having a bad day. # # Things are not as bad with 'd' because we print 16 bytes per line, so # it's fewer lines. But it's still quite a lot. # # So shrink the maximum for 'd' to 64K (one page), which is 4096 lines. # For 'di' add a new limit which is the above / 4 - because instructions # are 4 bytes, meaning again we can dump one page. # # 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 8e9ad2720cd1cf55530755362ad899f69e09fb9a # < make -s -j 48 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=0xC5911488 # 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 # yes \n | make -s -j 48 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- oldconfig yes: standard output: Broken pipe # make -s -j 48 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- WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] /kisskb/src/arch/powerpc/sysdev/xive/spapr.c: In function 'xive_spapr_esb_rw': /kisskb/src/arch/powerpc/sysdev/xive/spapr.c:354:16: warning: 'read_data' 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:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/block/blk-sysfs.c: In function 'queue_wb_lat_store': /kisskb/src/block/blk-sysfs.c:471:7: warning: 'val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/mm/slice.c: In function 'slice_get_unmapped_area': /kisskb/src/arch/powerpc/mm/slice.c:639:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/fs/proc/inode.c:370:15: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/block/bfq-wf2q.c: In function '__bfq_entity_update_weight_prio': /kisskb/src/block/bfq-wf2q.c:810:24: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/trace_events.c: In function 'event_create_dir': /kisskb/src/kernel/trace/trace_events.c:2040:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/fat/fatent.c: In function 'fat_free_clusters': /kisskb/src/fs/fat/fatent.c:632:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/fat/fatent.c: In function 'fat_alloc_clusters': /kisskb/src/fs/fat/fatent.c:550:1: warning: the frame size of 1152 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/fat/dir.c: In function 'fat_add_new_entries': /kisskb/src/fs/fat/dir.c:1283:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/ntfs/aops.c: In function 'ntfs_write_mst_block': /kisskb/src/fs/ntfs/aops.c:1314:1: warning: the frame size of 2240 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/fat/dir.c: In function 'fat_alloc_new_dir': /kisskb/src/fs/fat/dir.c:1199:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/ntfs/aops.c: In function 'ntfs_read_block': /kisskb/src/fs/ntfs/aops.c:361:1: warning: the frame size of 1152 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/ext4/extents.c: In function 'ext4_convert_unwritten_io_end_vec': /kisskb/src/fs/ext4/extents.c:5009:23: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/ntfs/mft.c: In function 'ntfs_sync_mft_mirror': /kisskb/src/fs/ntfs/mft.c:627:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/ntfs/mft.c: In function 'write_mft_record_nolock': /kisskb/src/fs/ntfs/mft.c:839:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/ext4/move_extent.c: In function 'mext_page_mkuptodate': /kisskb/src/fs/ext4/move_extent.c:227:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/gfs2/bmap.c: In function 'gfs2_iomap_get': /kisskb/src/fs/gfs2/bmap.c:956:3: warning: 'height' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/gfs2/bmap.c:957:8: warning: 'len' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/gfs2/bmap.c:957:8: warning: 'lblock' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/ext4/readpage.c: In function 'ext4_mpage_readpages': /kisskb/src/fs/ext4/readpage.c:416:1: warning: the frame size of 1136 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/f2fs/file.c: In function 'f2fs_precache_extents': /kisskb/src/fs/f2fs/file.c:3257:6: warning: 'err' 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:248:18: warning: 'i' 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:1859:6: warning: 'ret' 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:2598:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regcache-rbtree.c: In function 'regcache_rbtree_write': /kisskb/src/drivers/base/regmap/regcache-rbtree.c:440:8: warning: 'new_top_reg' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regcache-rbtree.c:440:8: warning: 'new_base_reg' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/mpage.c: In function '__mpage_writepage': /kisskb/src/fs/mpage.c:690:1: warning: the frame size of 1200 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/mpage.c: In function 'do_mpage_readpage': /kisskb/src/fs/mpage.c:338:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/buffer.c: In function 'block_read_full_page': /kisskb/src/fs/buffer.c:2339:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/drivers/regulator/s5m8767.c: In function 's5m8767_get_register.isra.0': /kisskb/src/drivers/regulator/s5m8767.c:201:43: warning: 'mode' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/serial_core.c: In function 'uart_put_char': /kisskb/src/include/linux/spinlock.h:393:2: warning: 'flags' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/serial_core.c:550:16: note: 'flags' was declared here /kisskb/src/drivers/tty/serial/serial_core.c: In function 'uart_write': /kisskb/src/include/linux/spinlock.h:393:2: warning: 'flags' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/serial_core.c:580:16: note: 'flags' was declared here /kisskb/src/fs/f2fs/node.c: In function '__set_nat_cache_dirty': /kisskb/src/include/linux/list.h:70:13: warning: 'head' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/f2fs/node.c:236:24: note: 'head' was declared here /kisskb/src/drivers/usb/core/config.c: In function 'usb_get_configuration': /kisskb/src/drivers/usb/core/config.c:861:6: warning: 'result' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/btrfs/ioctl.c: In function 'btrfs_extent_same': /kisskb/src/fs/btrfs/ioctl.c:3265:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/cpufreq/powernv-cpufreq.c: In function 'powernv_cpufreq_reboot_notifier': /kisskb/src/drivers/cpufreq/powernv-cpufreq.c:896:1: warning: the frame size of 1264 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/drivers/cpufreq/powernv-cpufreq.c: In function 'powernv_cpufreq_work_fn': /kisskb/src/drivers/cpufreq/powernv-cpufreq.c:928:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/btrfs/zlib.c: In function 'zlib_compress_pages': /kisskb/src/fs/btrfs/zlib.c:227:8: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/watchdog/ziirave_wdt.c: In function 'ziirave_wdt_sysfs_store_firm': /kisskb/src/drivers/watchdog/ziirave_wdt.c:552:18: warning: 'fw' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/crypto/inside-secure/safexcel_cipher.c: In function 'safexcel_aead_setkey': /kisskb/src/drivers/crypto/inside-secure/safexcel_cipher.c:521:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/drivers/md/dm-stats.c: In function 'dm_jiffies_to_msec64.isra.1': /kisskb/src/drivers/md/dm-stats.c:794:40: warning: 'mult' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/usb/misc/usbtest.c: In function 'test_queue': /kisskb/src/drivers/usb/misc/usbtest.c:2148:1: warning: the frame size of 1216 bytes is larger than 1024 bytes [-Wframe-larger-than=] WARNING: vmlinux.o(.text.unlikely+0x920): Section mismatch in reference from the function .smp_setup_pacas() to the function .init.text:.allocate_paca() The function .smp_setup_pacas() references the function __init .allocate_paca(). This is often because .smp_setup_pacas lacks a __init annotation or the annotation of .allocate_paca is wrong. WARNING: vmlinux.o(.text.unlikely+0x2c98): Section mismatch in reference from the function .allocate_dart() to the function .init.text:.memblock_alloc_try_nid_raw() The function .allocate_dart() references the function __init .memblock_alloc_try_nid_raw(). This is often because .allocate_dart lacks a __init annotation or the annotation of .memblock_alloc_try_nid_raw is wrong. WARNING: vmlinux.o(.text.unlikely+0x2cec): Section mismatch in reference from the function .allocate_dart() to the function .init.text:.memblock_phys_alloc_range() The function .allocate_dart() references the function __init .memblock_phys_alloc_range(). This is often because .allocate_dart lacks a __init annotation or the annotation of .memblock_phys_alloc_range is wrong. ERROR: start_text address is c000000000008100, should be c000000000008000 ERROR: try to enable LD_HEAD_STUB_CATCH config option ERROR: see comments in arch/powerpc/tools/head_check.sh make[2]: *** [/kisskb/src/arch/powerpc/Makefile.postlink:31: vmlinux] Error 1 make[1]: *** [/kisskb/src/Makefile:1077: vmlinux] Error 2 make[1]: *** Deleting file 'vmlinux' make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 48 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:04:04.681357