From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD203C04EB8 for ; Tue, 4 Dec 2018 10:56:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7D44C214C1 for ; Tue, 4 Dec 2018 10:56:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Rwmz2nk8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D44C214C1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726579AbeLDK4q (ORCPT ); Tue, 4 Dec 2018 05:56:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:40154 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbeLDK4o (ORCPT ); Tue, 4 Dec 2018 05:56:44 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 91ACB214DA; Tue, 4 Dec 2018 10:56:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543921003; bh=SA3T6Ee3lj3qpIVyOVFqQNwzlQSKdRic1tFRkqpGeB0=; h=From:To:Cc:Subject:Date:From; b=Rwmz2nk8ampL3vpkJKY6XFyf2Ap6f2+UdJOoSUmAPpLZkiOXRauVSpKkZS5NasVTp TbWxbVE3Ib9gYEj+Fzn1kjjMhsjpmhyuPXlP0sUAzAvdkY3cSZ2A50rH8zUlayWkpa 1mityA1wKwRJA4Z/V9+Uni7aAeUG8OT2wfRB9xMc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, ben.hutchings@codethink.co.uk, lkft-triage@lists.linaro.org, stable@vger.kernel.org Subject: [PATCH 4.19 000/139] 4.19.7-stable review Date: Tue, 4 Dec 2018 11:48:01 +0100 Message-Id: <20181204103649.950154335@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.7-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.19.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.19.7-rc1 X-KernelTest-Deadline: 2018-12-06T10:36+00:00 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the start of the stable review cycle for the 4.19.7 release. There are 139 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Dec 6 10:36:22 UTC 2018. Anything received after that time might be too late. The whole patch series can be found in one patch at: https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.7-rc1.gz or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman Linux 4.19.7-rc1 YueHaibing misc: mic/scif: fix copy-paste error in scif_create_remote_lookup Dexuan Cui Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl() Yu Zhao mm: use swp_offset as key in shmem_replace_page() Pavel Tikhomirov mm: cleancache: fix corruption on missed inode invalidation Luis Chamberlain lib/test_kmod.c: fix rmmod double free Martin Kelly iio:st_magn: Fix enable device after trigger Hans de Goede iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers Felipe Balbi Revert "usb: dwc3: gadget: skip Set/Clear Halt when invalid" Michael Niewöhner usb: core: quirks: add RESET_RESUME quirk for Cherry G230 Stream series Kai-Heng Feng USB: usb-storage: Add new IDs to ums-realtek Larry Finger staging: rtl8723bs: Add missing return for cfg80211_rtw_get_station Larry Finger staging: rtl8723bs: Fix incorrect sense of ether_addr_equal Colin Ian King staging: mt7621-pinctrl: fix uninitialized variable ngroups Sergio Paracuellos staging: mt7621-dma: fix potentially dereferencing uninitialized 'tx_desc' Ben Wolsieffer staging: vchiq_arm: fix compat VCHIQ_IOC_AWAIT_COMPLETION Colin Ian King staging: most: use format specifier "%s" in snprintf Richard Genoud dmaengine: at_hdmac: fix module unloading Richard Genoud dmaengine: at_hdmac: fix memory leak in at_dma_xlate() Heiko Stuebner ARM: dts: rockchip: Remove @0 from the veyron memory node Andreas Dannenberg ASoC: pcm186x: Fix device reset-registers trigger value Hans de Goede ASoC: intel: cht_bsw_max98090_ti: Add quirk for boards using pmc_plt_clk_0 Pan Bian ext2: fix potential use after free xingaopeng ext2: initialize opts.s_mount_opt as zero before using it Todd Kjos binder: fix race that allows malicious free of live buffer Steven Rostedt (VMware) function_graph: Reverse the order of pushing the ret_stack and the callback Steven Rostedt (VMware) function_graph: Move return callback before update of curr_ret_stack Steven Rostedt (VMware) function_graph: Have profiler use curr_ret_stack and not depth Steven Rostedt (VMware) function_graph: Use new curr_ret_depth to manage depth instead of curr_ret_stack Steven Rostedt (VMware) function_graph: Make ftrace_push_return_trace() static Steven Rostedt (VMware) MIPS: function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) arm64: function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) s390/function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) riscv/function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) parisc: function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) sparc/function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) sh/function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) powerpc/function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) nds32: function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) x86/function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) microblaze: function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) ARM: function_graph: Simplify with function_graph_enter() Steven Rostedt (VMware) function_graph: Create function_graph_enter() to consolidate architecture code Girija Kumar Kasinadhuni ALSA: hda/realtek - Add auto-mute quirk for HP Spectre x360 laptop Hui Wang ALSA: hda/realtek - fix the pop noise on headphone for lenovo laptops Anisse Astier ALSA: hda/realtek - fix headset mic detection for MSI MS-B171 Kailang Yang ALSA: hda/realtek - Support ALC300 Hans de Goede ALSA: hda: Add ASRock N68C-S UCC the power_save blacklist Takashi Iwai ALSA: sparc: Fix invalid snd_free_pages() at error path Takashi Iwai ALSA: control: Fix race between adding and removing a user element Takashi Iwai ALSA: ac97: Fix incorrect bit shift at AC97-SPSA control write Takashi Iwai ALSA: wss: Fix invalid snd_free_pages() at error path Maximilian Heyne fs: fix lost error code in dio_complete Jiri Olsa perf/x86/intel: Disallow precise_ip on BTS events Jiri Olsa perf/x86/intel: Add generic branch tracing check to intel_pmu_has_bts() Jiri Olsa perf/x86/intel: Move branch tracing setup to the Intel-specific source file Sebastian Andrzej Siewior x86/fpu: Disable bottom halves while loading FPU registers Borislav Petkov x86/MCE/AMD: Fix the thresholding machinery initialization order Christoph Muellner arm64: dts: rockchip: Fix PCIe reset polarity for rk3399-puma-haikou. Mikulas Patocka PCI: Fix incorrect value returned from pcie_get_speed_cap() Gustavo Pimentel PCI: dwc: Fix MSI-X EP framework address calculation bug Hou Zhiqiang PCI: layerscape: Fix wrong invocation of outbound window disable accessor Pan Bian btrfs: relocation: set trans to be NULL after ending transaction Filipe Manana Btrfs: fix race between enabling quotas and subvolume creation Filipe Manana Btrfs: fix rare chances for data loss when doing a fast fsync Filipe Manana Btrfs: ensure path name is null terminated at btrfs_control_ioctl Nikolay Borisov btrfs: Always try all copies when reading extent buffers Jan Kara udf: Allow mounting volumes with incorrect identification strings Max Filippov xtensa: fix coprocessor part of ptrace_{get,set}xregs Max Filippov xtensa: fix coprocessor context offset definitions Max Filippov xtensa: enable coprocessors that are being flushed Luiz Capitulino KVM: VMX: re-add ple_gap module parameter Wanpeng Li KVM: X86: Fix scan ioapic use-before-initialization Wanpeng Li KVM: LAPIC: Fix pv ipis use-before-initialization Liran Alon KVM: x86: Fix kernel info-leak in KVM_HC_CLOCK_PAIRING hypercall Leonid Shatz KVM: nVMX/nSVM: Fix bug which sets vcpu->arch.tsc_offset to L1 tsc_offset Jim Mattson kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb Junaid Shahid kvm: mmu: Fix race in emulated page table writes Andrea Arcangeli userfaultfd: shmem/hugetlbfs: only allow to register VM_MAYWRITE vmas Thomas Gleixner x86/speculation: Provide IBPB always command line options Thomas Gleixner x86/speculation: Add seccomp Spectre v2 user space protection mode Thomas Gleixner x86/speculation: Enable prctl mode for spectre_v2_user Thomas Gleixner x86/speculation: Add prctl() control for indirect branch speculation Thomas Gleixner x86/speculation: Prepare arch_smt_update() for PRCTL mode Thomas Gleixner x86/speculation: Prevent stale SPEC_CTRL msr content Thomas Gleixner x86/speculation: Split out TIF update Thomas Gleixner ptrace: Remove unused ptrace_may_access_sched() and MODE_IBRS Thomas Gleixner x86/speculation: Prepare for conditional IBPB in switch_mm() Thomas Gleixner x86/speculation: Avoid __switch_to_xtra() calls Thomas Gleixner x86/process: Consolidate and simplify switch_to_xtra() code Tim Chen x86/speculation: Prepare for per task indirect branch speculation control Thomas Gleixner x86/speculation: Add command line control for indirect branch speculation Thomas Gleixner x86/speculation: Unify conditional spectre v2 print functions Thomas Gleixner x86/speculataion: Mark command line parser data __initdata Thomas Gleixner x86/speculation: Mark string arrays const correctly Thomas Gleixner x86/speculation: Reorder the spec_v2 code Thomas Gleixner x86/l1tf: Show actual SMT state Thomas Gleixner x86/speculation: Rework SMT state change Thomas Gleixner sched/smt: Expose sched_smt_present static key Thomas Gleixner x86/Kconfig: Select SCHED_SMT if SMP enabled Peter Zijlstra (Intel) sched/smt: Make sched_smt_present track topology Tim Chen x86/speculation: Reorganize speculation control MSRs update Thomas Gleixner x86/speculation: Rename SSBD update functions Tim Chen x86/speculation: Disable STIBP when enhanced IBRS is in use Tim Chen x86/speculation: Move STIPB/IBPB string conditionals out of cpu_show_common() Tim Chen x86/speculation: Remove unnecessary ret variable in cpu_show_common() Tim Chen x86/speculation: Clean up spectre_v2_parse_cmdline() Tim Chen x86/speculation: Update the TIF_SSBD comment Zhenzhong Duan x86/retpoline: Remove minimal retpoline support Zhenzhong Duan x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support Zhenzhong Duan x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variant Jiri Kosina x86/speculation: Propagate information about RSB filling mitigation to sysfs Jiri Kosina x86/speculation: Apply IBPB more strictly to avoid cross-process data leak Jiri Kosina x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation Jon Maloy tipc: fix lockdep warning during node delete Heiner Kallweit net: phy: add workaround for issue where PHY driver doesn't bind to the device Eric Dumazet tcp: defer SACK compression after DupThresh Tal Gilboa net/dim: Update DIM start sample after each DIM iteration Jason Wang virtio-net: fail XDP set if guest csum is negotiated Jason Wang virtio-net: disable guest csum during XDP set Petr Machata net: skb_scrub_packet(): Scrub offload_fwd_mark Lorenzo Bianconi net: thunderx: set xdp_prog to NULL if bpf_prog_add fails Bernd Eckstein <3erndeckstein@gmail.com> usbnet: ipheth: fix potential recvmsg bug and recvmsg bug 2 Julian Wiedmann s390/qeth: fix length check in SNMP processing Pan Bian rapidio/rionet: do not free skb before reading its length Willem de Bruijn packet: copy user buffers before orphan or clone Lorenzo Bianconi net: thunderx: set tso_hdrs pointer to NULL in nicvf_free_snd_queue Andreas Fiedler net: gemini: Fix copy/paste error Paolo Abeni net: don't keep lonely packets forever in the gro hash Bryan Whitehead lan743x: fix return value for lan743x_tx_napi_poll Bryan Whitehead lan743x: Enable driver to work with LAN7431 Hugh Dickins mm/khugepaged: collapse_shmem() do not crash on Compound Hugh Dickins mm/khugepaged: collapse_shmem() without freezing new_page Hugh Dickins mm/khugepaged: minor reorderings in collapse_shmem() Hugh Dickins mm/khugepaged: collapse_shmem() remember to clear holes Hugh Dickins mm/khugepaged: fix crashes due to misaccounted holes Hugh Dickins mm/khugepaged: collapse_shmem() stop if punched or truncated Hugh Dickins mm/huge_memory: fix lockdep complaint on 32-bit i_size_read() Hugh Dickins mm/huge_memory: splitting set mapping+index before unfreeze Hugh Dickins mm/huge_memory: rename freeze_page() to unmap_page() ------------- Diffstat: Documentation/admin-guide/kernel-parameters.txt | 56 ++- Documentation/userspace-api/spec_ctrl.rst | 9 + Makefile | 4 +- arch/arm/boot/dts/rk3288-veyron.dtsi | 6 +- arch/arm/kernel/ftrace.c | 17 +- .../arm64/boot/dts/rockchip/rk3399-puma-haikou.dts | 2 +- arch/arm64/kernel/ftrace.c | 15 +- arch/microblaze/kernel/ftrace.c | 15 +- arch/mips/kernel/ftrace.c | 14 +- arch/nds32/kernel/ftrace.c | 18 +- arch/parisc/kernel/ftrace.c | 17 +- arch/powerpc/kernel/trace/ftrace.c | 15 +- arch/riscv/kernel/ftrace.c | 14 +- arch/s390/kernel/ftrace.c | 13 +- arch/sh/kernel/ftrace.c | 16 +- arch/sparc/kernel/ftrace.c | 11 +- arch/x86/Kconfig | 12 +- arch/x86/Makefile | 5 +- arch/x86/events/core.c | 20 - arch/x86/events/intel/core.c | 56 ++- arch/x86/events/perf_event.h | 13 +- arch/x86/include/asm/kvm_host.h | 3 +- arch/x86/include/asm/msr-index.h | 5 +- arch/x86/include/asm/nospec-branch.h | 43 +- arch/x86/include/asm/spec-ctrl.h | 20 +- arch/x86/include/asm/switch_to.h | 3 - arch/x86/include/asm/thread_info.h | 20 +- arch/x86/include/asm/tlbflush.h | 8 +- arch/x86/kernel/cpu/bugs.c | 493 +++++++++++++++++---- arch/x86/kernel/cpu/mcheck/mce_amd.c | 19 +- arch/x86/kernel/fpu/signal.c | 4 +- arch/x86/kernel/ftrace.c | 15 +- arch/x86/kernel/process.c | 101 ++++- arch/x86/kernel/process.h | 39 ++ arch/x86/kernel/process_32.c | 10 +- arch/x86/kernel/process_64.c | 10 +- arch/x86/kvm/lapic.c | 5 + arch/x86/kvm/mmu.c | 27 +- arch/x86/kvm/svm.c | 25 +- arch/x86/kvm/vmx.c | 22 +- arch/x86/kvm/x86.c | 10 +- arch/x86/mm/tlb.c | 115 ++++- arch/xtensa/kernel/asm-offsets.c | 16 +- arch/xtensa/kernel/process.c | 5 +- arch/xtensa/kernel/ptrace.c | 42 +- drivers/android/binder.c | 21 +- drivers/android/binder_alloc.c | 16 +- drivers/android/binder_alloc.h | 3 +- drivers/dma/at_hdmac.c | 10 +- drivers/hid/hid-sensor-custom.c | 2 +- drivers/hid/hid-sensor-hub.c | 13 +- drivers/hv/channel.c | 8 + drivers/iio/accel/hid-sensor-accel-3d.c | 5 +- drivers/iio/gyro/hid-sensor-gyro-3d.c | 5 +- drivers/iio/humidity/hid-sensor-humidity.c | 3 +- drivers/iio/light/hid-sensor-als.c | 8 +- drivers/iio/light/hid-sensor-prox.c | 8 +- drivers/iio/magnetometer/hid-sensor-magn-3d.c | 8 +- drivers/iio/magnetometer/st_magn_buffer.c | 12 +- drivers/iio/orientation/hid-sensor-incl-3d.c | 8 +- drivers/iio/pressure/hid-sensor-press.c | 8 +- drivers/iio/temperature/hid-sensor-temperature.c | 3 +- drivers/misc/mic/scif/scif_rma.c | 2 +- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 9 +- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 4 +- drivers/net/ethernet/cortina/gemini.c | 2 +- drivers/net/ethernet/microchip/lan743x_main.c | 11 +- drivers/net/ethernet/microchip/lan743x_main.h | 1 + drivers/net/phy/phy_device.c | 8 + drivers/net/rionet.c | 2 +- drivers/net/usb/ipheth.c | 10 +- drivers/net/virtio_net.c | 13 +- drivers/pci/controller/dwc/pci-layerscape.c | 2 +- drivers/pci/controller/dwc/pcie-designware-ep.c | 1 - drivers/pci/pci.c | 24 +- drivers/rtc/rtc-hid-sensor-time.c | 2 +- drivers/s390/net/qeth_core_main.c | 27 +- drivers/staging/most/core.c | 2 +- drivers/staging/mt7621-dma/mtk-hsdma.c | 3 +- drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 2 +- drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c | 4 +- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 +- .../vc04_services/interface/vchiq_arm/vchiq_arm.c | 7 +- drivers/usb/core/quirks.c | 3 + drivers/usb/dwc3/gadget.c | 5 - drivers/usb/storage/unusual_realtek.h | 10 + fs/btrfs/disk-io.c | 11 +- fs/btrfs/file.c | 24 + fs/btrfs/qgroup.c | 3 +- fs/btrfs/relocation.c | 1 + fs/btrfs/super.c | 1 + fs/direct-io.c | 4 +- fs/ext2/super.c | 1 + fs/ext2/xattr.c | 2 +- fs/udf/super.c | 16 +- fs/udf/unicode.c | 14 +- fs/userfaultfd.c | 15 + include/linux/ftrace.h | 4 +- include/linux/hid-sensor-hub.h | 4 +- include/linux/net_dim.h | 2 + include/linux/ptrace.h | 4 +- include/linux/sched.h | 10 + include/linux/sched/smt.h | 20 + include/linux/skbuff.h | 18 +- include/linux/tcp.h | 1 + include/uapi/linux/prctl.h | 1 + kernel/cpu.c | 14 +- kernel/sched/core.c | 19 +- kernel/sched/sched.h | 4 +- kernel/trace/ftrace.c | 7 +- kernel/trace/trace_functions_graph.c | 49 +- lib/test_kmod.c | 1 - mm/huge_memory.c | 43 +- mm/khugepaged.c | 129 +++--- mm/rmap.c | 13 +- mm/shmem.c | 12 +- mm/truncate.c | 8 +- mm/userfaultfd.c | 15 +- net/core/dev.c | 7 +- net/core/skbuff.c | 5 + net/ipv4/tcp_input.c | 14 +- net/ipv4/tcp_output.c | 6 +- net/ipv4/tcp_timer.c | 2 +- net/packet/af_packet.c | 4 +- net/tipc/node.c | 7 +- scripts/Makefile.build | 2 - sound/core/control.c | 80 ++-- sound/isa/wss/wss_lib.c | 2 - sound/pci/ac97/ac97_codec.c | 2 +- sound/pci/hda/hda_intel.c | 2 + sound/pci/hda/patch_realtek.c | 36 ++ sound/soc/codecs/pcm186x.h | 2 +- sound/soc/intel/boards/cht_bsw_max98090_ti.c | 32 +- sound/sparc/cs4231.c | 8 +- tools/include/uapi/linux/prctl.h | 1 + 135 files changed, 1585 insertions(+), 802 deletions(-)