[PATCH 4.9 000/105] 4.9.41-stable review

From: Greg Kroah-Hartman
Date: Fri Aug 04 2017 - 19:16:51 EST


This is the start of the stable review cycle for the 4.9.41 release.
There are 105 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 Aug 6 23:15:23 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.41-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.41-rc1

Patrick Lai <plai@xxxxxxxxxxxxxx>
ASoC: dpcm: Avoid putting stream state to STOP when FE stream is paused

Jeeja KP <jeeja.kp@xxxxxxxxx>
ASoC: Intel: Skylake: Release FW ctx in cleanup

Benjamin Poirier <bpoirier@xxxxxxxx>
scsi: bfa: Increase requested firmware version to 3.2.5.1

Burak Ok <burak-kernel@xxxxxxxx>
scsi: snic: Return error code on memory allocation failure

Satish Kharat <satishkh@xxxxxxxxx>
scsi: fnic: Avoid sending reset to firmware when another reset is in progress

Jiri Kosina <jkosina@xxxxxxx>
HID: ignore Petzl USB headlamp

Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
ASoC: Intel: bytcr-rt5640: fix settings in internal clock mode

David Carrillo-Cisneros <davidcc@xxxxxxxxxx>
perf/x86: Set pmu->module in Intel PMU modules

Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
x86/platform/intel-mid: Rename 'spidev' to 'mrfld_spidev'

Ioan-Adrian Ratiu <adi@xxxxxxxxxx>
ALSA: usb-audio: test EP_FLAG_RUNNING at urb completion

Yuriy Kolerov <yuriy.kolerov@xxxxxxxxxxxx>
ARCv2: IRQ: Call entry/exit functions for chained handlers in MCIP

Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
sh_eth: enable RX descriptor word 0 shift on SH7734

Caleb Crome <caleb@xxxxxxxxx>
ASoC: fsl_ssi: set fifo watermark to more reliable value

Peter Chen <peter.chen@xxxxxxx>
net: usb: asix_devices: add .reset_resume for USB PM

Daniel Schultz <d.schultz@xxxxxxxxx>
nvmem: imx-ocotp: Fix wrong register size

Mark Rutland <mark.rutland@xxxxxxx>
arm64: mm: fix show_pte KERN_CONT fallout

Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
vfio-pci: Handle error from pci_iomap

Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
video: fbdev: cobalt_lcdfb: Handle return NULL error from devm_ioremap

Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
perf symbols: Robustify reading of build-id from sysfs

Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
perf tools: Install tools/lib/traceevent plugins with install-bin

Steffen Klassert <steffen.klassert@xxxxxxxxxxx>
xfrm: Don't use sk_family for socket policy lookups

Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>
tools lib traceevent: Fix prev/next_prio for deadline tasks

Jiandi An <anjiandi@xxxxxxxxxxxxxx>
Xen: ARM: Zero reserved fields of xatp before making hypervisor call

Liu Bo <bo.li.liu@xxxxxxxxxx>
Btrfs: adjust outstanding_extents counter properly when dio write is split

Sabrina Dubroca <sd@xxxxxxxxxxxxxxx>
benet: stricter vxlan offloading check in be_features_check

Liu Bo <bo.li.liu@xxxxxxxxxx>
Btrfs: fix lockdep warning about log_mutex

Liu Bo <bo.li.liu@xxxxxxxxxx>
Btrfs: use down_read_nested to make lockdep silent

David Lechner <david@xxxxxxxxxxxxxx>
usb: gadget: Fix copy/pasted error message

Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
ACPI / scan: Prefer devices without _HID/_CID for _ADR matching

Krzysztof Kozlowski <krzk@xxxxxxxxxx>
ARM: s3c2410_defconfig: Fix invalid values for NF_CT_PROTO_*

Masami Hiramatsu <mhiramat@xxxxxxxxxx>
perf probe: Fix to get correct modname from elf header

Moritz Fischer <mdf@xxxxxxxxxx>
ARM64: zynqmp: Fix i2c node's compatible string

Michal Simek <michal.simek@xxxxxxxxxx>
ARM64: zynqmp: Fix W=1 dtc 1.4 warnings

Grygorii Strashko <grygorii.strashko@xxxxxx>
usb: dwc3: omap: fix race of pm runtime with irq handler in probe

Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
dmaengine: ti-dma-crossbar: Add some 'of_node_put()' in error path.

Guillaume Nault <g.nault@xxxxxxxxxxxx>
l2tp: consider '::' as wildcard address in l2tp_ip6 socket lookup

Dave Jiang <dave.jiang@xxxxxxxxx>
dmaengine: ioatdma: workaround SKX ioatdma version

Dave Jiang <dave.jiang@xxxxxxxxx>
dmaengine: ioatdma: Add Skylake PCI Dev ID

Stafford Horne <shorne@xxxxxxxxx>
openrisc: Add _text symbol to fix ksym build error

Stefan Wahren <stefan.wahren@xxxxxxxx>
irqchip/mxs: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND

John Hsu <KCHSU0@xxxxxxxxxxx>
ASoC: nau8825: fix invalid configuration in Pre-Scalar of FLL

Phil Reid <preid@xxxxxxxxxxxxxxxxx>
spi: dw: Make debugfs name unique between instances

Peter Ujfalusi <peter.ujfalusi@xxxxxx>
ASoC: tlv320aic3x: Mark the RESET register as volatile

Strashko, Grygorii <grygorii.strashko@xxxxxx>
irqchip/keystone: Fix "scheduling while atomic" on rt

Arnd Bergmann <arnd@xxxxxxxx>
vfio-pci: use 32-bit comparisons for register address for gcc-4.5

Jordan Crouse <jcrouse@xxxxxxxxxxxxxx>
drm/msm: Verify that MSM_SUBMIT_BO_FLAGS are set

Jordan Crouse <jcrouse@xxxxxxxxxxxxxx>
drm/msm: Put back the vaddr in submit_reloc()

Jordan Crouse <jcrouse@xxxxxxxxxxxxxx>
drm/msm: Ensure that the hardware write pointer is valid

Jack Morgenstein <jackm@xxxxxxxxxxxxxxxxxx>
net/mlx4_core: Fix raw qp flow steering rules under SRIOV

Leon Romanovsky <leonro@xxxxxxxxxxxx>
net/mlx4: Remove BUG_ON from ICM allocation routine

Jack Morgenstein <jackm@xxxxxxxxxxxxxxxxxx>
net/mlx4_core: Use-after-free causes a resource leak in flow-steering detach

Zheng Li <james.z.li@xxxxxxxxxxxx>
ipv6: Should use consistent conditional judgement for ip6 fragment between __ip6_append_data and ip6_finish_output

Or Gerlitz <ogerlitz@xxxxxxxxxxxx>
net/mlx5: Disable RoCE on the e-switch management port under switchdev mode

Pali RohÃr <pali.rohar@xxxxxxxxx>
ARM: dts: n900: Mark eMMC slot with no-sdio and no-sd flags

Roger Quadros <rogerq@xxxxxx>
ARM: dts: am57xx-idk: Put USB2 port in peripheral mode

Milo Kim <woogyom.kim@xxxxxxxxx>
dt-bindings: input: Specify the interrupt number of TPS65217 power button

Milo Kim <woogyom.kim@xxxxxxxxx>
dt-bindings: power/supply: Update TPS65217 properties

Maninder Singh <maninder1.s@xxxxxxxxxxx>
ARM: omap2+: fixing wrong strcat for Non-NULL terminated string

Chun-Hao Lin <hau@xxxxxxxxxxx>
r8169: add support for RTL8168 series add-on card.

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
x86/mce/AMD: Make the init code more robust

Dan Williams <dan.j.williams@xxxxxxxxx>
device-dax: fix sysfs duplicate warnings

Eric Dumazet <edumazet@xxxxxxxxxx>
net: skb_needs_check() accepts CHECKSUM_NONE for tx

Kees Cook <keescook@xxxxxxxxxxxx>
pstore: Use dynamic spinlock initializer

Kees Cook <keescook@xxxxxxxxxxxx>
pstore: Correctly initialize spinlock and flags

Joel Fernandes <joelaf@xxxxxxxxxx>
pstore: Allow prz to control need for locking

Andrzej Hajda <a.hajda@xxxxxxxxxxx>
v4l: s5c73m3: fix negation operator

Al Viro <viro@xxxxxxxxxxxxxxxxxx>
dentry name snapshots

Valentin Vidic <Valentin.Vidic@xxxxxxxxx>
ipmi/watchdog: fix watchdog timeout set on reboot

Ismail, Mustafa <mustafa.ismail@xxxxxxxxx>
RDMA/uverbs: Fix the check for port number

Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx>
sched/cgroup: Move sched_online_group() back into css_online() to fix crash

Sudeep Holla <sudeep.holla@xxxxxxx>
mailbox: handle empty message in tx_tick

Sudeep Holla <sudeep.holla@xxxxxxx>
mailbox: skip complete wait event if timer expired

Sudeep Holla <sudeep.holla@xxxxxxx>
mailbox: always wait in mbox_send_message for blocking Tx mode

Lior David <qca_liord@xxxxxxxxxxxxxxxx>
wil6210: fix deadlock when using fw_no_recovery option

Michal Kazior <michal.kazior@xxxxxxxxx>
ath10k: fix null deref on wmi-tlv when trying spectral scan

Annie Cherkaev <annie.cherk@xxxxxxxxx>
isdn/i4l: fix buffer overflow

Jia-Ju Bai <baijiaju1990@xxxxxxx>
isdn: Fix a sleep-in-atomic bug

Florian Fainelli <f.fainelli@xxxxxxxxx>
net: phy: Do not perform software reset for Generic PHY

Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx>
nfc: fdp: fix NULL pointer dereference

OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
nfc: Fix hangup of RC-S380* in port100_send_ack()

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
smp/hotplug: Replace BUG_ON and react useful

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
smp/hotplug: Move unparking of percpu threads to the control CPU

Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>
drm: rcar-du: Simplify and fix probe error handling

Cheah Kok Cheong <thrust73@xxxxxxxxx>
Staging: comedi: comedi_fops: Avoid orphaned proc entry

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "powerpc/numa: Fix percpu allocations to be NUMA aware"

Paul Mackerras <paulus@xxxxxxxxxx>
KVM: PPC: Book3S HV: Save/restore host values of debug registers

Paul Mackerras <paulus@xxxxxxxxxx>
KVM: PPC: Book3S HV: Restore critical SPRs to host values on guest exit

Ben Skeggs <bskeggs@xxxxxxxxxx>
drm/nouveau/bar/gf100: fix access to upper half of BAR2

Ilia Mirkin <imirkin@xxxxxxxxxxxx>
drm/nouveau/disp/nv50-: bump max chans to 21

Sinclair Yeh <syeh@xxxxxxxxxx>
drm/vmwgfx: Fix gcc-7.1.1 warning

Ofer Heifetz <oferh@xxxxxxxxxxx>
md/raid5: add thread_group worker async_tx_issue_pending_all

Paul Mackerras <paulus@xxxxxxxxxx>
KVM: PPC: Book3S HV: Enable TM before accessing TM registers

Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
crypto: authencesn - Fix digest_null crash

Benjamin Coddington <bcodding@xxxxxxxxxx>
NFSv4.1: Fix a race where CB_NOTIFY_LOCK fails to wake a waiter

NeilBrown <neilb@xxxxxxxx>
NFS: invalidate file size when taking a lock.

Laurent Vivier <lvivier@xxxxxxxxxx>
powerpc/pseries: Fix of_node_put() underflow during reconfig remove

Helge Deller <deller@xxxxxx>
parisc: Suspend lockup detectors before system halt

John David Anglin <dave.anglin@xxxxxxxx>
parisc: Extend disabled preemption in copy_user_page

John David Anglin <dave.anglin@xxxxxxxx>
parisc: Prevent TLB speculation on flushed pages on CPUs that only support equivalent aliases

Daniel Dadap <ddadap@xxxxxxxxxx>
ALSA: hda - Add missing NVIDIA GPU codec IDs to patch table

Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
ALSA: fm801: Initialize chip after IRQ handler is registered

Jan Kara <jack@xxxxxxx>
jfs: Don't clear SGID when inheriting ACLs

Eric Dumazet <edumazet@xxxxxxxxxx>
net: reduce skb_warn_bad_offload() noise

Joel Fernandes <joelaf@xxxxxxxxxx>
pstore: Make spinlock per zone instead of global

Yuejie Shi <syjcnss@xxxxxxxxx>
af_key: Add lock to key dump


-------------

Diffstat:

.../bindings/input/tps65218-pwrbutton.txt | 4 +-
.../bindings/power/supply/tps65217_charger.txt | 7 +-
Makefile | 4 +-
arch/arc/kernel/mcip.c | 4 ++
arch/arm/boot/dts/am57xx-idk-common.dtsi | 2 +-
arch/arm/boot/dts/omap3-n900.dts | 2 +
arch/arm/configs/s3c2410_defconfig | 6 +-
arch/arm/mach-omap2/omap_hwmod.c | 8 +--
arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 2 +-
arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 6 +-
arch/arm64/mm/fault.c | 8 +--
arch/openrisc/kernel/vmlinux.lds.S | 2 +
arch/parisc/kernel/cache.c | 36 +++++------
arch/parisc/kernel/process.c | 2 +
arch/powerpc/include/asm/topology.h | 14 ----
arch/powerpc/kernel/setup_64.c | 4 +-
arch/powerpc/kvm/book3s_hv.c | 13 +++-
arch/powerpc/kvm/book3s_hv_rmhandlers.S | 41 ++++++++++--
arch/powerpc/platforms/pseries/reconfig.c | 1 -
arch/x86/events/intel/cstate.c | 2 +
arch/x86/events/intel/rapl.c | 1 +
arch/x86/events/intel/uncore.c | 1 +
arch/x86/kernel/cpu/mcheck/mce_amd.c | 3 +
arch/x86/platform/intel-mid/device_libs/Makefile | 2 +-
.../{platform_spidev.c => platform_mrfld_spidev.c} | 4 ++
crypto/authencesn.c | 5 ++
drivers/acpi/glue.c | 10 ++-
drivers/char/ipmi/ipmi_watchdog.c | 7 +-
drivers/dax/dax.c | 24 ++++---
drivers/dax/dax.h | 2 +-
drivers/dax/pmem.c | 12 ++--
drivers/dma/ioat/hw.h | 2 +
drivers/dma/ioat/init.c | 11 +++-
drivers/dma/ti-dma-crossbar.c | 2 +
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 9 ++-
drivers/gpu/drm/msm/msm_gem_submit.c | 18 ++++--
drivers/gpu/drm/msm/msm_ringbuffer.c | 3 +-
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c | 2 +-
drivers/gpu/drm/rcar-du/rcar_du_drv.c | 30 +++------
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 7 ++
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 +-
drivers/hid/hid-core.c | 1 +
drivers/hid/hid-ids.h | 3 +
drivers/infiniband/core/uverbs_cmd.c | 5 +-
drivers/infiniband/hw/mlx4/main.c | 14 +++-
drivers/irqchip/irq-keystone.c | 28 +++++---
drivers/irqchip/irq-mxs.c | 4 ++
drivers/isdn/i4l/isdn_common.c | 1 +
drivers/isdn/i4l/isdn_net.c | 5 +-
drivers/isdn/i4l/isdn_ppp.c | 2 +-
drivers/mailbox/mailbox.c | 13 ++--
drivers/md/raid5.c | 2 +
drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c | 2 +-
drivers/net/ethernet/emulex/benet/be_main.c | 4 +-
drivers/net/ethernet/mellanox/mlx4/icm.c | 7 +-
drivers/net/ethernet/mellanox/mlx4/main.c | 18 ++++++
.../net/ethernet/mellanox/mlx4/resource_tracker.c | 28 ++------
.../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 11 ++++
drivers/net/ethernet/realtek/r8169.c | 1 +
drivers/net/ethernet/renesas/sh_eth.c | 1 +
drivers/net/phy/phy_device.c | 2 +-
drivers/net/usb/asix_devices.c | 1 +
drivers/net/wireless/ath/ath10k/wmi-ops.h | 6 ++
drivers/net/wireless/ath/wil6210/main.c | 15 +++--
drivers/nfc/fdp/i2c.c | 6 +-
drivers/nfc/port100.c | 35 ++++++----
drivers/nvmem/imx-ocotp.c | 2 +-
drivers/scsi/bfa/bfad.c | 6 +-
drivers/scsi/bfa/bfad_drv.h | 2 +-
drivers/scsi/fnic/fnic.h | 1 +
drivers/scsi/fnic/fnic_scsi.c | 16 +++++
drivers/scsi/snic/snic_main.c | 3 +
drivers/spi/spi-dw.c | 5 +-
drivers/staging/comedi/comedi_fops.c | 6 +-
drivers/usb/dwc3/dwc3-omap.c | 6 +-
drivers/usb/gadget/function/f_hid.c | 2 +-
drivers/vfio/pci/vfio_pci.c | 4 ++
drivers/vfio/pci/vfio_pci_rdwr.c | 5 +-
drivers/video/fbdev/cobalt_lcdfb.c | 5 ++
drivers/xen/arm-device.c | 8 ++-
fs/btrfs/extent-tree.c | 3 +-
fs/btrfs/inode.c | 11 +++-
fs/btrfs/tree-log.c | 13 +++-
fs/dcache.c | 27 ++++++++
fs/debugfs/inode.c | 10 +--
fs/jfs/acl.c | 15 +++--
fs/namei.c | 8 +--
fs/nfs/file.c | 2 +-
fs/nfs/nfs4proc.c | 2 +-
fs/notify/fsnotify.c | 8 ++-
fs/pstore/ram.c | 5 +-
fs/pstore/ram_core.c | 25 +++++---
include/linux/dcache.h | 6 ++
include/linux/fsnotify.h | 31 ---------
include/linux/mlx4/device.h | 2 +
include/linux/phy.h | 4 ++
include/linux/pstore_ram.h | 11 +++-
kernel/cpu.c | 38 +++++------
kernel/sched/core.c | 14 +++-
net/core/dev.c | 19 ++++--
net/ipv6/ip6_output.c | 2 +-
net/key/af_key.c | 46 +++++++++++---
net/l2tp/l2tp_ip6.c | 4 +-
net/xfrm/xfrm_policy.c | 9 ++-
sound/pci/fm801.c | 4 +-
sound/pci/hda/patch_hdmi.c | 27 ++++++++
sound/soc/codecs/nau8825.c | 3 +-
sound/soc/codecs/nau8825.h | 3 +-
sound/soc/codecs/tlv320aic3x.c | 13 ++++
sound/soc/fsl/fsl_ssi.c | 74 ++++++++++++++++------
sound/soc/intel/boards/bytcr_rt5640.c | 2 +-
sound/soc/intel/skylake/skl-sst.c | 3 +
sound/soc/soc-pcm.c | 4 +-
sound/usb/endpoint.c | 3 +
tools/lib/traceevent/plugin_sched_switch.c | 4 +-
tools/perf/Makefile.perf | 4 +-
tools/perf/util/probe-event.c | 32 +++++-----
tools/perf/util/symbol-elf.c | 6 ++
119 files changed, 746 insertions(+), 364 deletions(-)