[PATCH 4.13 000/109] 4.13.4-stable review

From: Greg Kroah-Hartman
Date: Sun Sep 24 2017 - 16:59:31 EST


This is the start of the stable review cycle for the 4.13.4 release.
There are 109 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:33:30 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.13.4-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.13.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Linux 4.13.4-rc1

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
genirq: Fix cpumask check in __irq_startup_managed()

John Keeping <john@xxxxxxxxxxxx>
genirq/msi: Fix populating multiple interrupts

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

Johannes Berg <johannes.berg@xxxxxxxxx>
mac80211: fix deadlock in driver-managed RX BA session start

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

Luca Coelho <luciano.coelho@xxxxxxxxx>
iwlwifi: add workaround to disable wide channels in 5GHz

Peter Zijlstra <peterz@xxxxxxxxxxxxx>
sched/cpuset/pm: Fix cpuset vs. suspend-resume bugs

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

Tang Junhui <tang.junhui@xxxxxxxxxx>
bcache: fix sequential large write IO bypass

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()

Takashi Iwai <tiwai@xxxxxxx>
ALSA: seq: Cancel pending autoload work at unbinding device

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

Ulrich Hecht <ulrich.hecht+renesas@xxxxxxxxx>
media: adv7180: add missing adv7180cp, adv7180st i2c device IDs

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

Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
media: venus: fix copy/paste error in return_buf_error

Sean Young <sean@xxxxxxxx>
media: Revert "[media] lirc_dev: remove superfluous get/put_device() calls"

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

Chunyu Hu <chuhu@xxxxxxxxxx>
tracing: Fix clear of RECORDED_TGID flag when disabling trace event

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

Zev Weiss <zev@xxxxxxxxxxxxxxxxx>
ftrace: Fix debug preempt config name in stack_tracer_{en,dis}able

Anup Patel <anup.patel@xxxxxxxxxxxx>
mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE()

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

Quinn Tran <quinn.tran@xxxxxxxxxx>
scsi: qla2xxx: Use fabric name for Get Port Speed command

Sawan Chandak <sawan.chandak@xxxxxxxxxx>
scsi: qla2xxx: Use BIT_6 to acquire FAWWPN from switch

Michael Hernandez <michael.hernandez@xxxxxxxxxx>
scsi: qla2xxx: Fix target multiqueue configuration

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

himanshu.madhani@xxxxxxxxxx <himanshu.madhani@xxxxxxxxxx>
scsi: qla2xxx: Update fw_started flags at qpair creation.

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()

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

Shivasharan S <shivasharan.srikanteshwara@xxxxxxxxxxxx>
scsi: megaraid_sas: mismatch of allocated MFI frame size and length exposed in MFI MPT pass through command

Brian King <brking@xxxxxxxxxxxxxxxxxx>
scsi: aacraid: Fix command send race condition

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

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.

Shaohua Li <shli@xxxxxx>
md/bitmap: copy correct data for bitmap super

Jens Axboe <axboe@xxxxxxxxx>
block: directly insert blk-mq request from blk_insert_cloned_request()

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

John Allen <jallen@xxxxxxxxxxxxxxxxxx>
powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

Alistair Popple <alistair@xxxxxxxxxxxx>
powerpc/powernv/npu: Move tlb flush before launching ATSD

Frederic Barrat <fbarrat@xxxxxxxxxxxxxxxxxx>
cxl: Fix driver use count

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

Darrick J. Wong <darrick.wong@xxxxxxxxxx>
ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets

Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
wcn36xx: Introduce mutual exclusion of fw configuration

Sebastian Reichel <sre@xxxxxxxxxx>
regulator: cpcap: Fix standby mode

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

Horia GeantÄ <horia.geanta@xxxxxxx>
crypto: caam/qi - properly set IV after {en,de}crypt

Horia GeantÄ <horia.geanta@xxxxxxx>
crypto: caam/qi - fix typo in authenc alg driver name

Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
crypto: scompress - don't sleep with preemption disabled

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

Zhouyi Zhou <zhouzhouyi@xxxxxxxxx>
docs: disable KASLR when debugging kernel

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: 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

Krzysztof Kozlowski <krzk@xxxxxxxxxx>
pinctrl: samsung: Fix NULL pointer exception on external interrupts on S3C24xx

Krzysztof Kozlowski <krzk@xxxxxxxxxx>
pinctrl: samsung: Fix invalid register offset used for Exynos5433 external interrupts

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

Zhang, Jerry <Jerry.Zhang@xxxxxxx>
drm/amdgpu: read reg in each iterator of psp_wait_for loop

Cameron Gutman <aicommander@xxxxxxxxx>
Input: xpad - validate USB endpoint type during probe

Ethan Barnes <Ethan.Barnes@xxxxxxx>
smp/hotplug: Handle removal correctly in cpuhp_store_callbacks()

Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
srcu: Provide ordering for CPU not involved in grace period

Majd Dibbiny <majd@xxxxxxxxxxxx>
IB/mlx5: Fix cached MR allocation flow

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

Alex Estrin <alex.estrin@xxxxxxxxx>
IB/hfi1: Revert egress pkey check enforcement

Bart Van Assche <bart.vanassche@xxxxxxx>
<linux/uaccess.h>: Fix copy_in_user() declaration

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


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

Diffstat:

Documentation/dev-tools/gdb-kernel-debugging.rst | 6 +-
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 | 246 +++++++++++++--------
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 | 229 +++++++++----------
arch/powerpc/kernel/align.c | 119 ++++++----
arch/powerpc/platforms/powernv/npu-dma.c | 12 +-
arch/powerpc/platforms/pseries/hotplug-memory.c | 4 +
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 | 9 +-
block/blk-mq.c | 16 ++
block/blk-mq.h | 1 +
crypto/algif_skcipher.c | 4 +-
crypto/scompress.c | 4 +-
drivers/block/skd_main.c | 21 +-
drivers/crypto/caam/caamalg_qi.c | 11 +-
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/amd/amdgpu/amdgpu_psp.c | 3 +-
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c | 2 -
drivers/infiniband/hw/hfi1/init.c | 1 -
drivers/infiniband/hw/hfi1/rc.c | 3 +-
drivers/infiniband/hw/mlx5/mr.c | 18 +-
drivers/infiniband/hw/qib/qib_rc.c | 4 +-
drivers/input/joystick/xpad.c | 10 +-
drivers/input/serio/i8042-x86ia64io.h | 7 +
drivers/mailbox/bcm-flexrm-mailbox.c | 2 +-
drivers/md/bcache/bcache.h | 1 +
drivers/md/bcache/request.c | 12 +-
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 | 9 +-
drivers/media/i2c/adv7180.c | 2 +
drivers/media/platform/qcom/venus/helpers.c | 2 +-
drivers/media/rc/lirc_dev.c | 4 +
drivers/media/usb/uvc/uvc_ctrl.c | 7 +
drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 3 +-
drivers/misc/cxl/api.c | 4 +
drivers/misc/cxl/file.c | 8 +-
drivers/net/wireless/ath/wcn36xx/main.c | 52 ++++-
drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 3 +
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 62 +++++-
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.h | 3 +-
drivers/net/wireless/intel/iwlwifi/mvm/nvm.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/pinctrl/samsung/pinctrl-exynos.c | 8 +-
drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 37 ++--
drivers/pinctrl/samsung/pinctrl-s3c64xx.c | 40 ++--
drivers/pinctrl/samsung/pinctrl-samsung.c | 6 +
drivers/pinctrl/samsung/pinctrl-samsung.h | 5 +
drivers/regulator/cpcap-regulator.c | 8 +-
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/aacraid/aachba.c | 54 ++---
drivers/scsi/megaraid/megaraid_sas_base.c | 16 +-
drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 +-
drivers/scsi/qedi/qedi_main.c | 2 +-
drivers/scsi/qla2xxx/qla_attr.c | 8 +-
drivers/scsi/qla2xxx/qla_gs.c | 2 +-
drivers/scsi/qla2xxx/qla_init.c | 1 +
drivers/scsi/qla2xxx/qla_isr.c | 2 +-
drivers/scsi/qla2xxx/qla_mbx.c | 3 +-
drivers/scsi/qla2xxx/qla_mid.c | 2 +-
drivers/scsi/qla2xxx/qla_target.c | 2 +-
drivers/scsi/sg.c | 64 +++---
drivers/scsi/storvsc_drv.c | 2 +
drivers/tty/tty_buffer.c | 26 +++
fs/ext4/file.c | 4 +-
fs/ext4/super.c | 38 +++-
fs/orangefs/acl.c | 48 ++--
include/linux/ccp.h | 3 +-
include/linux/cpuset.h | 6 +
include/linux/ftrace.h | 4 +-
include/linux/tty_flip.h | 3 +-
include/linux/uaccess.h | 2 +-
include/net/mac80211.h | 15 +-
kernel/cgroup/cpuset.c | 16 +-
kernel/cpu.c | 12 +-
kernel/irq/chip.c | 2 +-
kernel/irq/irqdesc.c | 24 +-
kernel/irq/msi.c | 5 +-
kernel/power/process.c | 5 +-
kernel/rcu/srcutree.c | 9 +
kernel/sched/core.c | 7 +-
kernel/trace/ftrace.c | 10 +-
kernel/trace/trace.c | 10 +-
kernel/trace/trace_events.c | 2 +-
kernel/trace/trace_selftest.c | 2 +-
net/mac80211/agg-rx.c | 32 ++-
net/mac80211/ht.c | 6 +-
net/mac80211/ieee80211_i.h | 4 +
net/mac80211/iface.c | 17 +-
net/mac80211/offchannel.c | 2 +
net/mac80211/tx.c | 36 ++-
net/netfilter/nf_conntrack_core.c | 52 +++--
sound/core/seq_device.c | 3 +
118 files changed, 1550 insertions(+), 752 deletions(-)