# git rev-parse -q --verify c14cab2688d09b851349acbb83e5fce8e0d4ca42^{commit} c14cab2688d09b851349acbb83e5fce8e0d4ca42 already have revision, skipping fetch # git checkout -q -f -B kisskb c14cab2688d09b851349acbb83e5fce8e0d4ca42 # git clean -qxdf # < git log -1 # commit c14cab2688d09b851349acbb83e5fce8e0d4ca42 # Merge: 8b00083219af fb9cbbc895eb # Author: Linus Torvalds # Date: Sun May 10 11:59:53 2020 -0700 # # Merge tag 'x86-urgent-2020-05-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # # Pull x86 fixes from Thomas Gleixner: # "A set of fixes for x86: # # - Ensure that direct mapping alias is always flushed when changing # page attributes. The optimization for small ranges failed to do so # when the virtual address was in the vmalloc or module space. # # - Unbreak the trace event registration for syscalls without arguments # caused by the refactoring of the SYSCALL_DEFINE0() macro. # # - Move the printk in the TSC deadline timer code to a place where it # is guaranteed to only be called once during boot and cannot be # rearmed by clearing warn_once after boot. If it's invoked post boot # then lockdep rightfully complains about a potential deadlock as the # calling context is different. # # - A series of fixes for objtool and the ORC unwinder addressing # variety of small issues: # # - Stack offset tracking for indirect CFAs in objtool ignored # subsequent pushs and pops # # - Repair the unwind hints in the register clearing entry ASM code # # - Make the unwinding in the low level exit to usermode code stop # after switching to the trampoline stack. The unwind hint is no # longer valid and the ORC unwinder emits a warning as it can't # find the registers anymore. # # - Fix unwind hints in switch_to_asm() and rewind_stack_do_exit() # which caused objtool to generate bogus ORC data. # # - Prevent unwinder warnings when dumping the stack of a # non-current task as there is no way to be sure about the # validity because the dumped stack can be a moving target. # # - Make the ORC unwinder behave the same way as the frame pointer # unwinder when dumping an inactive tasks stack and do not skip # the first frame. # # - Prevent ORC unwinding before ORC data has been initialized # # - Immediately terminate unwinding when a unknown ORC entry type # is found. # # - Prevent premature stop of the unwinder caused by IRET frames. # # - Fix another infinite loop in objtool caused by a negative # offset which was not catched. # # - Address a few build warnings in the ORC unwinder and add # missing static/ro_after_init annotations" # # * tag 'x86-urgent-2020-05-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: # x86/unwind/orc: Move ORC sorting variables under !CONFIG_MODULES # x86/apic: Move TSC deadline timer debug printk # ftrace/x86: Fix trace event registration for syscalls without arguments # x86/mm/cpa: Flush direct map alias during cpa # objtool: Fix infinite loop in for_offset_range() # x86/unwind/orc: Fix premature unwind stoppage due to IRET frames # x86/unwind/orc: Fix error path for bad ORC entry type # x86/unwind/orc: Prevent unwinding before ORC initialization # x86/unwind/orc: Don't skip the first frame for inactive tasks # x86/unwind: Prevent false warnings for non-current tasks # x86/unwind/orc: Convert global variables to static # x86/entry/64: Fix unwind hints in rewind_stack_do_exit() # x86/entry/64: Fix unwind hints in __switch_to_asm() # x86/entry/64: Fix unwind hints in kernel exit path # x86/entry/64: Fix unwind hints in register clearing code # objtool: Fix stack offset tracking for indirect CFAs # < /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 c14cab2688d09b851349acbb83e5fce8e0d4ca42 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- randconfig KCONFIG_SEED=0x66E7A3F6 # 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 8 ARCH=powerpc O=/kisskb/build/linus-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 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- olddefconfig .config:3482:warning: override: reassigning to symbol STANDALONE .config:3485:warning: override: reassigning to symbol CPU_BIG_ENDIAN .config:3485:warning: override: CPU_BIG_ENDIAN changes choice state # make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/sched/core.c: In function 'try_to_wake_up': /kisskb/src/kernel/sched/core.c:2631:12: warning: 'cpu' 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:72:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:471:21: note: 'pdeo' was declared here /kisskb/src/fs/ext4/extents.c: In function 'ext4_convert_unwritten_io_end_vec': /kisskb/src/fs/ext4/extents.c:4774:23: warning: 'ret' 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/kernel/trace/trace_events.c: In function 'event_create_dir': /kisskb/src/kernel/trace/trace_events.c:2189:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/f2fs/file.c: In function 'f2fs_precache_extents': /kisskb/src/fs/f2fs/file.c:3268:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/gfs2/lops.c: In function 'gfs2_find_jhead': /kisskb/src/fs/gfs2/lops.c:568:8: warning: 'off' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/f2fs/node.c: In function '__set_nat_cache_dirty': /kisskb/src/include/linux/list.h:100:12: 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/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/fs/io_uring.c: In function '__io_sqe_files_update': /kisskb/src/fs/io_uring.c:6687:13: 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:247: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/spi/spi-fsl-spi.c: In function 'fsl_spi_do_one_msg': /kisskb/src/drivers/spi/spi-fsl-spi.c:389:12: warning: 'first' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c: In function 'ibmvscsis_rdma': /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:3311:18: warning: 'server_ioba' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:3305:18: warning: 'client_ioba' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/leds/leds-el15203000.c: In function 'el15203000_probe_dt': /kisskb/src/drivers/leds/leds-el15203000.c:246:8: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] WARNING: modpost: vmlinux.o(.text.unlikely+0x850): 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: modpost: vmlinux.o(.text.unlikely+0x44c0): Section mismatch in reference from the function .xive_spapr_disabled() to the function .init.text:.of_get_flat_dt_root() The function .xive_spapr_disabled() references the function __init .of_get_flat_dt_root(). This is often because .xive_spapr_disabled lacks a __init annotation or the annotation of .of_get_flat_dt_root is wrong. WARNING: modpost: vmlinux.o(.text.unlikely+0x44dc): Section mismatch in reference from the function .xive_spapr_disabled() to the function .init.text:.of_get_flat_dt_subnode_by_name() The function .xive_spapr_disabled() references the function __init .of_get_flat_dt_subnode_by_name(). This is often because .xive_spapr_disabled lacks a __init annotation or the annotation of .of_get_flat_dt_subnode_by_name is wrong. WARNING: modpost: vmlinux.o(.text.unlikely+0x4504): Section mismatch in reference from the function .xive_spapr_disabled() to the function .init.text:.of_get_flat_dt_prop() The function .xive_spapr_disabled() references the function __init .of_get_flat_dt_prop(). This is often because .xive_spapr_disabled lacks a __init annotation or the annotation of .of_get_flat_dt_prop is wrong. Segmentation fault make[1]: *** [/kisskb/src/Makefile:1113: vmlinux] Error 139 make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-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/linus-rand_powerpc-randconfig_powerpc-gcc4.6 # Build took: 0:04:37.733601