This is the start of the stable review cycle for the 4.9.165 release. There are 118 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 Sun Mar 24 11:11:02 UTC 2019. 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.9.165-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.9.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 4.9.165-rc1 Wanpeng Li <kernellwp@xxxxxxxxx> KVM: X86: Fix residual mmio emulation request to userspace Sean Christopherson <sean.j.christopherson@xxxxxxxxx> KVM: nVMX: Ignore limit checks on VMX instructions using flat segments Sean Christopherson <sean.j.christopherson@xxxxxxxxx> KVM: nVMX: Sign extend displacements of VMX instr's mem operands Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx> drm/radeon/evergreen_cs: fix missing break in switch statement Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> media: uvcvideo: Avoid NULL pointer dereference at the end of streaming Zhang, Jun <jun.zhang@xxxxxxxxx> rcu: Do RCU GP kthread self-wakeup from softirq and interrupt Aditya Pakki <pakki001@xxxxxxx> md: Fix failed allocation of md_register_thread Adrian Hunter <adrian.hunter@xxxxxxxxx> perf intel-pt: Fix divide by zero when TSC is not available Adrian Hunter <adrian.hunter@xxxxxxxxx> perf intel-pt: Fix overlap calculation for padding Adrian Hunter <adrian.hunter@xxxxxxxxx> perf auxtrace: Define auxtrace record alignment Adrian Hunter <adrian.hunter@xxxxxxxxx> perf intel-pt: Fix CYC timestamp calculation after OVF Daniel Axtens <dja@xxxxxxxxxx> bcache: never writeback a discard operation Viresh Kumar <viresh.kumar@xxxxxxxxxx> PM / wakeup: Rework wakeup source timer cancellation Yihao Wu <wuyihao@xxxxxxxxxxxxxxxxx> nfsd: fix wrong check in write_v4_end_grace() NeilBrown <neilb@xxxxxxxx> nfsd: fix memory corruption caused by readdir Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> NFS: Don't recoalesce on error in nfs_pageio_complete_mirror() Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> NFS: Fix an I/O request leakage in nfs_do_recoalesce Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> NFS: Fix I/O request leakages NeilBrown <neil@xxxxxxxxxx> dm: fix to_sector() for 32bit Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx> ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify Michael Ellerman <mpe@xxxxxxxxxxxxxx> powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning Mark Cave-Ayland <mark.cave-ayland@xxxxxxxxxxxx> powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest Christophe Leroy <christophe.leroy@xxxxxx> powerpc/83xx: Also save/restore SPRG4-7 during suspend Jordan Niethe <jniethe5@xxxxxxxxx> powerpc/powernv: Make opal log only readable by root Christophe Leroy <christophe.leroy@xxxxxx> powerpc/wii: properly disable use of BATs when requested. Christophe Leroy <christophe.leroy@xxxxxx> powerpc/32: Clear on-stack exception marker upon exception return zhangyi (F) <yi.zhang@xxxxxxxxxx> jbd2: fix compile warning when using JBUFFER_TRACE zhangyi (F) <yi.zhang@xxxxxxxxxx> jbd2: clear dirty flag when revoking a buffer from an older transaction Jay Dolan <jay.dolan@xxxxxxxxxxx> serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup() Jay Dolan <jay.dolan@xxxxxxxxxxx> serial: 8250_pci: Fix number of ports for ACCES serial cards Angelo Butti <buttiangelo@xxxxxxxxx> 8250: FIX Fourth port offset of Pericom PI7C9X7954 boards Lubomir Rintel <lkundrak@xxxxx> serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart Anssi Hannula <anssi.hannula@xxxxxxxxxx> serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> drm/i915: Relax mmap VMA check Sowjanya Komatineni <skomatineni@xxxxxxxxxx> i2c: tegra: fix maximum transfer size QiaoChong <qiaochong@xxxxxxxxxxx> parport_pc: fix find_superio io compare code, should use equal test. Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> intel_th: Don't reference unassigned outputs Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx> device property: Fix the length used in PROPERTY_ENTRY_STRING() Zev Weiss <zev@xxxxxxxxxxxxxxxxx> kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv Roman Penyaev <rpenyaev@xxxxxxx> mm/vmalloc: fix size check for remap_vmalloc_range_partial() zhongjiang <zhongjiang@xxxxxxxxxx> mm: hwpoison: fix thp split handing in soft_offline_in_use_page() Dexuan Cui <decui@xxxxxxxxxxxxx> nfit: acpi_nfit_ctl(): Check out_obj->type in the right place Paul Cercueil <paul@xxxxxxxxxxxxxxx> clk: ingenic: Fix doc of ingenic_cgu_div_info Paul Cercueil <paul@xxxxxxxxxxxxxxx> clk: ingenic: Fix round_rate misbehaving with non-integer dividers Tony Lindgren <tony@xxxxxxxxxxx> clk: clk-twl6040: Fix imprecise external abort for pdmclk Jan Kara <jack@xxxxxxx> ext2: Fix underflow in ext2_max_size() Jan Kara <jack@xxxxxxx> ext4: fix crash during online resizing Arnd Bergmann <arnd@xxxxxxxx> cpufreq: pxa2xx: remove incorrect __init annotation Yangtao Li <tiny.windzz@xxxxxxxxx> cpufreq: tegra124: add missing of_node_put() Lubomir Rintel <lkundrak@xxxxx> libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer Eric Biggers <ebiggers@xxxxxxxxxx> crypto: pcbc - remove bogus memcpy()s with src == dest Filipe Manana <fdmanana@xxxxxxxx> Btrfs: fix corruption reading shared and compressed extents after hole punching Johannes Thumshirn <jthumshirn@xxxxxxx> btrfs: ensure that a DUP or RAID1 block group has exactly two stripes Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> m68k: Add -ffreestanding to CFLAGS Jann Horn <jannh@xxxxxxxxxx> splice: don't merge into linked buffers Varad Gautam <vrd@xxxxxxxxx> fs/devpts: always delete dcache dentry-s in dput() Bart Van Assche <bvanassche@xxxxxxx> scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock Martin K. Petersen <martin.petersen@xxxxxxxxxx> scsi: sd: Optimal I/O size should be a multiple of physical block size Felipe Franciosi <felipe@xxxxxxxxxxx> scsi: virtio_scsi: don't send sc payload with tmfs Halil Pasic <pasic@xxxxxxxxxxxxx> s390/virtio: handle find on invalid queue gracefully Stuart Menefy <stuart.menefy@xxxxxxxxxxxxxxxx> clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown Stuart Menefy <stuart.menefy@xxxxxxxxxxxxxxxx> clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR Stuart Menefy <stuart.menefy@xxxxxxxxxxxxxxxx> regulator: s2mpa01: Fix step values for some LDOs Krzysztof Kozlowski <krzk@xxxxxxxxxx> regulator: s2mps11: Fix steps for buck7, buck8 and LDO35 Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> spi: pxa2xx: Setup maximum supported DMA transfer length Vignesh R <vigneshr@xxxxxx> spi: ti-qspi: Fix mmap read when more than one CS in use Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> ACPI / device_sysfs: Avoid OF modalias creation for removed device zhangyi (F) <yi.zhang@xxxxxxxxxx> tracing: Do not free iter->trace in fail path of tracing_open_pipe() Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx> tracing: Use strncpy instead of memcpy for string keys in hist triggers Pavel Shilovsky <piastryyy@xxxxxxxxx> CIFS: Fix read after write for files with read caching Pavel Shilovsky <piastryyy@xxxxxxxxx> CIFS: Do not reset lease state to NONE on lease break Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling Eric Biggers <ebiggers@xxxxxxxxxx> crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails Oliver O'Halloran <oohall@xxxxxxxxx> libnvdimm: Fix altmap reservation size calculation Dan Williams <dan.j.williams@xxxxxxxxx> libnvdimm/pmem: Honor force_raw for legacy pmem regions Dan Williams <dan.j.williams@xxxxxxxxx> libnvdimm/label: Clear 'updating' flag after label-set update Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> stm class: Prevent division by zero Darrick J. Wong <darrick.wong@xxxxxxxxxx> tmpfs: fix uninitialized return value in shmem_link Mao Wenan <maowenan@xxxxxxxxxx> net: set static variable an initial value in atl2_probe() Jiong Wang <jiong.wang@xxxxxxxxxxxxx> nfp: bpf: fix ALU32 high bits clearance bug Jiong Wang <jiong.wang@xxxxxxxxxxxxx> nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K Vadim Lomovtsev <vlomovtsev@xxxxxxxxxxx> net: thunderx: make CFG_DONE message to run through generic send-ack sequence Li RongQing <lirongqing@xxxxxxxxx> mac80211_hwsim: propagate genlmsg_reply return code Arnd Bergmann <arnd@xxxxxxxx> phonet: fix building with clang Vineet Gupta <vgupta@xxxxxxxxxxxx> ARC: uacces: remove lp_start, lp_end from clobber list Eugeniy Paltsev <eugeniy.paltsev@xxxxxxxxxxxx> ARCv2: lib: memcpy: fix doing prefetchw outside of buffer Darrick J. Wong <darrick.wong@xxxxxxxxxx> tmpfs: fix link accounting when a tmpfile is linked in Russell King <rmk+kernel@xxxxxxxxxxxxxxx> net: marvell: mvneta: fix DMA debug warning Vladimir Murzin <vladimir.murzin@xxxxxxx> arm64: Relax GIC version check during early boot Bard liao <yung-chuan.liao@xxxxxxxxxxxxxxx> ASoC: topology: free created components in tplg load error Alexey Khoroshilov <khoroshilov@xxxxxxxxx> net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe() Beniamino Galvani <bgalvani@xxxxxxxxxx> qmi_wwan: apply SET_DTR quirk to Sierra WP7607 Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins Florian Fainelli <f.fainelli@xxxxxxxxx> net: systemport: Fix reception of BPDUs Anoob Soman <anoob.soman@xxxxxxxxxx> scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task David Howells <dhowells@xxxxxxxxxx> assoc_array: Fix shortcut creation Dietmar Eggemann <dietmar.eggemann@xxxxxxx> ARM: 8824/1: fix a migrating irq bug when hotplug cpu Andre Przywara <andre.przywara@xxxxxxx> clk: sunxi: A31: Fix wrong AHB gate number Gabriel Fernandez <gabriel.fernandez@xxxxxx> Input: st-keyscan - fix potential zalloc NULL dereference Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx> i2c: cadence: Fix the hold bit setting Huang Zijiang <huang.zijiang@xxxxxxxxxx> net: hns: Fix object reference leaks in hns_dsaf_roce_reset() Jann Horn <jannh@xxxxxxxxxx> mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs Yu Zhao <yuzhao@xxxxxxxxxx> mm/gup: fix gup_pmd_range() for dax Yufen Yu <yuyufen@xxxxxxxxxx> floppy: check_events callback should not return a negative number Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> Input: matrix_keypad - use flush_delayed_work() Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> Input: cap11xx - switch to using set_brightness_blocking() Yizhuo <yzhai003@xxxxxxx> ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized Stefan Haberland <sth@xxxxxxxxxxxxx> s390/dasd: fix using offset into zero size array error Steve Longerbeam <slongerbeam@xxxxxxxxx> gpu: ipu-v3: Fix CSI offsets for imx53 Alexander Shiyan <shc_work@xxxxxxx> gpu: ipu-v3: Fix i.MX51 CSI control registers offset Eric Biggers <ebiggers@xxxxxxxxxx> crypto: ahash - fix another early termination in hash walk Pankaj Gupta <pankaj.gupta@xxxxxxx> crypto: caam - fixed handling of sg list Zhi Jin <zhi.jin@xxxxxxxxx> stm class: Fix an endless loop in channel allocation Krzysztof Kozlowski <krzk@xxxxxxxxxx> iio: adc: exynos-adc: Fix NULL pointer exception on unbind S.j. Wang <shengjiu.wang@xxxxxxx> ASoC: fsl_esai: fix register setting issue in RIGHT_J mode zhengbin <zhengbin13@xxxxxxxxxx> 9p/net: fix memory leak in p9_client_create Hou Tao <houtao1@xxxxxxxxxx> 9p: use inode->i_lock to protect i_size_write() under 32-bit Hans Verkuil <hverkuil-cisco@xxxxxxxxx> media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused() ------------- Diffstat: Makefile | 4 +- arch/arc/include/asm/uaccess.h | 8 +- arch/arc/lib/memcpy-archs.S | 14 -- arch/arm/Kconfig | 1 + arch/arm/include/asm/irq.h | 1 - arch/arm/kernel/irq.c | 62 -------- arch/arm/kernel/smp.c | 2 +- arch/arm/mach-omap2/display.c | 7 +- arch/arm/mach-s3c24xx/mach-osiris-dvs.c | 8 +- arch/arm64/crypto/aes-ce-ccm-core.S | 5 +- arch/arm64/kernel/head.S | 3 +- arch/m68k/Makefile | 5 +- arch/powerpc/kernel/entry_32.S | 9 ++ arch/powerpc/kernel/process.c | 2 +- arch/powerpc/kernel/ptrace.c | 10 +- arch/powerpc/platforms/83xx/suspend-asm.S | 34 +++- arch/powerpc/platforms/embedded6xx/wii.c | 4 + arch/powerpc/platforms/powernv/opal-msglog.c | 2 +- arch/x86/kvm/vmx.c | 17 +- arch/x86/kvm/x86.c | 1 + crypto/ahash.c | 42 +++-- crypto/pcbc.c | 14 +- crypto/shash.c | 18 ++- drivers/acpi/device_sysfs.c | 6 +- drivers/acpi/nfit/core.c | 14 +- drivers/base/power/wakeup.c | 8 +- drivers/block/floppy.c | 2 +- drivers/clk/clk-twl6040.c | 53 ++++++- drivers/clk/ingenic/cgu.c | 10 +- drivers/clk/ingenic/cgu.h | 2 +- drivers/clk/sunxi-ng/ccu-sun6i-a31.c | 4 +- drivers/clocksource/exynos_mct.c | 23 +-- drivers/cpufreq/pxa2xx-cpufreq.c | 4 +- drivers/cpufreq/tegra124-cpufreq.c | 2 + drivers/crypto/caam/caamalg.c | 1 + drivers/gpu/drm/i915/i915_gem.c | 3 +- drivers/gpu/drm/radeon/evergreen_cs.c | 1 + drivers/gpu/ipu-v3/ipu-common.c | 8 +- drivers/hwtracing/intel_th/gth.c | 4 + drivers/hwtracing/stm/core.c | 11 +- drivers/i2c/busses/i2c-cadence.c | 9 +- drivers/i2c/busses/i2c-tegra.c | 2 +- drivers/iio/adc/exynos_adc.c | 2 +- drivers/input/keyboard/cap11xx.c | 35 ++--- drivers/input/keyboard/matrix_keypad.c | 2 +- drivers/input/keyboard/st-keyscan.c | 4 +- drivers/md/bcache/writeback.h | 3 + drivers/md/raid10.c | 2 + drivers/md/raid5.c | 2 + drivers/media/usb/uvc/uvc_video.c | 8 + drivers/media/v4l2-core/videobuf2-v4l2.c | 1 - drivers/net/ethernet/atheros/atlx/atl2.c | 4 +- drivers/net/ethernet/broadcom/bcmsysport.c | 4 + drivers/net/ethernet/cavium/thunder/nic_main.c | 2 +- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 15 +- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 2 + drivers/net/ethernet/marvell/mv643xx_eth.c | 7 +- drivers/net/ethernet/marvell/mvneta.c | 2 +- drivers/net/ethernet/netronome/nfp/nfp_bpf_jit.c | 17 +- drivers/net/usb/qmi_wwan.c | 4 +- drivers/net/wireless/mac80211_hwsim.c | 2 +- drivers/net/wireless/marvell/libertas_tf/if_usb.c | 2 - drivers/nvdimm/label.c | 23 ++- drivers/nvdimm/namespace_devs.c | 4 + drivers/nvdimm/pfn_devs.c | 2 +- drivers/parport/parport_pc.c | 2 +- drivers/pinctrl/meson/pinctrl-meson8b.c | 2 +- drivers/regulator/s2mpa01.c | 10 +- drivers/regulator/s2mps11.c | 6 +- drivers/s390/block/dasd_eckd.c | 8 + drivers/s390/virtio/virtio_ccw.c | 4 +- drivers/scsi/libiscsi.c | 6 + drivers/scsi/sd.c | 59 +++++-- drivers/scsi/virtio_scsi.c | 2 - drivers/spi/spi-pxa2xx.c | 1 + drivers/spi/spi-ti-qspi.c | 6 +- drivers/target/iscsi/iscsi_target.c | 4 +- drivers/tty/serial/8250/8250_of.c | 4 + drivers/tty/serial/8250/8250_pci.c | 175 ++++++++++++++++++--- drivers/tty/serial/xilinx_uartps.c | 8 +- fs/9p/v9fs_vfs.h | 23 ++- fs/9p/vfs_file.c | 6 +- fs/9p/vfs_inode.c | 23 ++- fs/9p/vfs_inode_dotl.c | 27 ++-- fs/9p/vfs_super.c | 4 +- fs/btrfs/extent_io.c | 4 +- fs/btrfs/volumes.c | 4 +- fs/cifs/file.c | 12 +- fs/cifs/smb2misc.c | 17 +- fs/cifs/smb2ops.c | 15 +- fs/devpts/inode.c | 1 + fs/ext2/super.c | 39 +++-- fs/ext4/resize.c | 3 +- fs/jbd2/transaction.c | 33 ++-- fs/nfs/pagelist.c | 29 +++- fs/nfsd/nfs3proc.c | 16 +- fs/nfsd/nfs3xdr.c | 1 + fs/nfsd/nfsctl.c | 2 +- fs/pipe.c | 14 ++ fs/splice.c | 4 + include/linux/device-mapper.h | 2 +- include/linux/pipe_fs_i.h | 1 + include/linux/property.h | 2 +- include/net/phonet/pep.h | 5 +- kernel/rcu/tree.c | 20 ++- kernel/sysctl.c | 11 +- kernel/trace/trace.c | 1 - kernel/trace/trace_events_hist.c | 5 +- lib/assoc_array.c | 8 +- mm/gup.c | 3 +- mm/memory-failure.c | 14 +- mm/page_alloc.c | 8 +- mm/shmem.c | 12 +- mm/vmalloc.c | 2 +- net/9p/client.c | 2 +- net/phonet/pep.c | 32 ++-- sound/soc/fsl/fsl_esai.c | 7 +- sound/soc/soc-topology.c | 8 +- tools/perf/util/auxtrace.c | 4 +- tools/perf/util/auxtrace.h | 3 + .../perf/util/intel-pt-decoder/intel-pt-decoder.c | 37 ++++- tools/perf/util/intel-pt.c | 2 + 122 files changed, 919 insertions(+), 433 deletions(-)