[PATCH 4.9 00/77] 4.9.52-stable review

From: Greg Kroah-Hartman
Date: Sun Sep 24 2017 - 16:37:47 EST


This is the start of the stable review cycle for the 4.9.52 release.
There are 77 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 Tue Sep 26 20:32:25 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.52-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.52-rc1

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
genirq: Make sparse_irq_lock protect what it should protect

Avraham Stern <avraham.stern@xxxxxxxxx>
mac80211: flush hw_roc_start work before cancelling the ROC

Beni Lev <beni.lev@xxxxxxxxx>
mac80211_hwsim: Use proper TX power

Johannes Berg <johannes.berg@xxxxxxxxx>
mac80211: fix VLAN handling with TXQs

Michael Lyle <mlyle@xxxxxxxx>
bcache: fix bch_hprint crash and improve output

Tang Junhui <tang.junhui@xxxxxxxxxx>
bcache: fix for gc and write-back race

Tony Asleson <tasleson@xxxxxxxxxx>
bcache: Correct return value for sysfs attach errors

Tang Junhui <tang.junhui@xxxxxxxxxx>
bcache: correct cache_dirty_target in __update_writeback_rate()

Tang Junhui <tang.junhui@xxxxxxxxxx>
bcache: do not subtract sectors_to_gc for bypassed IO

Jan Kara <jack@xxxxxxx>
bcache: Fix leak of bdev reference

Tang Junhui <tang.junhui@xxxxxxxxxx>
bcache: initialize dirty stripes in flash_dev_run()

Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
PM / devfreq: Fix memory leak when fail to register device

Guenter Roeck <linux@xxxxxxxxxxxx>
media: uvcvideo: Prevent heap overflow when accessing mapped controls

Daniel Mentz <danielmentz@xxxxxxxxxx>
media: v4l2-compat-ioctl32: Fix timespec conversion

Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
s390/mm: fix race on mm->context.flush_mm

Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
s390/mm: fix local TLB flushing vs. detach of an mm address space

Manfred Spraul <manfred@xxxxxxxxxxxxxxxx>
net/netfilter/nf_conntrack_core: Fix net_conntrack_lock()

Keith Busch <keith.busch@xxxxxxxxx>
PCI: pciehp: Report power fault only once until we clear it

Aleksandr Bezzubikov <zuban32s@xxxxxxxxx>
PCI: shpchp: Enable bridge bus mastering if MSI is enabled

Jose Abreu <Jose.Abreu@xxxxxxxxxxxx>
ARC: Re-enable MMU upon Machine Check exception

Baohong Liu <baohong.liu@xxxxxxxxx>
tracing: Apply trace_clock changes to instance max buffer

Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
tracing: Add barrier to trace_printk() buffer nesting modification

Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
ftrace: Fix memleak when unregistering dynamic ops when tracing disabled

Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
ftrace: Fix selftest goto location on error

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
scsi: qla2xxx: Fix an integer overflow in sysfs code

Joe Carnuccio <joe.carnuccio@xxxxxxxxxx>
scsi: qla2xxx: Correction to vha->vref_count timeout

Hannes Reinecke <hare@xxxxxxx>
scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE

Hannes Reinecke <hare@xxxxxxx>
scsi: sg: factor out sg_fill_request_table()

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
scsi: sg: off by one in sg_ioctl()

Hannes Reinecke <hare@xxxxxxx>
scsi: sg: use standard lists for sg_requests

Hannes Reinecke <hare@xxxxxxx>
scsi: sg: remove 'save_scat_len'

Long Li <longli@xxxxxxxxxxxxx>
scsi: storvsc: fix memory leak on ring buffer busy

Shivasharan S <shivasharan.srikanteshwara@xxxxxxxxxxxx>
scsi: megaraid_sas: Return pended IOCTLs with cmd_status MFI_STAT_WRONG_STATE in case adapter is dead

Shivasharan S <shivasharan.srikanteshwara@xxxxxxxxxxxx>
scsi: megaraid_sas: Check valid aen class range to avoid kernel panic

Shivasharan S <shivasharan.srikanteshwara@xxxxxxxxxxxx>
scsi: megaraid_sas: set minimum value of resetwaittime to be 1 secs

Steffen Maier <maier@xxxxxxxxxxxxxxxxxx>
scsi: zfcp: trace high part of "new" 64 bit SCSI LUN

Steffen Maier <maier@xxxxxxxxxxxxxxxxxx>
scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response

Steffen Maier <maier@xxxxxxxxxxxxxxxxxx>
scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records

Steffen Maier <maier@xxxxxxxxxxxxxxxxxx>
scsi: zfcp: fix missing trace records for early returns in TMF eh handlers

Steffen Maier <maier@xxxxxxxxxxxxxxxxxx>
scsi: zfcp: fix passing fsf_req to SCSI trace on TMF to correlate with HBA

Steffen Maier <maier@xxxxxxxxxxxxxxxxxx>
scsi: zfcp: fix capping of unsuccessful GPN_FT SAN response trace records

Benjamin Block <bblock@xxxxxxxxxxxxxxxxxx>
scsi: zfcp: add handling for FCP_RESID_OVER to the fcp ingress path

Steffen Maier <maier@xxxxxxxxxxxxxxxxxx>
scsi: zfcp: fix queuecommand for scsi_eh commands when DIX enabled

Bart Van Assche <bart.vanassche@xxxxxxx>
skd: Submit requests to firmware before triggering the doorbell

Bart Van Assche <bart.vanassche@xxxxxxx>
skd: Avoid that module unloading triggers a use-after-free

NeilBrown <neilb@xxxxxxxx>
md/bitmap: disable bitmap_resize for file-backed bitmaps.

Bart Van Assche <bart.vanassche@xxxxxxx>
block: Relax a check in blk_start_queue()

Michael Ellerman <mpe@xxxxxxxxxxxxxx>
powerpc: Fix DAR reporting when alignment handler faults

zhangyi (F) <yi.zhang@xxxxxxxxxx>
ext4: fix quota inconsistency during orphan cleanup for read-only mounts

zhangyi (F) <yi.zhang@xxxxxxxxxx>
ext4: fix incorrect quotaoff if the quota feature is enabled

Stephan Mueller <smueller@xxxxxxxxxx>
crypto: AF_ALG - remove SGL terminator indicator when chaining

Gary R Hook <gary.hook@xxxxxxx>
crypto: ccp - Fix XTS-AES-128 support on v5 CCPs

Douglas Leung <douglas.leung@xxxxxxxxxx>
MIPS: math-emu: <MADDF|MSUBF>.D: Fix accuracy (64-bit case)

Douglas Leung <douglas.leung@xxxxxxxxxx>
MIPS: math-emu: <MADDF|MSUBF>.S: Fix accuracy (32-bit case)

Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>
MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Clean up "maddf_flags" enumeration

Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>
MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of zero inputs

Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>
MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of infinite inputs

Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>
MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix NaN propagation

Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>
MIPS: math-emu: Handle zero accumulator case in MADDF and MSUBF separately

Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>
MIPS: math-emu: MINA.<D|S>: Fix some cases of infinity and zero inputs

Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>
MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of both infinite inputs

Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>
MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of input values with opposite signs

Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>
MIPS: math-emu: <MAX|MIN>.<D|S>: Fix cases of both inputs negative

Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>
MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix cases of both inputs zero

Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>
MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix quiet NaN propagation

Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>
Input: i8042 - add Gigabyte P57 to the keyboard reset table

Daniel Drake <drake@xxxxxxxxxxxx>
pinctrl/amd: save pin registers over suspend/resume

Arnd Bergmann <arnd@xxxxxxxx>
tty: fix __tty_insert_flip_char regression

Arnd Bergmann <arnd@xxxxxxxx>
tty: improve tty_insert_flip_char() slow path

Arnd Bergmann <arnd@xxxxxxxx>
tty: improve tty_insert_flip_char() fast path

Roland Dreier <roland@xxxxxxxxxxxxxxx>
IB/addr: Fix setting source address in addr6_resolve()

Jonathan Liu <net147@xxxxxxxxx>
drm/sun4i: Implement drm_driver lastclose to restore fbdev console

Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>
IB/{qib, hfi1}: Avoid flow control testing for RDMA write operation

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

Minchan Kim <minchan@xxxxxxxxxx>
mm: prevent double decrease of nr_reserved_highatomic

Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
NFSv4: Fix callback server shutdown

Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
SUNRPC: Refactor svc_set_num_threads()


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

Diffstat:

Makefile | 4 +-
arch/arc/kernel/entry.S | 6 +
arch/arc/mm/tlb.c | 3 -
arch/mips/math-emu/dp_fmax.c | 84 ++++++---
arch/mips/math-emu/dp_fmin.c | 86 ++++++---
arch/mips/math-emu/dp_maddf.c | 245 ++++++++++++++++----------
arch/mips/math-emu/ieee754int.h | 4 +
arch/mips/math-emu/ieee754sp.h | 4 +
arch/mips/math-emu/sp_fmax.c | 84 ++++++---
arch/mips/math-emu/sp_fmin.c | 86 ++++++---
arch/mips/math-emu/sp_maddf.c | 226 +++++++++++-------------
arch/powerpc/kernel/align.c | 119 ++++++++-----
arch/s390/include/asm/mmu.h | 2 +
arch/s390/include/asm/mmu_context.h | 8 +-
arch/s390/include/asm/tlbflush.h | 30 +---
block/blk-core.c | 2 +-
crypto/algif_skcipher.c | 4 +-
drivers/block/skd_main.c | 21 ++-
drivers/crypto/ccp/ccp-crypto-aes-xts.c | 4 +-
drivers/crypto/ccp/ccp-dev-v5.c | 2 +
drivers/crypto/ccp/ccp-dev.h | 2 +
drivers/crypto/ccp/ccp-ops.c | 43 ++++-
drivers/devfreq/devfreq.c | 5 +-
drivers/gpu/drm/sun4i/sun4i_drv.c | 8 +
drivers/infiniband/core/addr.c | 12 +-
drivers/infiniband/hw/hfi1/rc.c | 3 +-
drivers/infiniband/hw/qib/qib_rc.c | 4 +-
drivers/input/serio/i8042-x86ia64io.h | 7 +
drivers/md/bcache/bcache.h | 1 +
drivers/md/bcache/request.c | 6 +-
drivers/md/bcache/super.c | 7 +-
drivers/md/bcache/sysfs.c | 4 +-
drivers/md/bcache/util.c | 50 ++++--
drivers/md/bcache/writeback.c | 20 ++-
drivers/md/bcache/writeback.h | 21 ++-
drivers/md/bitmap.c | 5 +
drivers/media/usb/uvc/uvc_ctrl.c | 7 +
drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 3 +-
drivers/net/wireless/mac80211_hwsim.c | 2 -
drivers/pci/hotplug/pciehp_hpc.c | 8 +
drivers/pci/hotplug/shpchp_hpc.c | 2 +
drivers/pinctrl/pinctrl-amd.c | 75 ++++++++
drivers/pinctrl/pinctrl-amd.h | 1 +
drivers/s390/scsi/zfcp_dbf.c | 33 +++-
drivers/s390/scsi/zfcp_dbf.h | 17 +-
drivers/s390/scsi/zfcp_fc.h | 6 +-
drivers/s390/scsi/zfcp_fsf.c | 7 +-
drivers/s390/scsi/zfcp_scsi.c | 16 +-
drivers/scsi/megaraid/megaraid_sas_base.c | 16 +-
drivers/scsi/qla2xxx/qla_attr.c | 8 +-
drivers/scsi/qla2xxx/qla_mid.c | 2 +-
drivers/scsi/sg.c | 169 ++++++++----------
drivers/scsi/storvsc_drv.c | 2 +
drivers/tty/tty_buffer.c | 26 +++
fs/ext4/super.c | 38 +++-
fs/nfs/callback.c | 24 ++-
fs/orangefs/acl.c | 48 ++---
include/linux/ccp.h | 3 +-
include/linux/sunrpc/svc.h | 1 +
include/linux/tty_flip.h | 3 +-
include/net/mac80211.h | 15 +-
kernel/irq/irqdesc.c | 24 +--
kernel/trace/ftrace.c | 10 +-
kernel/trace/trace.c | 10 +-
kernel/trace/trace_selftest.c | 2 +-
mm/page_alloc.c | 24 ++-
net/mac80211/iface.c | 17 +-
net/mac80211/offchannel.c | 2 +
net/mac80211/tx.c | 36 +++-
net/netfilter/nf_conntrack_core.c | 52 +++---
net/sunrpc/svc.c | 134 ++++++++++----
71 files changed, 1357 insertions(+), 708 deletions(-)