# git rev-parse -q --verify 958f338e96f874a0d29442396d6adf9c1e17aa2d^{commit} 958f338e96f874a0d29442396d6adf9c1e17aa2d already have revision, skipping fetch # git checkout -q -f -B kisskb 958f338e96f874a0d29442396d6adf9c1e17aa2d # git clean -qxdf # < git log -1 # commit 958f338e96f874a0d29442396d6adf9c1e17aa2d # Merge: 781fca5 07d981a # Author: Linus Torvalds # Date: Tue Aug 14 09:46:06 2018 -0700 # # Merge branch 'l1tf-final' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # # Merge L1 Terminal Fault fixes from Thomas Gleixner: # "L1TF, aka L1 Terminal Fault, is yet another speculative hardware # engineering trainwreck. It's a hardware vulnerability which allows # unprivileged speculative access to data which is available in the # Level 1 Data Cache when the page table entry controlling the virtual # address, which is used for the access, has the Present bit cleared or # other reserved bits set. # # If an instruction accesses a virtual address for which the relevant # page table entry (PTE) has the Present bit cleared or other reserved # bits set, then speculative execution ignores the invalid PTE and loads # the referenced data if it is present in the Level 1 Data Cache, as if # the page referenced by the address bits in the PTE was still present # and accessible. # # While this is a purely speculative mechanism and the instruction will # raise a page fault when it is retired eventually, the pure act of # loading the data and making it available to other speculative # instructions opens up the opportunity for side channel attacks to # unprivileged malicious code, similar to the Meltdown attack. # # While Meltdown breaks the user space to kernel space protection, L1TF # allows to attack any physical memory address in the system and the # attack works across all protection domains. It allows an attack of SGX # and also works from inside virtual machines because the speculation # bypasses the extended page table (EPT) protection mechanism. # # The assoicated CVEs are: CVE-2018-3615, CVE-2018-3620, CVE-2018-3646 # # The mitigations provided by this pull request include: # # - Host side protection by inverting the upper address bits of a non # present page table entry so the entry points to uncacheable memory. # # - Hypervisor protection by flushing L1 Data Cache on VMENTER. # # - SMT (HyperThreading) control knobs, which allow to 'turn off' SMT # by offlining the sibling CPU threads. The knobs are available on # the kernel command line and at runtime via sysfs # # - Control knobs for the hypervisor mitigation, related to L1D flush # and SMT control. The knobs are available on the kernel command line # and at runtime via sysfs # # - Extensive documentation about L1TF including various degrees of # mitigations. # # Thanks to all people who have contributed to this in various ways - # patches, review, testing, backporting - and the fruitful, sometimes # heated, but at the end constructive discussions. # # There is work in progress to provide other forms of mitigations, which # might be less horrible performance wise for a particular kind of # workloads, but this is not yet ready for consumption due to their # complexity and limitations" # # * 'l1tf-final' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (75 commits) # x86/microcode: Allow late microcode loading with SMT disabled # tools headers: Synchronise x86 cpufeatures.h for L1TF additions # x86/mm/kmmio: Make the tracer robust against L1TF # x86/mm/pat: Make set_memory_np() L1TF safe # x86/speculation/l1tf: Make pmd/pud_mknotpresent() invert # x86/speculation/l1tf: Invert all not present mappings # cpu/hotplug: Fix SMT supported evaluation # KVM: VMX: Tell the nested hypervisor to skip L1D flush on vmentry # x86/speculation: Use ARCH_CAPABILITIES to skip L1D flush on vmentry # x86/speculation: Simplify sysfs report of VMX L1TF vulnerability # Documentation/l1tf: Remove Yonah processors from not vulnerable list # x86/KVM/VMX: Don't set l1tf_flush_l1d from vmx_handle_external_intr() # x86/irq: Let interrupt handlers set kvm_cpu_l1tf_flush_l1d # x86: Don't include linux/irq.h from asm/hardirq.h # x86/KVM/VMX: Introduce per-host-cpu analogue of l1tf_flush_l1d # x86/irq: Demote irq_cpustat_t::__softirq_pending to u16 # x86/KVM/VMX: Move the l1tf_flush_l1d test to vmx_l1d_flush() # x86/KVM/VMX: Replace 'vmx_l1d_flush_always' with 'vmx_l1d_flush_cond' # x86/KVM/VMX: Don't set l1tf_flush_l1d to true from vmx_l1d_flush() # cpu/hotplug: detect SMT disabled by BIOS # ... # < /opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < git log --format=%s --max-count=1 958f338e96f874a0d29442396d6adf9c1e17aa2d # < make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- randconfig KCONFIG_SEED=0x14ED0BB1 # Added to kconfig CONFIG_STANDALONE=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_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- scripts/Makefile.kasan:17: Cannot use CONFIG_KASAN: -fsanitize=kernel-address is not supported by compiler kernel/dma/mapping.o: warning: objtool: dma_common_get_sgtable()+0x5b: unreachable instruction /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] kernel/rcu/sync.o: warning: objtool: rcu_sync_func()+0x14: unreachable instruction arch/x86/mm/init_64.o: warning: objtool: __init_extra_mapping()+0x78: unreachable instruction security/keys/encrypted-keys/encrypted.o: warning: objtool: derived_key_encrypt.constprop.9()+0x136: unreachable instruction kernel/dma/direct.o: warning: objtool: dma_direct_map_sg()+0x20: unreachable instruction /kisskb/src/arch/x86/kernel/apic/io_apic.c: In function 'mp_map_pin_to_irq': /kisskb/src/arch/x86/kernel/apic/io_apic.c:1034:6: warning: 'irq' may be used uninitialized in this function [-Wuninitialized] arch/x86/kernel/apic/vector.o: warning: objtool: arch_early_irq_init()+0x25: unreachable instruction kernel/cgroup/cgroup.o: warning: objtool: find_css_set()+0x189: unreachable instruction arch/x86/kernel/traps.o: warning: objtool: ist_begin_non_atomic()+0x11: unreachable instruction kernel/time/timer.o: warning: objtool: timers_dead_cpu()+0x30: unreachable instruction arch/x86/kernel/cpu/common.o: warning: objtool: identify_secondary_cpu()+0x12: unreachable instruction kernel/trace/trace.o: warning: objtool: __tracing_resize_ring_buffer()+0x79: unreachable instruction security/keys/keyring.o: warning: objtool: search_nested_keyrings()+0x30: unreachable instruction kernel/cpu.o: warning: objtool: takedown_cpu()+0x98: unreachable instruction crypto/asymmetric_keys/public_key.o: warning: objtool: public_key_verify_signature()+0x36: unreachable instruction kernel/cgroup/cpuset.o: warning: objtool: cpuset_init()+0x1d: unreachable instruction kernel/time/hrtimer.o: warning: objtool: hrtimers_dead_cpu()+0x30: unreachable instruction kernel/sched/core.o: warning: objtool: sched_cpu_dying()+0x80: unreachable instruction fs/configfs/dir.o: warning: objtool: configfs_rmdir()+0x74: unreachable instruction kernel/softirq.o: warning: objtool: tasklet_kill_immediate()+0x22: unreachable instruction kernel/exit.o: warning: objtool: release_task()+0xa9: unreachable instruction arch/x86/mm/pageattr.o: warning: objtool: change_page_attr_set_clr()+0x1a9: unreachable instruction kernel/resource.o: warning: objtool: find_next_iomem_res()+0x20: unreachable instruction arch/x86/mm/physaddr.o: warning: objtool: __phys_addr()+0x24: unreachable instruction kernel/trace/trace_functions_graph.o: warning: objtool: ftrace_return_to_handler()+0x2b: unreachable instruction kernel/rcu/tree.o: warning: objtool: rcu_init()+0x68: unreachable instruction kernel/dma/swiotlb.o: warning: objtool: swiotlb_tbl_map_single()+0xa7: unreachable instruction arch/x86/kernel/nmi.o: warning: objtool: do_nmi()+0x81: unreachable instruction kernel/irq/matrix.o: warning: objtool: irq_matrix_assign_system()+0x2d: unreachable instruction drivers/bcma/driver_chipcommon_pmu.o: warning: objtool: bcma_pmu_pll_clock()+0x29: unreachable instruction arch/x86/kernel/setup.o: warning: objtool: extend_brk()+0x14: unreachable instruction fs/fscache/cache.o: warning: objtool: fscache_withdraw_cache()+0xfc: unreachable instruction fs/fscache/cookie.o: warning: objtool: __fscache_disable_cookie()+0xee: unreachable instruction kernel/trace/ring_buffer_benchmark.o: warning: objtool: ring_buffer_consumer_thread()+0x95: unreachable instruction kernel/signal.o: warning: objtool: task_set_jobctl_pending()+0x10: unreachable instruction kernel/params.o: warning: objtool: param_sysfs_init()+0x135: unreachable instruction kernel/sched/rt.o: warning: objtool: pick_next_pushable_task()+0x3d: unreachable instruction /kisskb/src/arch/x86/kernel/e820.c: In function 'e820__setup_pci_gap': /kisskb/src/arch/x86/kernel/e820.c:651:16: warning: 'gapstart' may be used uninitialized in this function [-Wuninitialized] mm/truncate.o: warning: objtool: invalidate_inode_pages2_range()+0x143: unreachable instruction arch/x86/kernel/e820.o: warning: objtool: e820__reallocate_tables()+0x2f: unreachable instruction fs/hugetlbfs/inode.o: warning: objtool: hugetlbfs_setattr()+0x30: unreachable instruction arch/x86/mm/mmio-mod.o: warning: objtool: pre()+0xa5: unreachable instruction kernel/sched/deadline.o: warning: objtool: pick_next_pushable_dl_task()+0x28: unreachable instruction mm/shmem.o: warning: objtool: shmem_init()+0x18: unreachable instruction arch/x86/kernel/quirks.o: warning: objtool: force_hpet_resume()+0x3d: unreachable instruction kernel/workqueue.o: warning: objtool: workqueue_init_early()+0x3a: unreachable instruction drivers/dma-buf/dma-buf.o: warning: objtool: dma_buf_vunmap()+0x26: unreachable instruction crypto/api.o: warning: objtool: __crypto_alloc_tfm()+0x42: unreachable instruction fs/fscache/object.o: warning: objtool: fscache_look_up_object()+0x28: unreachable instruction kernel/cred.o: warning: objtool: __put_cred()+0x1b: unreachable instruction arch/x86/kernel/alternative.o: warning: objtool: apply_alternatives()+0x46: unreachable instruction drivers/dma-buf/dma-fence.o: warning: objtool: dma_fence_init()+0x22: unreachable instruction /kisskb/src/arch/x86/kernel/hw_breakpoint.c: In function 'hw_breakpoint_arch_parse': /kisskb/src/arch/x86/kernel/hw_breakpoint.c:366:18: warning: 'align' may be used uninitialized in this function [-Wuninitialized] mm/vmscan.o: warning: objtool: __remove_mapping()+0x32: unreachable instruction fs/fscache/operation.o: warning: objtool: fscache_put_operation()+0x53: unreachable instruction /kisskb/src/mm/vmstat.c: In function 'sysctl_vm_numa_stat_handler': /kisskb/src/mm/vmstat.c:89:5: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c: In function 'reservation_object_add_shared_fence': /kisskb/src/drivers/dma-buf/reservation.c:210:7: warning: 'k' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c:160:17: note: 'k' was declared here kernel/ucount.o: warning: objtool: user_namespace_sysctl_init()+0x27: unreachable instruction drivers/base/regmap/regmap-irq.o: warning: objtool: regmap_irq_thread()+0x9f: unreachable instruction kernel/smpboot.o: warning: objtool: smpboot_thread_fn()+0x113: unreachable instruction drivers/crypto/cavium/nitrox/nitrox_reqmgr.o: warning: objtool: softreq_unmap_sgbufs()+0x239: unreachable instruction mm/page_alloc.o: warning: objtool: deferred_init_memmap()+0xa2: unreachable instruction fs/fscache/page.o: warning: objtool: __fscache_uncache_page()+0x21: unreachable instruction /kisskb/src/drivers/char/tpm/tpm-sysfs.c: In function 'pubek_show': /kisskb/src/drivers/char/tpm/tpm-sysfs.c:37:16: warning: 'tpm_buf.data' may be used uninitialized in this function [-Wuninitialized] mm/percpu.o: warning: objtool: pcpu_setup_first_chunk()+0x33: unreachable instruction drivers/base/devres.o: warning: objtool: release_nodes()+0xca: unreachable instruction mm/list_lru.o: warning: objtool: __list_lru_walk_one.isra.8()+0xb1: unreachable instruction fs/fscache/object-list.o: warning: objtool: fscache_objlist_add()+0x1e: unreachable instruction drivers/firewire/nosy.o: warning: objtool: add_card()+0x277: unreachable instruction /kisskb/src/drivers/char/tpm/tpm2-cmd.c: In function 'tpm2_unseal_trusted': /kisskb/src/drivers/char/tpm/tpm.h:502:18: warning: 'blob_handle' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/char/tpm/tpm2-cmd.c:719:6: note: 'blob_handle' was declared here /kisskb/src/drivers/hwspinlock/hwspinlock_core.c: In function 'of_hwspin_lock_get_id': /kisskb/src/drivers/hwspinlock/hwspinlock_core.c:328:6: warning: 'id' may be used uninitialized in this function [-Wuninitialized] drivers/hwspinlock/hwspinlock_core.o: warning: objtool: __hwspin_unlock()+0x18: unreachable instruction crypto/algapi.o: warning: objtool: crypto_unregister_template()+0x30: unreachable instruction mm/gup.o: warning: objtool: get_user_pages_locked()+0x41: unreachable instruction /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 crypto/scatterwalk.o: warning: objtool: scatterwalk_ffwd()+0x55: unreachable instruction drivers/base/platform-msi.o: warning: objtool: platform_msi_create_irq_domain()+0x18: unreachable instruction /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] kernel/module.o: warning: objtool: frob_ro_after_init()+0x17: unreachable instruction drivers/input/gameport/gameport.o: warning: objtool: gameport_start_polling()+0x3a: unreachable instruction mm/mmap.o: warning: objtool: mm_drop_all_locks()+0x1e: unreachable instruction fs/sysfs/file.o: warning: objtool: sysfs_kf_seq_show()+0x40: unreachable instruction mm/memory.o: warning: objtool: unmap_page_range()+0x32: unreachable instruction fs/proc/array.o: warning: objtool: proc_task_name()+0x51: unreachable instruction fs/notify/mark.o: warning: objtool: fsnotify_add_mark_locked()+0x3a: unreachable instruction mm/rmap.o: warning: objtool: hugepage_add_anon_rmap()+0x30: unreachable instruction mm/vmalloc.o: warning: objtool: pcpu_get_vm_areas()+0x49: unreachable instruction lib/mpi/mpi-pow.o: warning: objtool: mpi_powm()+0x244: unreachable instruction kernel/kexec_file.o: warning: objtool: arch_kexec_kernel_image_load()+0x22: unsupported stack register modification fs/exec.o: warning: objtool: flush_old_exec()+0x246: unreachable instruction drivers/memstick/host/r592.o: warning: objtool: r592_probe()+0x26c: unreachable instruction drivers/crypto/qat/qat_common/adf_transport.o: warning: objtool: adf_create_ring()+0x214: unreachable instruction mm/hugetlb.o: warning: objtool: huge_pte_alloc()+0x92: unreachable instruction drivers/crypto/qat/qat_common/adf_admin.o: warning: objtool: adf_init_admin_comms()+0x11f: unreachable instruction fs/namei.o: warning: objtool: follow_down()+0x26: unreachable instruction lib/scatterlist.o: warning: objtool: sg_init_one()+0x25: unreachable instruction kernel/kprobes.o: warning: objtool: register_kprobe()+0x20d: unreachable instruction drivers/misc/cardreader/rtsx_pcr.o: warning: objtool: rtsx_pci_probe()+0x1e0: unreachable instruction drivers/crypto/qat/qat_common/qat_algs.o: warning: objtool: qat_alg_ablkcipher_setkey()+0x1ae: unreachable instruction kernel/seccomp.o: warning: objtool: do_seccomp()+0x71: unreachable instruction drivers/mtd/chips/cfi_util.o: warning: objtool: cfi_merge_status()+0x51: unreachable instruction fs/dcache.o: warning: objtool: d_instantiate_new()+0x1b: unreachable instruction drivers/crypto/qat/qat_common/qat_asym_algs.o: warning: objtool: qat_dh_compute_value()+0x3f9: unreachable instruction fs/inode.o: warning: objtool: clear_inode()+0x26: unreachable instruction mm/page_isolation.o: warning: objtool: start_isolate_page_range()+0x27: unreachable instruction /kisskb/src/drivers/mfd/tc3589x.c: In function 'tc3589x_probe': /kisskb/src/drivers/mfd/tc3589x.c:390:2: warning: 'version' may be used uninitialized in this function [-Wuninitialized] mm/slub.o: warning: objtool: deactivate_slab()+0x20f: unreachable instruction crypto/rsa-pkcs1pad.o: warning: objtool: pkcs1pad_sg_set_buf()+0x3a: unreachable instruction drivers/media/media-entity.o: warning: objtool: media_create_pad_link()+0x2b: unreachable instruction fs/file.o: warning: objtool: expand_files()+0x105: unreachable instruction drivers/ntb/test/ntb_tool.o: warning: objtool: tool_mw_trans_write()+0x153: unreachable instruction /kisskb/src/mm/memcontrol.c: In function 'mem_cgroup_commit_charge': /kisskb/src/mm/memcontrol.c:2077:5: warning: 'isolated' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/memcontrol.c:2091:6: note: 'isolated' was declared here fs/seq_file.o: warning: objtool: seq_dentry()+0x21: unreachable instruction mm/memcontrol.o: warning: objtool: mem_cgroup_reset()+0x6d: unreachable instruction mm/userfaultfd.o: warning: objtool: mcopy_atomic()+0x34: unreachable instruction mm/zsmalloc.o: warning: objtool: zs_map_object()+0x28: unreachable instruction drivers/platform/chrome/cros_ec_proto.o: warning: objtool: cros_ec_prepare_tx()+0x22: unreachable instruction lib/kfifo.o: warning: objtool: setup_sgl_buf.part.1()+0x125: unreachable instruction crypto/testmgr.o: warning: objtool: test_akcipher_one()+0x197: unreachable instruction drivers/ntb/hw/mscc/ntb_hw_switchtec.o: warning: objtool: switchtec_ntb_init_shared_mw()+0x56: unreachable instruction /kisskb/src/lib/rhashtable.c: In function 'rht_deferred_worker': /kisskb/src/lib/rhashtable.c:269:2: warning: 'next' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/rhashtable.c:234:28: note: 'next' was declared here drivers/misc/tifm_core.o: warning: objtool: tifm_map_sg()+0x3c: unreachable instruction fs/userfaultfd.o: warning: objtool: userfaultfd_ioctl()+0x2e3: unreachable instruction fs/aio.o: warning: objtool: aio_nr_sub()+0x22: unreachable instruction drivers/misc/pci_endpoint_test.o: warning: objtool: pci_endpoint_test_ioctl()+0x654: unreachable instruction drivers/rapidio/devices/tsi721.o: warning: objtool: tsi721_probe()+0x33a: unreachable instruction drivers/rpmsg/virtio_rpmsg_bus.o: warning: objtool: rpmsg_sg_init()+0x57: unreachable instruction /kisskb/src/drivers/slimbus/messaging.c: In function 'slim_do_transfer': /kisskb/src/drivers/slimbus/messaging.c:126:14: warning: 'tid' may be used uninitialized in this function [-Wuninitialized] arch/x86/kernel/machine_kexec_64.o: warning: objtool: arch_kexec_kernel_image_load()+0x3c: unsupported stack register modification drivers/thunderbolt/nhi.o: warning: objtool: tb_ring_alloc()+0x17e: unreachable instruction drivers/tty/serial/8250/8250_core.o: warning: objtool: univ8250_release_irq()+0x69: unreachable instruction drivers/virtio/virtio.o: warning: objtool: virtio_dev_probe()+0x5e: unreachable instruction /kisskb/src/drivers/video/backlight/adp8860_bl.c: In function 'adp8860_bl_ambient_light_zone_show': /kisskb/src/drivers/video/backlight/adp8860_bl.c:601: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:579:10: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8860_bl.c:579: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:443:16: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8870_bl.c: In function 'adp8870_bl_ambient_light_zone_show': /kisskb/src/drivers/video/backlight/adp8870_bl.c:785:32: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/backlight/adp8870_bl.c: In function 'adp8870_show': /kisskb/src/drivers/video/backlight/adp8870_bl.c:564:16: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized] drivers/virtio/virtio_pci_modern.o: warning: objtool: vp_set()+0x25: unreachable instruction drivers/virtio/virtio_ring.o: warning: objtool: vring_map_one_sg()+0x54: unreachable instruction drivers/gpu/drm/ttm/ttm_tt.o: warning: objtool: ttm_tt_swapout()+0x25: unreachable instruction drivers/gpu/drm/ttm/ttm_bo.o: warning: objtool: ttm_bo_release_list()+0x2a: unreachable instruction drivers/virtio/virtio_balloon.o: warning: objtool: virtballoon_probe()+0x26f: unreachable instruction lib/assoc_array.o: warning: objtool: assoc_array_destroy_subtree()+0x38: unreachable instruction lib/genalloc.o: warning: objtool: gen_pool_free()+0x6d: unreachable instruction drivers/tty/serial/fsl_lpuart.o: warning: objtool: lpuart_set_termios()+0x382: unreachable instruction drivers/gpu/drm/ttm/ttm_page_alloc_dma.o: warning: objtool: ttm_dma_populate()+0x1e7: unreachable instruction lib/syscall.o: warning: objtool: collect_syscall()+0x17a: unreachable instruction drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.o: warning: objtool: vmw_execbuf_process()+0xb63: unreachable instruction drivers/gpu/drm/drm_crtc_helper.o: warning: objtool: drm_crtc_helper_set_config()+0x30: unreachable instruction drivers/usb/gadget/udc/mv_u3d_core.o: warning: objtool: mv_u3d_remove()+0x21: unreachable instruction drivers/usb/core/hcd.o: warning: objtool: usb_hcd_map_urb_for_dma()+0x2ca: unreachable instruction lib/oid_registry.o: warning: objtool: sprint_OID()+0xb: unreachable instruction drivers/mtd/mtdconcat.o: warning: objtool: concat_erase()+0x122: unreachable instruction drivers/mfd/wm8994-core.o: warning: objtool: wm8994_i2c_probe()+0x27c: unreachable instruction drivers/gpu/drm/nouveau/nvkm/core/mm.o: warning: objtool: nvkm_mm_init()+0x37: unreachable instruction /kisskb/src/drivers/mtd/ubi/eba.c: In function 'try_write_vid_and_data': /kisskb/src/drivers/mtd/ubi/eba.c:1001:7: warning: 'opnum' may be used uninitialized in this function [-Wuninitialized] drivers/mtd/nand/raw/nand_base.o: warning: objtool: nand_fill_oob()+0x79: unreachable instruction drivers/gpu/drm/nouveau/nvkm/core/notify.o: warning: objtool: nvkm_notify_send()+0x30: unreachable instruction drivers/mtd/nand/raw/nand_bbt.o: warning: objtool: verify_bbt_descr()+0x2d: unreachable instruction drivers/gpu/drm/udl/udl_dmabuf.o: warning: objtool: udl_map_dma_buf()+0x142: unreachable instruction drivers/gpu/drm/vmwgfx/vmwgfx_drv.o: warning: objtool: vmw_master_set()+0x4b: unreachable instruction drivers/usb/misc/usbtest.o: warning: objtool: alloc_sglist.isra.21()+0xb6: unreachable instruction drivers/gpu/drm/vmwgfx/vmwgfx_fifo.o: warning: objtool: vmw_local_fifo_commit()+0x53: unreachable instruction /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c: In function 'drm_dp_sideband_msg_build': /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c:364:23: warning: 'hdrlen' may be used uninitialized in this function [-Wuninitialized] crypto/drbg.o: warning: objtool: drbg_seed()+0xb1: unreachable instruction drivers/gpu/drm/vmwgfx/vmwgfx_ldu.o: warning: objtool: vmw_ldu_primary_plane_atomic_update()+0x54: unreachable instruction drivers/usb/host/ehci-hcd.o: warning: objtool: ehci_urb_enqueue()+0x205: unreachable instruction drivers/gpu/drm/vmwgfx/vmwgfx_overlay.o: warning: objtool: vmw_overlay_stop()+0x8a: unreachable instruction lib/idr.o: warning: objtool: ida_simple_get()+0x1a: unreachable instruction drivers/usb/core/devio.o: warning: objtool: proc_do_submiturb()+0x530: unreachable instruction drivers/mtd/nand/raw/cafe_nand.o: warning: objtool: cafe_nand_probe()+0x33b: unreachable instruction lib/ioremap.o: warning: objtool: ioremap_page_range()+0x22: unreachable instruction drivers/gpu/drm/vmwgfx/vmwgfx_mob.o: warning: objtool: vmw_mob_pt_populate()+0x27: unreachable instruction lib/kobject.o: warning: objtool: kobject_add_internal()+0x136: unreachable instruction lib/plist.o: warning: objtool: plist_requeue()+0x1d: unreachable instruction lib/radix-tree.o: warning: objtool: radix_tree_tag_set()+0x30: unreachable instruction drivers/mtd/nand/raw/r852.o: warning: objtool: r852_probe()+0x1c5: unreachable instruction crypto/chacha20poly1305.o: warning: objtool: poly_tail()+0x7d: unreachable instruction crypto/ccm.o: warning: objtool: crypto_ccm_init_crypt()+0xe3: unreachable instruction crypto/gcm.o: warning: objtool: crypto_gcm_init_common()+0x132: unreachable instruction drivers/gpu/drm/drm_global.o: warning: objtool: drm_global_item_unref()+0x32: unreachable instruction drivers/gpu/drm/drm_prime.o: warning: objtool: drm_gem_map_dma_buf()+0xb6: unreachable instruction drivers/gpu/drm/drm_vblank.o: warning: objtool: drm_vblank_restore()+0x42: unreachable instruction /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c: In function 'gk104_top_oneinit': /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:90:20: warning: 'inst' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:76:3: warning: 'type' may be used uninitialized in this function [-Wuninitialized] drivers/gpu/drm/nouveau/nouveau_usif.o: warning: objtool: usif_notify()+0x3c: unreachable instruction /kisskb/src/drivers/gpu/drm/nouveau/dispnv50/lut.c: In function 'nv50_lut_load': /kisskb/src/arch/x86/include/asm/io.h:66:1: warning: 'b' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/dispnv50/lut.c:39:18: note: 'b' was declared here /kisskb/src/arch/x86/include/asm/io.h:66:1: warning: 'g' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/dispnv50/lut.c:39:15: note: 'g' was declared here /kisskb/src/arch/x86/include/asm/io.h:66:1: warning: 'r' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/dispnv50/lut.c:39:12: note: 'r' was declared here arch/x86/mm/init.o: In function `max_swapfile_size': init.c:(.text+0x37e): undefined reference to `generic_max_swapfile_size' /kisskb/src/Makefile:1005: recipe for target 'vmlinux' failed make[1]: *** [vmlinux] Error 1 Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64 # Build took: 0:01:31.750794