This is the start of the stable review cycle for the 4.9.5 release. There are 120 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 Fri Jan 20 10:46:26 UTC 2017. Anything received after that time might be too late. The whole patch series can be found in one patch at: kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.5-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 <gre...@linuxfoundation.org> Linux 4.9.5-rc1 Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLE Huang Shijie <shijie.hu...@arm.com> arm64: hugetlb: fix the wrong return value for huge_ptep_set_access_flags Huang Shijie <shijie.hu...@arm.com> arm64: hugetlb: remove the wrong pmd check in find_num_contig() Huang Shijie <shijie.hu...@arm.com> arm64: hugetlb: fix the wrong address for several functions Russell Currey <rus...@russell.cc> powerpc/powernv: Don't warn on PE init if unfreeze is unsupported Johan Hovold <jo...@kernel.org> powerpc/ibmebus: Fix device reference leaks in sysfs interface Johan Hovold <jo...@kernel.org> powerpc/ibmebus: Fix further device reference leaks Suraj Jitindar Singh <sjitindarsi...@gmail.com> powerpc/mm: Correct process and partition table max size Johan Hovold <jo...@kernel.org> bus: vexpress-config: fix device reference leak Gabriel Krisman Bertazi <kris...@linux.vnet.ibm.com> blk-mq: Always schedule hctx->next_cpu Andrew F. Davis <a...@ti.com> power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520 Tony Lindgren <t...@atomide.com> bq24190_charger: Fix PM runtime use for bq24190_battery_set_property Wei Yongjun <weiyongj...@huawei.com> iw_cxgb4: Fix error return code in c4iw_rdev_open() Jacob Pan <jacob.jun....@linux.intel.com> powercap/intel_rapl: fix and tidy up error handling Prarit Bhargava <pra...@redhat.com> ACPI / APEI: Fix NMI notification handling Tejun Heo <t...@kernel.org> block: cfq_cpd_alloc() should use @gfp Tobias Klauser <tklau...@distanz.ch> block: Change extern inline to static inline Dan Carpenter <dan.carpen...@oracle.com> ACPI / CPPC: set an error code on probe error path Charles Keepax <ckee...@opensource.wolfsonmicro.com> regulators: helpers: Fix handling of bypass_val_on in get_bypass_regmap Denis Kirjanov <k...@linux-powerpc.org> cpufreq: powernv: Disable preemption while checking CPU throttling state Paul Mackerras <pau...@ozlabs.org> powerpc/64: Simplify adaptation to new ISA v3.00 HPTE format Wei Yongjun <weiyongj...@huawei.com> remoteproc: st: Fix error return code in st_rproc_probe() Bjorn Andersson <bjorn.anders...@linaro.org> remoteproc: qcom_wcnss: Fix circular module dependency Chris Wilson <ch...@chris-wilson.co.uk> drm: Initialise drm_mm.head_node.allocated Ville Syrjälä <ville.syrj...@linux.intel.com> drm/i915: Move the min_pixclk[] handling to the end of readout Chen-Yu Tsai <w...@csie.org> drm/panel: simple: Check against num_timings when setting preferred for timing Arnd Bergmann <a...@arndb.de> drm: avoid uninitialized timestamp use in wait_vblank Imre Deak <imre.d...@intel.com> drm/i915/gen9: Fix PCODE polling during SAGV disabling Russell King <rmk+ker...@armlinux.org.uk> i2c: mux: pca954x: fix i2c mux selection caching NeilBrown <ne...@suse.com> NFSv4.1: nfs4_fl_prepare_ds must be careful about reporting success. Trond Myklebust <trond.mykleb...@primarydata.com> NFS: Fix a performance regression in readdir Trond Myklebust <trond.mykleb...@primarydata.com> pNFS: Fix race in pnfs_wait_on_layoutreturn Wei Yongjun <weiyongj...@huawei.com> NFS: fix typo in parameter description Neil Armstrong <narmstr...@baylibre.com> pinctrl: meson: fix gpio request disabling other modes Jeff Mahoney <je...@suse.com> btrfs: fix error handling when run_delayed_extent_op fails Jeff Mahoney <je...@suse.com> btrfs: fix locking when we put back a delayed ref that's too new Guilherme G. Piccoli <gpicc...@linux.vnet.ibm.com> nvme: apply DELAY_BEFORE_CHK_RDY quirk at probe time too Lukasz Odzioba <lukasz.odzi...@intel.com> x86/cpu: Fix bootup crashes by sanitizing the argument of the 'clearcpuid=' command-line option Ricardo Ribalda Delgado <ricardo.riba...@gmail.com> i2c: piix4: Avoid race conditions with IMC Daniel Jurgens <dani...@mellanox.com> net/mlx5: Only cancel recovery work when cleaning up device Johan Hovold <jo...@kernel.org> USB: serial: ch341: fix modem-control and B0 handling Alex Deucher <alexander.deuc...@amd.com> drm/amdgpu: drop verde dpm quirks Flora Cui <flora....@amd.com> drm/amdgpu: update si kicker smc firmware Alex Deucher <alexander.deuc...@amd.com> drm/radeon: drop verde dpm quirks Alex Deucher <alexander.deuc...@amd.com> drm/radeon: update smc firmware selection for SI Laurent Pinchart <laurent.pinch...@ideasonboard.com> drm: Clean up planes in atomic commit helper failure path Imre Deak <imre.d...@intel.com> drm/i915/gen9: Fix PCODE polling timeout in stable backport Julian Wiedmann <j...@linux.vnet.ibm.com> net/af_iucv: don't use paged skbs for TX on HiperSockets Zhou Chengming <zhouchengmi...@huawei.com> sysctl: Drop reference added by grab_header in proc_sys_readdir Daniel Jedrychowski <avis...@gmail.com> Clearing FIFOs in RS485 emulation mode causes subsequent transmits to break Pan Bian <bianpan2...@163.com> extcon: return error code on failure Akinobu Mita <akinobu.m...@gmail.com> sysrq: attach sysrq handler correctly for 32-bit kernel Andrew Lutomirski <l...@kernel.org> orinoco: Use shash instead of ahash for MIC calculations Bryant G. Ly <b...@us.ibm.com> ibmvscsis: Fix srp_transfer_data fail return code Richard Genoud <richard.gen...@gmail.com> tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx Richard Genoud <richard.gen...@gmail.com> tty/serial: atmel: RS485 half duplex w/DMA: enable RX after TX is done Christoph Hellwig <h...@lst.de> virtio_blk: avoid DMA to stack for the sense buffer Peter Ujfalusi <peter.ujfal...@ti.com> dmaengine: omap-dma: Fix dynamic lch_map allocation Robin Murphy <robin.mur...@arm.com> drivers: char: mem: Fix thinkos in kmem address checks Eric W. Biederman <ebied...@xmission.com> mnt: Protect the mountpoint hashtable with mount_lock Andrei Vagin <ava...@openvz.org> pid: fix lockdep deadlock warning due to ucount_lock Augusto Mecking Caringi <augustocari...@gmail.com> vme: Fix wrong pointer utilization in ca91cx42_slave_get Herbert Xu <herb...@gondor.apana.org.au> Revert "tty: serial: 8250: add CON_CONSDEV to flags" Takashi Sakamoto <o-taka...@sakamocchi.jp> ASoC: hdmi-codec: use unsigned type to structure members with bit-field David Sterba <dste...@suse.com> btrfs: fix crash when tracepoint arguments are freed by wq callbacks Mathias Nyman <mathias.ny...@linux.intel.com> xhci: fix deadlock at host remove by running watchdog correctly Al Viro <v...@zeniv.linux.org.uk> fix a fencepost error in pipe_advance() Vlad Tsyrklevich <v...@tsyrklevich.net> i2c: fix kernel memory disclosure in dev interface John Garry <john.ga...@huawei.com> i2c: print correct device invalid address Guenter Roeck <li...@roeck-us.net> Input: elants_i2c - avoid divide by 0 errors on bad touchscreen data Johan Hovold <jo...@kernel.org> USB: serial: ch341: fix open and resume after B0 Johan Hovold <jo...@kernel.org> USB: serial: ch341: fix control-message error handling Johan Hovold <jo...@kernel.org> USB: serial: ch341: fix open error handling Johan Hovold <jo...@kernel.org> USB: serial: ch341: fix resume after reset Johan Hovold <jo...@kernel.org> USB: serial: ch341: fix initial modem-control state Johan Hovold <jo...@kernel.org> USB: serial: kl5kusb105: fix line-state error handling Bin Liu <b-...@ti.com> usb: musb: fix runtime PM in debugfs Andy Lutomirski <l...@kernel.org> wusbcore: Fix one more crypto-on-the-stack bug Borislav Petkov <b...@suse.de> x86/CPU/AMD: Fix Bulldozer topology Thomas Gleixner <t...@linutronix.de> x86/bugs: Separate AMD E400 erratum and C1E bug Yazen Ghannam <yazen.ghan...@amd.com> x86/cpu/AMD: Clean up cpu_llc_id assignment per topology feature Artur Molchanov <arturmolcha...@gmail.com> bridge: netfilter: Fix dropping packets that moving through bridge interface Jan Kara <j...@suse.cz> xfs: Timely free truncated dirty pages Geert Uytterhoeven <ge...@linux-m68k.org> gpio: Move freeing of GPIO hogs before numbing of the device Johannes Berg <johannes.b...@intel.com> nl80211: fix sched scan netlink socket owner destruction Nicolai Stange <nicsta...@gmail.com> x86/efi: Don't allocate memmap through memblock after mm_init() Peter Jones <pjo...@redhat.com> efi/x86: Prune invalid memory map entries and fix boot regression Prarit Bhargava <pra...@redhat.com> perf/x86/intel/uncore: Fix hardcoded socket 0 assumption in the Haswell init code Ard Biesheuvel <ard.biesheu...@linaro.org> efi/libstub/arm*: Pass latest memory map to the kernel Steve Rutherford <srutherf...@google.com> KVM: x86: Introduce segmented_write_std Radim Krčmář <rkrc...@redhat.com> KVM: x86: emulate FXSAVE and FXRSTOR Radim Krčmář <rkrc...@redhat.com> KVM: x86: add asm_safe wrapper Radim Krčmář <rkrc...@redhat.com> KVM: x86: add Align16 instruction flag Wanpeng Li <wanpeng...@hotmail.com> KVM: x86: fix NULL deref in vcpu_scan_ioapic David Matlack <dmatl...@google.com> KVM: x86: flush pending lapic jump label updates on module unload David Matlack <dmatl...@google.com> jump_labels: API for flushing deferred jump label updates Wanpeng Li <wanpeng...@hotmail.com> KVM: eventfd: fix NULL deref irqbypass consumer Paolo Bonzini <pbonz...@redhat.com> KVM: x86: fix emulation of "MOV SS, null selector" Mike Kravetz <mike.krav...@oracle.com> mm/hugetlb.c: fix reservation race when freeing surplus pages John Sperbeck <jsperb...@google.com> mm/slab.c: fix SLAB freelist randomization duplicate entries Minchan Kim <minc...@kernel.org> mm: support anonymous stable page Michal Hocko <mho...@suse.com> mm, memcg: fix the active list aging for lowmem requests when memcg is enabled Eric Ren <z...@suse.com> ocfs2: fix crash caused by stale lvb with fsdlm plugin Dan Williams <dan.j.willi...@intel.com> mm: fix devm_memremap_pages crash, use mem_hotplug_{begin, done} Minchan Kim <minc...@kernel.org> mm: pmd dirty emulation in page fault handler Ross Zwisler <ross.zwis...@linux.intel.com> dax: fix deadlock with DAX 4k holes Minchan Kim <minc...@kernel.org> zram: support BDI_CAP_STABLE_WRITES Minchan Kim <minc...@kernel.org> zram: revalidate disk under init_lock Rolf Eike Beer <e...@emlix.com> selftests: do not require bash for the generated test Rolf Eike Beer <e...@emlix.com> selftests: do not require bash to run netsocktests testcase Dan Carpenter <dan.carpen...@oracle.com> drm/savage: dereferencing an error pointer Dan Carpenter <dan.carpen...@oracle.com> drm/vc4: Fix a couple error codes in vc4_cl_lookup_bos() Christophe Jaillet <christophe.jail...@wanadoo.fr> drm/tegra: dpaux: Fix error handling Chen-Yu Tsai <w...@csie.org> regulator: axp20x: Fix axp809 ldo_io registration error on cold boot Andrew F. Davis <a...@ti.com> regulator: tps65086: Fix 25mV ranges for BUCK regulators Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> pinctrl: sh-pfc: Add helper to handle bias lookup table Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> pinctrl: sh-pfc: r8a7795: Use lookup function for bias data Gary Bisson <gary.bis...@boundarydevices.com> pinctrl: imx: fix imx_pinctrl_desc initialization Marcos Paulo de Souza <marcos.souza....@gmail.com> Input: i8042 - add Pegatron touchpad to noloop table Pavel Rojtberg <rojtb...@gmail.com> Input: xpad - use correct product id for x360w controllers ------------- Diffstat: Documentation/devicetree/bindings/mfd/tps65086.txt | 2 +- Makefile | 4 +- arch/arm64/mm/hugetlbpage.c | 22 +- arch/powerpc/include/asm/book3s/64/mmu-hash.h | 47 ++- arch/powerpc/kernel/ibmebus.c | 16 +- arch/powerpc/mm/hash_native_64.c | 30 +- arch/powerpc/mm/pgtable-radix.c | 4 +- arch/powerpc/platforms/powernv/pci-ioda.c | 2 +- arch/powerpc/platforms/ps3/htab.c | 2 +- arch/powerpc/platforms/pseries/lpar.c | 2 +- arch/x86/events/intel/uncore_snbep.c | 2 +- arch/x86/include/asm/cpufeatures.h | 2 + arch/x86/kernel/cpu/amd.c | 58 ++-- arch/x86/kernel/cpu/common.c | 2 +- arch/x86/kernel/process.c | 3 +- arch/x86/kvm/emulate.c | 249 +++++++++++++-- arch/x86/kvm/lapic.c | 6 + arch/x86/kvm/lapic.h | 1 + arch/x86/kvm/x86.c | 3 + arch/x86/platform/efi/efi.c | 66 ++++ arch/x86/platform/efi/quirks.c | 4 +- block/blk-mq.c | 4 +- block/cfq-iosched.c | 2 +- drivers/acpi/apei/ghes.c | 7 +- drivers/acpi/cppc_acpi.c | 4 +- drivers/block/virtio_blk.c | 4 +- drivers/block/zram/zram_drv.c | 19 +- drivers/bus/vexpress-config.c | 7 +- drivers/char/mem.c | 10 +- drivers/cpufreq/powernv-cpufreq.c | 8 +- drivers/dma/omap-dma.c | 30 +- drivers/extcon/extcon.c | 2 +- drivers/firmware/efi/fake_mem.c | 3 +- drivers/firmware/efi/libstub/efistub.h | 8 - drivers/firmware/efi/libstub/fdt.c | 87 ++++-- drivers/firmware/efi/memmap.c | 38 +++ drivers/gpio/gpiolib.c | 2 +- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 70 ++--- drivers/gpu/drm/drm_atomic_helper.c | 4 +- drivers/gpu/drm/drm_irq.c | 4 +- drivers/gpu/drm/drm_mm.c | 1 + drivers/gpu/drm/i915/intel_display.c | 32 +- drivers/gpu/drm/i915/intel_pm.c | 38 +-- drivers/gpu/drm/panel/panel-simple.c | 2 +- drivers/gpu/drm/radeon/si.c | 60 ++-- drivers/gpu/drm/radeon/si_dpm.c | 13 - drivers/gpu/drm/savage/savage_state.c | 1 + drivers/gpu/drm/tegra/dpaux.c | 4 +- drivers/gpu/drm/vc4/vc4_gem.c | 9 +- drivers/i2c/busses/i2c-piix4.c | 22 ++ drivers/i2c/i2c-core.c | 2 +- drivers/i2c/i2c-dev.c | 2 +- drivers/i2c/muxes/i2c-mux-pca954x.c | 5 +- drivers/infiniband/hw/cxgb4/device.c | 4 +- drivers/input/joystick/xpad.c | 6 + drivers/input/serio/i8042-x86ia64io.h | 6 + drivers/input/touchscreen/elants_i2c.c | 4 +- drivers/net/ethernet/mellanox/mlx5/core/main.c | 6 +- drivers/net/wireless/intersil/orinoco/mic.c | 44 +-- drivers/net/wireless/intersil/orinoco/mic.h | 3 +- drivers/net/wireless/intersil/orinoco/orinoco.h | 4 +- drivers/nvme/host/core.c | 7 +- drivers/pinctrl/freescale/pinctrl-imx.c | 8 +- drivers/pinctrl/meson/pinctrl-meson.c | 2 +- drivers/pinctrl/sh-pfc/core.c | 15 + drivers/pinctrl/sh-pfc/core.h | 4 + drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 343 +++++++++++---------- drivers/pinctrl/sh-pfc/pinctrl.c | 3 +- drivers/pinctrl/sh-pfc/sh_pfc.h | 6 + drivers/power/supply/bq24190_charger.c | 2 +- drivers/power/supply/bq27xxx_battery.c | 41 ++- drivers/power/supply/bq27xxx_battery_i2c.c | 4 +- drivers/powercap/intel_rapl.c | 25 +- drivers/regulator/axp20x-regulator.c | 12 +- drivers/regulator/helpers.c | 6 +- drivers/regulator/tps65086-regulator.c | 54 ++-- drivers/remoteproc/Kconfig | 5 - drivers/remoteproc/Makefile | 5 +- drivers/remoteproc/qcom_wcnss.c | 25 +- drivers/remoteproc/qcom_wcnss.h | 2 + drivers/remoteproc/qcom_wcnss_iris.c | 8 +- drivers/remoteproc/st_remoteproc.c | 4 +- drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 2 +- drivers/tty/serial/8250/8250_core.c | 2 +- drivers/tty/serial/8250/8250_port.c | 2 +- drivers/tty/serial/atmel_serial.c | 22 +- drivers/tty/sysrq.c | 4 +- drivers/usb/host/xhci-ring.c | 11 - drivers/usb/host/xhci.c | 13 - drivers/usb/musb/musb_debugfs.c | 20 +- drivers/usb/serial/ch341.c | 84 +++-- drivers/usb/serial/kl5kusb105.c | 9 +- drivers/usb/wusbcore/crypto.c | 3 +- drivers/vme/bridges/vme_ca91cx42.c | 2 +- fs/btrfs/async-thread.c | 15 +- fs/btrfs/extent-tree.c | 5 +- fs/dcache.c | 7 +- fs/namespace.c | 64 ++-- fs/nfs/dir.c | 15 +- fs/nfs/filelayout/filelayoutdev.c | 3 +- fs/nfs/pnfs.c | 8 +- fs/nfs/super.c | 2 +- fs/ocfs2/dlmglue.c | 10 + fs/ocfs2/stackglue.c | 6 + fs/ocfs2/stackglue.h | 3 + fs/proc/proc_sysctl.c | 3 +- fs/xfs/xfs_aops.c | 19 +- include/linux/blkdev.h | 2 +- include/linux/efi.h | 2 + include/linux/jump_label_ratelimit.h | 5 + include/linux/memcontrol.h | 26 +- include/linux/mm_inline.h | 2 +- include/linux/power/bq27xxx_battery.h | 3 +- include/linux/swap.h | 3 +- include/sound/hdmi-codec.h | 8 +- include/trace/events/btrfs.h | 22 +- kernel/jump_label.c | 7 + kernel/memremap.c | 4 + kernel/pid_namespace.c | 10 +- lib/iov_iter.c | 54 ++-- mm/filemap.c | 2 +- mm/huge_memory.c | 6 +- mm/hugetlb.c | 37 ++- mm/memcontrol.c | 18 +- mm/slab.c | 8 +- mm/swapfile.c | 20 +- mm/vmscan.c | 27 +- net/bridge/br_netfilter_hooks.c | 2 +- net/iucv/af_iucv.c | 25 +- net/wireless/nl80211.c | 16 +- tools/testing/selftests/Makefile | 2 +- tools/testing/selftests/net/run_netsocktests | 2 +- virt/lib/irqbypass.c | 4 +- 133 files changed, 1517 insertions(+), 823 deletions(-)