[PATCH 4.9 000/120] 4.9.5-stable review

From: Greg Kroah-Hartman
Date: Wed Jan 18 2017 - 05:52:19 EST


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 <gregkh@xxxxxxxxxxxxxxxxxxx>
Linux 4.9.5-rc1

Niklas SÃderlund <niklas.soderlund+renesas@xxxxxxxxxxxx>
pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLE

Huang Shijie <shijie.huang@xxxxxxx>
arm64: hugetlb: fix the wrong return value for huge_ptep_set_access_flags

Huang Shijie <shijie.huang@xxxxxxx>
arm64: hugetlb: remove the wrong pmd check in find_num_contig()

Huang Shijie <shijie.huang@xxxxxxx>
arm64: hugetlb: fix the wrong address for several functions

Russell Currey <ruscur@xxxxxxxxxx>
powerpc/powernv: Don't warn on PE init if unfreeze is unsupported

Johan Hovold <johan@xxxxxxxxxx>
powerpc/ibmebus: Fix device reference leaks in sysfs interface

Johan Hovold <johan@xxxxxxxxxx>
powerpc/ibmebus: Fix further device reference leaks

Suraj Jitindar Singh <sjitindarsingh@xxxxxxxxx>
powerpc/mm: Correct process and partition table max size

Johan Hovold <johan@xxxxxxxxxx>
bus: vexpress-config: fix device reference leak

Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxxxxxxx>
blk-mq: Always schedule hctx->next_cpu

Andrew F. Davis <afd@xxxxxx>
power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520

Tony Lindgren <tony@xxxxxxxxxxx>
bq24190_charger: Fix PM runtime use for bq24190_battery_set_property

Wei Yongjun <weiyongjun1@xxxxxxxxxx>
iw_cxgb4: Fix error return code in c4iw_rdev_open()

Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
powercap/intel_rapl: fix and tidy up error handling

Prarit Bhargava <prarit@xxxxxxxxxx>
ACPI / APEI: Fix NMI notification handling

Tejun Heo <tj@xxxxxxxxxx>
block: cfq_cpd_alloc() should use @gfp

Tobias Klauser <tklauser@xxxxxxxxxx>
block: Change extern inline to static inline

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
ACPI / CPPC: set an error code on probe error path

Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
regulators: helpers: Fix handling of bypass_val_on in get_bypass_regmap

Denis Kirjanov <kda@xxxxxxxxxxxxxxxxx>
cpufreq: powernv: Disable preemption while checking CPU throttling state

Paul Mackerras <paulus@xxxxxxxxxx>
powerpc/64: Simplify adaptation to new ISA v3.00 HPTE format

Wei Yongjun <weiyongjun1@xxxxxxxxxx>
remoteproc: st: Fix error return code in st_rproc_probe()

Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
remoteproc: qcom_wcnss: Fix circular module dependency

Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
drm: Initialise drm_mm.head_node.allocated

Ville SyrjÃlà <ville.syrjala@xxxxxxxxxxxxxxx>
drm/i915: Move the min_pixclk[] handling to the end of readout

Chen-Yu Tsai <wens@xxxxxxxx>
drm/panel: simple: Check against num_timings when setting preferred for timing

Arnd Bergmann <arnd@xxxxxxxx>
drm: avoid uninitialized timestamp use in wait_vblank

Imre Deak <imre.deak@xxxxxxxxx>
drm/i915/gen9: Fix PCODE polling during SAGV disabling

Russell King <rmk+kernel@xxxxxxxxxxxxxxx>
i2c: mux: pca954x: fix i2c mux selection caching

NeilBrown <neilb@xxxxxxxx>
NFSv4.1: nfs4_fl_prepare_ds must be careful about reporting success.

Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
NFS: Fix a performance regression in readdir

Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
pNFS: Fix race in pnfs_wait_on_layoutreturn

Wei Yongjun <weiyongjun1@xxxxxxxxxx>
NFS: fix typo in parameter description

Neil Armstrong <narmstrong@xxxxxxxxxxxx>
pinctrl: meson: fix gpio request disabling other modes

Jeff Mahoney <jeffm@xxxxxxxx>
btrfs: fix error handling when run_delayed_extent_op fails

Jeff Mahoney <jeffm@xxxxxxxx>
btrfs: fix locking when we put back a delayed ref that's too new

Guilherme G. Piccoli <gpiccoli@xxxxxxxxxxxxxxxxxx>
nvme: apply DELAY_BEFORE_CHK_RDY quirk at probe time too

Lukasz Odzioba <lukasz.odzioba@xxxxxxxxx>
x86/cpu: Fix bootup crashes by sanitizing the argument of the 'clearcpuid=' command-line option

Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx>
i2c: piix4: Avoid race conditions with IMC

Daniel Jurgens <danielj@xxxxxxxxxxxx>
net/mlx5: Only cancel recovery work when cleaning up device

Johan Hovold <johan@xxxxxxxxxx>
USB: serial: ch341: fix modem-control and B0 handling

Alex Deucher <alexander.deucher@xxxxxxx>
drm/amdgpu: drop verde dpm quirks

Flora Cui <Flora.Cui@xxxxxxx>
drm/amdgpu: update si kicker smc firmware

Alex Deucher <alexander.deucher@xxxxxxx>
drm/radeon: drop verde dpm quirks

Alex Deucher <alexander.deucher@xxxxxxx>
drm/radeon: update smc firmware selection for SI

Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
drm: Clean up planes in atomic commit helper failure path

Imre Deak <imre.deak@xxxxxxxxx>
drm/i915/gen9: Fix PCODE polling timeout in stable backport

Julian Wiedmann <jwi@xxxxxxxxxxxxxxxxxx>
net/af_iucv: don't use paged skbs for TX on HiperSockets

Zhou Chengming <zhouchengming1@xxxxxxxxxx>
sysctl: Drop reference added by grab_header in proc_sys_readdir

Daniel Jedrychowski <avistel@xxxxxxxxx>
Clearing FIFOs in RS485 emulation mode causes subsequent transmits to break

Pan Bian <bianpan2016@xxxxxxx>
extcon: return error code on failure

Akinobu Mita <akinobu.mita@xxxxxxxxx>
sysrq: attach sysrq handler correctly for 32-bit kernel

Andrew Lutomirski <luto@xxxxxxxxxx>
orinoco: Use shash instead of ahash for MIC calculations

Bryant G. Ly <bgly@xxxxxxxxxx>
ibmvscsis: Fix srp_transfer_data fail return code

Richard Genoud <richard.genoud@xxxxxxxxx>
tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx

Richard Genoud <richard.genoud@xxxxxxxxx>
tty/serial: atmel: RS485 half duplex w/DMA: enable RX after TX is done

Christoph Hellwig <hch@xxxxxx>
virtio_blk: avoid DMA to stack for the sense buffer

Peter Ujfalusi <peter.ujfalusi@xxxxxx>
dmaengine: omap-dma: Fix dynamic lch_map allocation

Robin Murphy <robin.murphy@xxxxxxx>
drivers: char: mem: Fix thinkos in kmem address checks

Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
mnt: Protect the mountpoint hashtable with mount_lock

Andrei Vagin <avagin@xxxxxxxxxx>
pid: fix lockdep deadlock warning due to ucount_lock

Augusto Mecking Caringi <augustocaringi@xxxxxxxxx>
vme: Fix wrong pointer utilization in ca91cx42_slave_get

Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Revert "tty: serial: 8250: add CON_CONSDEV to flags"

Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
ASoC: hdmi-codec: use unsigned type to structure members with bit-field

David Sterba <dsterba@xxxxxxxx>
btrfs: fix crash when tracepoint arguments are freed by wq callbacks

Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
xhci: fix deadlock at host remove by running watchdog correctly

Al Viro <viro@xxxxxxxxxxxxxxxxxx>
fix a fencepost error in pipe_advance()

Vlad Tsyrklevich <vlad@xxxxxxxxxxxxxxx>
i2c: fix kernel memory disclosure in dev interface

John Garry <john.garry@xxxxxxxxxx>
i2c: print correct device invalid address

Guenter Roeck <linux@xxxxxxxxxxxx>
Input: elants_i2c - avoid divide by 0 errors on bad touchscreen data

Johan Hovold <johan@xxxxxxxxxx>
USB: serial: ch341: fix open and resume after B0

Johan Hovold <johan@xxxxxxxxxx>
USB: serial: ch341: fix control-message error handling

Johan Hovold <johan@xxxxxxxxxx>
USB: serial: ch341: fix open error handling

Johan Hovold <johan@xxxxxxxxxx>
USB: serial: ch341: fix resume after reset

Johan Hovold <johan@xxxxxxxxxx>
USB: serial: ch341: fix initial modem-control state

Johan Hovold <johan@xxxxxxxxxx>
USB: serial: kl5kusb105: fix line-state error handling

Bin Liu <b-liu@xxxxxx>
usb: musb: fix runtime PM in debugfs

Andy Lutomirski <luto@xxxxxxxxxx>
wusbcore: Fix one more crypto-on-the-stack bug

Borislav Petkov <bp@xxxxxxx>
x86/CPU/AMD: Fix Bulldozer topology

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
x86/bugs: Separate AMD E400 erratum and C1E bug

Yazen Ghannam <Yazen.Ghannam@xxxxxxx>
x86/cpu/AMD: Clean up cpu_llc_id assignment per topology feature

Artur Molchanov <arturmolchanov@xxxxxxxxx>
bridge: netfilter: Fix dropping packets that moving through bridge interface

Jan Kara <jack@xxxxxxx>
xfs: Timely free truncated dirty pages

Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
gpio: Move freeing of GPIO hogs before numbing of the device

Johannes Berg <johannes.berg@xxxxxxxxx>
nl80211: fix sched scan netlink socket owner destruction

Nicolai Stange <nicstange@xxxxxxxxx>
x86/efi: Don't allocate memmap through memblock after mm_init()

Peter Jones <pjones@xxxxxxxxxx>
efi/x86: Prune invalid memory map entries and fix boot regression

Prarit Bhargava <prarit@xxxxxxxxxx>
perf/x86/intel/uncore: Fix hardcoded socket 0 assumption in the Haswell init code

Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
efi/libstub/arm*: Pass latest memory map to the kernel

Steve Rutherford <srutherford@xxxxxxxxxx>
KVM: x86: Introduce segmented_write_std

Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx>
KVM: x86: emulate FXSAVE and FXRSTOR

Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx>
KVM: x86: add asm_safe wrapper

Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx>
KVM: x86: add Align16 instruction flag

Wanpeng Li <wanpeng.li@xxxxxxxxxxx>
KVM: x86: fix NULL deref in vcpu_scan_ioapic

David Matlack <dmatlack@xxxxxxxxxx>
KVM: x86: flush pending lapic jump label updates on module unload

David Matlack <dmatlack@xxxxxxxxxx>
jump_labels: API for flushing deferred jump label updates

Wanpeng Li <wanpeng.li@xxxxxxxxxxx>
KVM: eventfd: fix NULL deref irqbypass consumer

Paolo Bonzini <pbonzini@xxxxxxxxxx>
KVM: x86: fix emulation of "MOV SS, null selector"

Mike Kravetz <mike.kravetz@xxxxxxxxxx>
mm/hugetlb.c: fix reservation race when freeing surplus pages

John Sperbeck <jsperbeck@xxxxxxxxxx>
mm/slab.c: fix SLAB freelist randomization duplicate entries

Minchan Kim <minchan@xxxxxxxxxx>
mm: support anonymous stable page

Michal Hocko <mhocko@xxxxxxxx>
mm, memcg: fix the active list aging for lowmem requests when memcg is enabled

Eric Ren <zren@xxxxxxxx>
ocfs2: fix crash caused by stale lvb with fsdlm plugin

Dan Williams <dan.j.williams@xxxxxxxxx>
mm: fix devm_memremap_pages crash, use mem_hotplug_{begin, done}

Minchan Kim <minchan@xxxxxxxxxx>
mm: pmd dirty emulation in page fault handler

Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>
dax: fix deadlock with DAX 4k holes

Minchan Kim <minchan@xxxxxxxxxx>
zram: support BDI_CAP_STABLE_WRITES

Minchan Kim <minchan@xxxxxxxxxx>
zram: revalidate disk under init_lock

Rolf Eike Beer <eb@xxxxxxxxx>
selftests: do not require bash for the generated test

Rolf Eike Beer <eb@xxxxxxxxx>
selftests: do not require bash to run netsocktests testcase

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
drm/savage: dereferencing an error pointer

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
drm/vc4: Fix a couple error codes in vc4_cl_lookup_bos()

Christophe Jaillet <christophe.jaillet@xxxxxxxxxx>
drm/tegra: dpaux: Fix error handling

Chen-Yu Tsai <wens@xxxxxxxx>
regulator: axp20x: Fix axp809 ldo_io registration error on cold boot

Andrew F. Davis <afd@xxxxxx>
regulator: tps65086: Fix 25mV ranges for BUCK regulators

Niklas SÃderlund <niklas.soderlund+renesas@xxxxxxxxxxxx>
pinctrl: sh-pfc: Add helper to handle bias lookup table

Niklas SÃderlund <niklas.soderlund+renesas@xxxxxxxxxxxx>
pinctrl: sh-pfc: r8a7795: Use lookup function for bias data

Gary Bisson <gary.bisson@xxxxxxxxxxxxxxxxxxx>
pinctrl: imx: fix imx_pinctrl_desc initialization

Marcos Paulo de Souza <marcos.souza.org@xxxxxxxxx>
Input: i8042 - add Pegatron touchpad to noloop table

Pavel Rojtberg <rojtberg@xxxxxxxxx>
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(-)