[PATCH 4.12 000/196] 4.12.4-stable review

From: Greg Kroah-Hartman
Date: Tue Jul 25 2017 - 16:14:45 EST


This is the start of the stable review cycle for the 4.12.4 release.
There are 196 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 Thu Jul 27 19:20:09 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.12.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.12.y
and the diffstat can be found below.

thanks,

greg k-h

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

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

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

Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxxxx>
drm/i915: reintroduce VLV/CHV PFI programming power domain workaround

sagar.a.kamble@xxxxxxxxx <sagar.a.kamble@xxxxxxxxx>
drm/i915: Hold RPM wakelock while initializing OA buffer

Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
drm/i915/fbdev: Check for existence of ifbdev->vma before operations

Chunyu Hu <chuhu@xxxxxxxxxx>
tracing: Fix kmemleak in instance_rmdir

Sudeep Holla <Sudeep.Holla@xxxxxxx>
PM / Domains: defer dev_pm_domain_set() until genpd->attach_dev succeeds if present

Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
drm/imx: parallel-display: Accept drm_of_find_panel_or_bridge failure

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

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

Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
spmi: Include OF based modalias in device uevent

Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>
cpufreq: intel_pstate: Correct the busy calculation for KNL

Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx>
vmbus: re-enable channel tasklet

Prarit Bhargava <prarit@xxxxxxxxxx>
acpi/nfit: Fix memory corruption/Unregister mce decoder on failure

Christoph Lameter <cl@xxxxxxxxx>
kernel/fork.c: virtually mapped stacks: do not disable interrupts

Nikolay Borisov <nborisov@xxxxxxxx>
writeback: rework wb_[dec|inc]_stat family of functions

Nikolay Borisov <nborisov@xxxxxxxx>
percpu_counter: Rename __percpu_counter_add to percpu_counter_add_batch

Jeffrey Hugo <jhugo@xxxxxxxxxxxxxx>
sched/fair: Fix load_balance() affinity redo path

Wanpeng Li <wanpeng.li@xxxxxxxxxxx>
sched/cputime: Accumulate vtime on top of nsec clocksource

Frederic Weisbecker <fweisbec@xxxxxxxxx>
sched/cputime: Move the vtime task fields to their own struct

Frederic Weisbecker <fweisbec@xxxxxxxxx>
sched/cputime: Rename vtime fields

Frederic Weisbecker <fweisbec@xxxxxxxxx>
sched/cputime: Always set tsk->vtime_snap_whence after accounting vtime

Frederic Weisbecker <fweisbec@xxxxxxxxx>
vtime, sched/cputime: Remove vtime_account_user()

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

Bart Van Assche <bart.vanassche@xxxxxxxxxxx>
mlx5: Avoid that mlx5_ib_sg_to_klms() overflows the klms[] array

Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
drm/i915: Make DP-MST connector info work

Imre Deak <imre.deak@xxxxxxxxx>
drm/mst: Avoid processing partially received up/down message transactions

Imre Deak <imre.deak@xxxxxxxxx>
drm/mst: Avoid dereferencing a NULL mstb in drm_dp_mst_handle_up_req()

Imre Deak <imre.deak@xxxxxxxxx>
drm/mst: Fix error handling during MST sideband message reception

Ismail, Mustafa <mustafa.ismail@xxxxxxxxx>
RDMA/core: Initialize port_num in qp_attr

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

Yan, Zheng <zyan@xxxxxxxxxx>
ceph: fix race in concurrent readdir

Arnd Bergmann <arnd@xxxxxxxx>
staging: lustre: ko2iblnd: check copy_from_iter/copy_to_iter return code

Teddy Wang <teddy.wang@xxxxxxxxxxxxxxxxx>
staging: sm750fb: avoid conflicting vesafb

Ian Abbott <abbotti@xxxxxxxxx>
staging: comedi: ni_mio_common: fix AO timer off-by-one regression

Michael Gugino <michael.gugino.2@xxxxxxxxx>
staging: rtl8188eu: add TL-WN722N v2 support

Ingo Molnar <mingo@xxxxxxxxxx>
Revert "perf/core: Drop kernel samples even though :u is specified"

Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
perf/core: Fix scheduling regression of pinned groups

Jin Yao <yao.jin@xxxxxxxxxxxxxxx>
perf annotate: Fix broken arrow at row 0 connecting jmp instruction to its target

Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
iser-target: Avoid isert_conn->cm_id dereference in isert_login_recv_done

Jiang Yi <jiangyilism@xxxxxxxxx>
target: Fix COMPARE_AND_WRITE caw_sem leak during se_cmd quiesce

Jan Kara <jack@xxxxxxx>
udf: Fix deadlock between writeback and udf_setsize()

Jan Kara <jack@xxxxxxx>
udf: Fix races with i_size changes during readpage

NeilBrown <neilb@xxxxxxxx>
NFS: only invalidate dentrys that are clearly invalid.

Olga Kornievskaia <kolga@xxxxxxxxxx>
PNFS fix EACCESS on commit to DS handling

Benjamin Coddington <bcodding@xxxxxxxxxx>
NFS: Fix initialization of nfs_page_array->npages

NeilBrown <neilb@xxxxxxxx>
net/sunrpc/xprt_sock: fix regression in connection error reporting.

Jason A. Donenfeld <Jason@xxxxxxxxx>
sunrpc: use constant time memory comparison for mac

Moni Shoua <monis@xxxxxxxxxxxx>
IB/core: Namespace is mandatory input for address resolution

Vladimir Neyelov <vladimirn@xxxxxxxxxxxx>
IB/iser: Fix connection teardown race condition

Chen Hong <chenhong3@xxxxxxxxxx>
Input: i8042 - fix crash at boot time

Maciej W. Rozycki <macro@xxxxxxxxxx>
MIPS: Fix a typo: s/preset/present/ in r2-to-r6 emulation error message

Maciej W. Rozycki <macro@xxxxxxxxxx>
MIPS: Send SIGILL for R6 branches in `__compute_return_epc_for_insn'

Maciej W. Rozycki <macro@xxxxxxxxxx>
MIPS: Send SIGILL for linked branches in `__compute_return_epc_for_insn'

Maciej W. Rozycki <macro@xxxxxxxxxx>
MIPS: Rename `sigill_r6' to `sigill_r2r6' in `__compute_return_epc_for_insn'

Maciej W. Rozycki <macro@xxxxxxxxxx>
MIPS: Send SIGILL for BPOSGE32 in `__compute_return_epc_for_insn'

Maciej W. Rozycki <macro@xxxxxxxxxx>
MIPS: math-emu: Prevent wrong ISA mode instruction emulation

Maciej W. Rozycki <macro@xxxxxxxxxx>
MIPS: Fix unaligned PC interpretation in `compute_return_epc'

Maciej W. Rozycki <macro@xxxxxxxxxx>
MIPS: Actually decode JALX in `__compute_return_epc_for_insn'

James Hogan <james.hogan@xxxxxxxxxx>
MIPS: Save static registers before sysmips

Maciej W. Rozycki <macro@xxxxxxxxxxxxxx>
MIPS: Fix MIPS I ISA /proc/cpuinfo reporting

Seunghun Han <kkamagui@xxxxxxxxx>
x86/ioapic: Pass the correct data to unmask_ioapic_irq()

Seunghun Han <kkamagui@xxxxxxxxx>
x86/acpi: Prevent out of bound access caused by broken ACPI tables

Lv Zheng <lv.zheng@xxxxxxxxx>
Revert "ACPI / EC: Enable event freeze mode..." to fix a regression

Lv Zheng <lv.zheng@xxxxxxxxx>
ACPI / EC: Drop EC noirq hooks to fix a regression

Richard Weinberger <richard@xxxxxx>
ubifs: Set double hash cookie also for RENAME_EXCHANGE

David Gstir <david@xxxxxxxxxxxxx>
ubifs: Don't encrypt special files on creation

Richard Weinberger <richard@xxxxxx>
ubifs: Don't leak kernel memory to the MTD

Richard Weinberger <richard@xxxxxx>
ubifs: Correctly evict xattr inodes

Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>
mtd: nand: tango: Fix incorrect use of SEQIN command

James Hogan <james.hogan@xxxxxxxxxx>
MIPS: Negate error syscall return in trace

James Hogan <james.hogan@xxxxxxxxxx>
MIPS: Fix mips_atomic_set() with EVA

James Hogan <james.hogan@xxxxxxxxxx>
MIPS: Fix mips_atomic_set() retry condition

Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
drm/atomic: Add missing drm_atomic_state_clear to atomic_remove_fb

Chuanxiao Dong <chuanxiao.dong@xxxxxxxxx>
drm/i915/gvt: Fix inconsistent locks holding sequence

Robin Murphy <robin.murphy@xxxxxxx>
iommu/arm-smmu: Plumb in new ACPI identifiers

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
ftrace: Fix uninitialized variable in match_records()

Marta Rybczynska <mrybczyn@xxxxxxxxx>
nvme-rdma: remove race conditions from IB signalling

Alex Williamson <alex.williamson@xxxxxxxxxx>
vfio: Remove unnecessary uses of vfio_container.group_lock

Alex Williamson <alex.williamson@xxxxxxxxxx>
vfio: New external user group/file match

Alex Williamson <alex.williamson@xxxxxxxxxx>
vfio: Fix group release deadlock

Ville SyrjÃlà <ville.syrjala@xxxxxxxxxxxxxxx>
drm/i915: Disable MSI for all pre-gen5

Hawking Zhang <Hawking.Zhang@xxxxxxx>
drm/amd/powerplay: fix memory leak in cz_hwmgr backend

Amir Goldstein <amir73il@xxxxxxxxx>
ovl: fix random return value on mount

Amir Goldstein <amir73il@xxxxxxxxx>
ovl: mark parent impure on ovl_link()

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
serial: sh-sci: Uninitialized variables in sysfs files

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
serial: st-asc: Potential error pointer dereference

Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
f2fs: Don't clear SGID when inheriting ACLs

Chao Yu <yuchao0@xxxxxxxxxx>
f2fs: use spin_{,un}lock_irq{save,restore}

Jin Qian <jinqian@xxxxxxxxxxx>
f2fs: sanity check size of nat and sit cache

Damien Le Moal <damien.lemoal@xxxxxxx>
f2fs: Do not issue small discards in LFS mode

Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
f2fs: try to freeze in gc and discard threads

Jin Qian <jinqian@xxxxxxxxxx>
f2fs: sanity check checkpoint segno and blkoff

Chao Yu <yuchao0@xxxxxxxxxx>
f2fs: wake up all waiters in f2fs_submit_discard_endio

Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
f2fs: load inode's flag from disk

Pavel Shilovsky <pshilov@xxxxxxxxxxxxx>
CIFS: Reconnect expired SMB sessions

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

Corey Minyard <cminyard@xxxxxxxxxx>
ipmi:ssif: Add missing unlock in error branch

Tony Camuso <tcamuso@xxxxxxxxxx>
ipmi: use rcu lock around call to intf->handlers->sender()

Eric Anholt <eric@xxxxxxxxxx>
drm/etnaviv: Expose our reservation object when exporting a dmabuf.

John Brooks <john@xxxxxxxxxxxxx>
drm/ttm: Fix use-after-free in ttm_bo_clean_mm

Mario Kleiner <mario.kleiner.de@xxxxxxxxx>
drm/radeon: Fix eDP for single-display iMac10,1 (v2)

Alex Deucher <alexander.deucher@xxxxxxx>
drm/radeon/ci: disable mclk switching for high refresh rates (v2)

John Brooks <john@xxxxxxxxxxxxx>
drm/amdgpu: Don't call amd_powerplay_destroy() if we don't have powerplay

Huang Rui <ray.huang@xxxxxxx>
drm/amdgpu: fix the memory corruption on S3

Tom St Denis <tom.stdenis@xxxxxxx>
drm/amd/amdgpu: Return error if initiating read out of range on vram

Alex Deucher <alexander.deucher@xxxxxxx>
drm/amdgpu/cgs: always set reference clock in mode_info

Alex Deucher <alexander.deucher@xxxxxxx>
drm/amdgpu: fix vblank_time when displays are off

Alex Deucher <alexander.deucher@xxxxxxx>
drm/amdgpu/gfx8: drop per-APU CU limits

Jiri Olsa <jolsa@xxxxxxxxxx>
s390/syscalls: Fix out of bounds arguments access

Xiao Ni <xni@xxxxxxxxxx>
Raid5 should update rdev->sectors after reshape

Heinz Mauelshagen <heinzm@xxxxxxxxxx>
dm raid: stop using BUG() in __rdev_sectors()

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

Toshi Kani <toshi.kani@xxxxxxx>
libnvdimm: fix badblock range handling of ARS range

Vishal Verma <vishal.l.verma@xxxxxxxxx>
libnvdimm: fix the clear-error check in nsio_rw_bytes

Vishal Verma <vishal.l.verma@xxxxxxxxx>
libnvdimm, btt: fix btt_rw_page not returning errors

Yasunori Goto <y-goto@xxxxxxxxxxxxxx>
tools/testing/nvdimm: fix nfit_test buffer overflow

David HÃrdeman <david@xxxxxxxxxxx>
rc-core: fix input repeat handling

Devin Heitmueller <dheitmueller@xxxxxxxxxxxxxx>
cx88: Fix regression in initial video standard setting

Marek Marczykowski-GÃrecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
x86/xen: allow userspace access during hypercalls

NeilBrown <neilb@xxxxxxxx>
md: fix deadlock between mddev_suspend() and md_write_start()

Mikulas Patocka <mpatocka@xxxxxxxxxx>
md: don't use flush_signals in userspace processes

Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
HID: multitouch: do not blindly set EV_KEY or EV_ABS bits

Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
usb: renesas_usbhs: gadget: disable all eps when the driver stops

Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
usb: renesas_usbhs: fix usbhsc_resume() for !USBHSF_RUNTIME_PWCTRL

Johan Hovold <johan@xxxxxxxxxx>
USB: cdc-acm: add device-id for quirky printer

Colin Ian King <colin.king@xxxxxxxxxxxxx>
usb: storage: return on error to avoid a null pointer dereference

Devin Heitmueller <dheitmueller@xxxxxxxxxxxxxx>
mxl111sf: Fix driver to use heap allocate buffers for USB messages

Jiahau Chang <jiahau@xxxxxxxxx>
xhci: Bad Ethernet performance plugged in ASM1042A host

Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
xhci: Fix NULL pointer dereference when cleaning up streams for removed host

Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
xhci: fix 20000ms port resume timeout

Shu Wang <shuwang@xxxxxxxxxx>
xhci: fix memleak in xhci_run()

Peter Chen <peter.chen@xxxxxxx>
usb: xhci: fix spinlock recursion for USB2 test mode

Michael Hernandez <michael.hernandez@xxxxxxxxxx>
PCI/MSI: Ignore affinity if pre/post vector count is more than min_vecs

Chen Yu <yu.c.chen@xxxxxxxxx>
PCI/PM: Restore the status of PCI devices across hibernation

Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>
PCI: rockchip: Use normal register bank for config accessors

Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
PCI: Work around poweroff & suspend-to-RAM issue on Macbook Pro 11

Jon Derrick <jonathan.derrick@xxxxxxxxx>
PCI: vmd: Move SRCU cleanup after bus, child device removal

Juergen Gross <jgross@xxxxxxxx>
xen/x86: fix cpu hotplug

Madhavan Srinivasan <maddy@xxxxxxxxxxxxxxxxxx>
powerpc/perf: Fix SDAR_MODE value for continous sampling on Power9

Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
powerpc/mm/radix: Properly clear process table entry

Oliver O'Halloran <oohall@xxxxxxxxx>
powerpc/asm: Mark cr0 as clobbered in mftb()

Anton Blanchard <anton@xxxxxxxxx>
powerpc: Fix emulation of mfocrf in emulate_step()

Anton Blanchard <anton@xxxxxxxxx>
powerpc: Fix emulation of mcrf in emulate_step()

Michael Ellerman <mpe@xxxxxxxxxxxxxx>
powerpc/64: Fix atomic64_inc_not_zero() to return an int

Balbir Singh <bsingharora@xxxxxxxxx>
powerpc/mm/radix: Fix execute permissions for interrupt_vectors

Balbir Singh <bsingharora@xxxxxxxxx>
powerpc/pseries: Fix passing of pp0 in updatepp() and updateboltedpp()

Michael Ellerman <mpe@xxxxxxxxxxxxxx>
powerpc/mm/radix: Only add X for pages overlapping kernel text

Paolo Bonzini <pbonzini@xxxxxxxxxx>
scsi: virtio_scsi: always read VPD pages for multiqueue too

Bart Van Assche <bart.vanassche@xxxxxxxxxxx>
xen/scsiback: Fix a TMR related use-after-free

Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
iscsi-target: Add login_keys_workaround attribute for non RFC initiators

Bart Van Assche <bart.vanassche@xxxxxxxxxxx>
scsi: Avoid that scsi_exit_rq() triggers a use-after-free

Ewan D. Milne <emilne@xxxxxxxxxx>
scsi: Add STARGET_CREATED_REMOVE state to scsi_target_state

Quinn Tran <quinn.tran@xxxxxxxxxx>
scsi: qla2xxx: Allow ABTS, PURX, RIDA on ATIOQ for ISP83XX/27XX

Paolo Bonzini <pbonzini@xxxxxxxxxx>
scsi: virtio_scsi: let host do exception handling

Maurizio Lombardi <mlombard@xxxxxxxxxx>
scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.

Krzysztof Kozlowski <krzk@xxxxxxxxxx>
PM / Domains: Fix unsafe iteration over modified list of domains

Krzysztof Kozlowski <krzk@xxxxxxxxxx>
PM / Domains: Fix unsafe iteration over modified list of domain providers

Krzysztof Kozlowski <krzk@xxxxxxxxxx>
PM / Domains: Fix unsafe iteration over modified list of device links

Peter Rosin <peda@xxxxxxxxxx>
ASoC: atmel: tse850: fix off-by-one in the "ANA" enumeration count

Satish Babu Patakokila <sbpata@xxxxxxxxxxxxxx>
ASoC: compress: Derive substream from stream based on direction

Shawn Guo <shawn.guo@xxxxxxxxxx>
ASoC: zx-i2s: flip I2S master/slave mode

Cyrille Pitchen <cyrille.pitchen@xxxxxxxxxxxxx>
spi: atmel: fix corrupted data issue on SAM9 family SoCs

Matwey V Kornilov <matwey@xxxxxxxxxx>
igb: Explicitly select page 0 at initialization

Filipe Manana <fdmanana@xxxxxxxx>
Btrfs: incremental send, fix invalid memory access

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

Filipe Manana <fdmanana@xxxxxxxx>
Btrfs: fix invalid extent maps due to hole punching

Brian Norris <briannorris@xxxxxxxxxxxx>
mwifiex: fixup error cases in mwifiex_add_virtual_intf()

Ankit Kumar <ankit@xxxxxxxxxxxxxxxxxx>
pstore: Don't warn if data is uncompressed and type is not PSTORE_TYPE_DMESG

Arnd Bergmann <arnd@xxxxxxxx>
wlcore: fix 64K page support

Jason A. Donenfeld <Jason@xxxxxxxxx>
Bluetooth: use constant time memory comparison for secret values

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf intel-pt: Clear FUP flag on error

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf intel-pt: Use FUP always when scanning for an IP

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf intel-pt: Ensure never to set 'last_ip' when packet 'count' is zero

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf intel-pt: Fix last_ip usage

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf intel-pt: Ensure IP is zero when state is INTEL_PT_STATE_NO_IP

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf intel-pt: Fix missing stack clear

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf intel-pt: Improve sample timestamp

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf intel-pt: Move decoder error setting into one condition

Mateusz Jurczyk <mjurczyk@xxxxxxxxxx>
NFC: Add sockaddr length checks before accessing sa_family in bind handlers

Mateusz Jurczyk <mjurczyk@xxxxxxxxxx>
nfc: Fix the sockaddr length sanitization in llcp_sock_connect

Mateusz Jurczyk <mjurczyk@xxxxxxxxxx>
nfc: Ensure presence of required attributes in the activate_target handler

Johan Hovold <johan@xxxxxxxxxx>
NFC: nfcmrvl: fix firmware-management initialisation

Johan Hovold <johan@xxxxxxxxxx>
NFC: nfcmrvl: use nfc-device for firmware download

Johan Hovold <johan@xxxxxxxxxx>
NFC: nfcmrvl: do not use device-managed resources

Johan Hovold <johan@xxxxxxxxxx>
NFC: nfcmrvl_uart: add missing tty-device sanity check

Johan Hovold <johan@xxxxxxxxxx>
NFC: fix broken device allocation

Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx>
iwlwifi: mvm: fix the recovery flow while connecting

Miaoqing Pan <miaoqing@xxxxxxxxxxxxxx>
ath9k: fix an invalid pointer dereference in ath9k_rng_stop()

Miaoqing Pan <miaoqing@xxxxxxxxxxxxxx>
ath9k: fix tx99 bus error

Miaoqing Pan <miaoqing@xxxxxxxxxxxxxx>
ath9k: fix tx99 use after free

Viresh Kumar <viresh.kumar@xxxxxxxxxx>
thermal: cpu_cooling: Avoid accessing potentially freed structures

Johan Hovold <johan@xxxxxxxxxx>
thermal: max77620: fix device-node reference imbalance

Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
s5p-jpeg: don't return a random width/height

Arnd Bergmann <arnd@xxxxxxxx>
ir-core: fix gcc-7 warning on bool arithmetic

Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
disable new gcc-7.1.1 warnings for now


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

Diffstat:

Makefile | 7 +-
arch/mips/include/asm/branch.h | 5 +-
arch/mips/kernel/branch.c | 71 +++++----
arch/mips/kernel/proc.c | 2 +-
arch/mips/kernel/ptrace.c | 2 +-
arch/mips/kernel/scall32-o32.S | 2 +-
arch/mips/kernel/scall64-64.S | 2 +-
arch/mips/kernel/scall64-n32.S | 2 +-
arch/mips/kernel/scall64-o32.S | 2 +-
arch/mips/kernel/syscall.c | 15 +-
arch/mips/math-emu/cp1emu.c | 38 +++++
arch/powerpc/include/asm/atomic.h | 4 +-
arch/powerpc/include/asm/reg.h | 2 +-
arch/powerpc/lib/sstep.c | 19 ++-
arch/powerpc/mm/mmu_context_book3s64.c | 12 +-
arch/powerpc/mm/pgtable-radix.c | 15 +-
arch/powerpc/perf/isa207-common.c | 6 +-
arch/powerpc/platforms/pseries/lpar.c | 11 +-
arch/s390/include/asm/syscall.h | 6 +
arch/x86/include/asm/xen/hypercall.h | 9 +-
arch/x86/kernel/acpi/boot.c | 8 ++
arch/x86/kernel/apic/io_apic.c | 2 +-
arch/x86/pci/fixup.c | 32 +++++
arch/x86/xen/smp_pv.c | 3 +-
drivers/acpi/ec.c | 21 +--
drivers/acpi/nfit/core.c | 10 +-
drivers/base/power/domain.c | 20 +--
drivers/char/ipmi/ipmi_msghandler.c | 5 +
drivers/char/ipmi/ipmi_ssif.c | 5 +
drivers/cpufreq/intel_pstate.c | 21 ++-
drivers/dax/device-dax.h | 2 +-
drivers/dax/device.c | 24 ++--
drivers/dax/pmem.c | 12 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 6 +
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 15 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 3 +
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 71 +--------
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 6 +
drivers/gpu/drm/drm_dp_mst_topology.c | 41 ++++--
drivers/gpu/drm/drm_framebuffer.c | 1 +
drivers/gpu/drm/etnaviv/etnaviv_drv.c | 1 +
drivers/gpu/drm/etnaviv/etnaviv_drv.h | 1 +
drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c | 7 +
drivers/gpu/drm/i915/gvt/kvmgt.c | 14 +-
drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
drivers/gpu/drm/i915/i915_drv.c | 8 +-
drivers/gpu/drm/i915/i915_perf.c | 12 +-
drivers/gpu/drm/i915/intel_cdclk.c | 20 +++
drivers/gpu/drm/i915/intel_fbdev.c | 11 +-
drivers/gpu/drm/imx/parallel-display.c | 2 +-
drivers/gpu/drm/radeon/atombios_encoders.c | 13 +-
drivers/gpu/drm/radeon/ci_dpm.c | 6 +
drivers/gpu/drm/ttm/ttm_bo.c | 4 +-
drivers/hid/hid-multitouch.c | 16 +--
drivers/hv/channel.c | 2 +
drivers/infiniband/core/addr.c | 6 +-
drivers/infiniband/core/cma.c | 2 +
drivers/infiniband/core/uverbs_cmd.c | 3 +-
drivers/infiniband/hw/mlx5/mr.c | 2 +-
drivers/infiniband/ulp/iser/iscsi_iser.c | 11 ++
drivers/infiniband/ulp/isert/ib_isert.c | 2 +-
drivers/input/serio/i8042.c | 12 +-
drivers/iommu/arm-smmu.c | 16 +++
drivers/md/dm-raid.c | 13 +-
drivers/md/faulty.c | 5 +-
drivers/md/linear.c | 7 +-
drivers/md/md.c | 22 ++-
drivers/md/md.h | 4 +-
drivers/md/multipath.c | 8 +-
drivers/md/raid0.c | 7 +-
drivers/md/raid1.c | 16 ++-
drivers/md/raid10.c | 10 +-
drivers/md/raid5.c | 26 ++--
drivers/media/pci/cx88/cx88-cards.c | 9 +-
drivers/media/pci/cx88/cx88-video.c | 2 +-
drivers/media/platform/s5p-jpeg/jpeg-core.c | 8 +-
drivers/media/rc/imon.c | 2 +-
drivers/media/rc/rc-main.c | 20 +--
drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c | 4 +-
drivers/media/usb/dvb-usb-v2/mxl111sf.c | 32 +++--
drivers/media/usb/dvb-usb-v2/mxl111sf.h | 8 +-
drivers/misc/enclosure.c | 14 +-
drivers/mtd/nand/tango_nand.c | 2 +-
drivers/net/ethernet/intel/igb/e1000_82575.c | 1 +
drivers/net/wireless/ath/ath9k/ar9003_phy.c | 2 -
drivers/net/wireless/ath/ath9k/rng.c | 4 +-
drivers/net/wireless/ath/ath9k/tx99.c | 13 +-
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 32 ++++-
drivers/net/wireless/marvell/mwifiex/cfg80211.c | 71 +++++----
drivers/net/wireless/ti/wlcore/spi.c | 6 +-
drivers/nfc/nfcmrvl/fw_dnld.c | 7 +-
drivers/nfc/nfcmrvl/main.c | 35 +++--
drivers/nfc/nfcmrvl/uart.c | 8 +-
drivers/nvdimm/btt.c | 9 +-
drivers/nvdimm/claim.c | 3 +-
drivers/nvdimm/core.c | 7 +-
drivers/nvme/host/rdma.c | 20 +--
drivers/pci/host/pcie-rockchip.c | 13 +-
drivers/pci/host/vmd.c | 2 +-
drivers/pci/msi.c | 14 +-
drivers/pci/pci-driver.c | 1 +
drivers/scsi/qla2xxx/qla_init.c | 7 +-
drivers/scsi/scsi_lib.c | 47 +++---
drivers/scsi/scsi_scan.c | 5 +-
drivers/scsi/scsi_sysfs.c | 8 +-
drivers/scsi/virtio_scsi.c | 13 ++
drivers/spi/spi-atmel.c | 24 +++-
drivers/spmi/spmi.c | 12 ++
drivers/staging/comedi/drivers/ni_mio_common.c | 3 +-
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 19 ++-
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 +
drivers/staging/sm750fb/sm750.c | 24 ++++
drivers/target/iscsi/iscsi_target_configfs.c | 2 +
drivers/target/iscsi/iscsi_target_nego.c | 6 +-
drivers/target/iscsi/iscsi_target_parameters.c | 41 ++++--
drivers/target/iscsi/iscsi_target_parameters.h | 2 +-
drivers/target/iscsi/iscsi_target_tpg.c | 19 +++
drivers/target/iscsi/iscsi_target_tpg.h | 1 +
drivers/target/target_core_transport.c | 9 ++
drivers/thermal/cpu_cooling.c | 4 +-
drivers/thermal/max77620_thermal.c | 10 +-
drivers/tty/serial/sh-sci.c | 12 +-
drivers/tty/serial/st-asc.c | 1 +
drivers/usb/class/cdc-acm.c | 3 +
drivers/usb/host/pci-quirks.c | 54 +++++++
drivers/usb/host/pci-quirks.h | 2 +
drivers/usb/host/xhci-hub.c | 5 +
drivers/usb/host/xhci-pci.c | 6 +
drivers/usb/host/xhci-ring.c | 11 +-
drivers/usb/host/xhci.c | 10 +-
drivers/usb/host/xhci.h | 1 +
drivers/usb/renesas_usbhs/common.c | 4 +-
drivers/usb/renesas_usbhs/mod_gadget.c | 31 +++-
drivers/usb/storage/isd200.c | 5 +-
drivers/vfio/vfio.c | 84 ++++++-----
drivers/xen/xen-scsiback.c | 33 ++---
fs/btrfs/acl.c | 13 +-
fs/btrfs/disk-io.c | 12 +-
fs/btrfs/extent_io.c | 6 +-
fs/btrfs/file.c | 5 +-
fs/btrfs/inode.c | 8 +-
fs/btrfs/send.c | 7 +-
fs/ceph/dir.c | 5 +
fs/cifs/cifsglob.h | 2 +
fs/cifs/cifssmb.c | 7 +
fs/cifs/connect.c | 7 +
fs/cifs/smb2ops.c | 23 +++
fs/ext2/acl.c | 36 +++--
fs/f2fs/acl.c | 2 +-
fs/f2fs/checkpoint.c | 11 +-
fs/f2fs/f2fs.h | 18 ++-
fs/f2fs/file.c | 1 +
fs/f2fs/gc.c | 9 +-
fs/f2fs/inode.c | 2 +-
fs/f2fs/segment.c | 37 +++--
fs/f2fs/super.c | 16 +++
fs/fs-writeback.c | 8 +-
fs/hfsplus/posix_acl.c | 30 ++--
fs/nfs/dir.c | 12 +-
fs/nfs/filelayout/filelayout.c | 3 +-
fs/nfs/inode.c | 4 +-
fs/nfs/pagelist.c | 1 +
fs/overlayfs/dir.c | 22 ++-
fs/overlayfs/super.c | 1 +
fs/pstore/platform.c | 5 +-
fs/reiserfs/xattr_acl.c | 12 +-
fs/ubifs/dir.c | 1 +
fs/ubifs/journal.c | 12 +-
fs/ubifs/tnc.c | 2 +
fs/ubifs/ubifs.h | 1 +
fs/ubifs/xattr.c | 22 +++
fs/udf/file.c | 9 +-
fs/udf/inode.c | 4 +-
fs/xfs/xfs_acl.c | 6 +-
fs/xfs/xfs_acl.h | 1 +
fs/xfs/xfs_iops.c | 4 +-
fs/xfs/xfs_mount.c | 4 +-
include/linux/backing-dev.h | 26 +---
include/linux/blk-cgroup.h | 6 +-
include/linux/init_task.h | 6 +-
include/linux/interrupt.h | 4 +-
include/linux/mman.h | 2 +-
include/linux/percpu_counter.h | 7 +-
include/linux/sched.h | 29 ++--
include/linux/vfio.h | 2 +
include/linux/vtime.h | 9 +-
include/net/inet_frag.h | 4 +-
include/scsi/scsi_cmnd.h | 1 +
include/scsi/scsi_device.h | 1 +
include/target/iscsi/iscsi_target_core.h | 9 ++
kernel/cpu.c | 38 ++---
kernel/events/core.c | 28 +---
kernel/fork.c | 22 ++-
kernel/irq/affinity.c | 13 +-
kernel/sched/cputime.c | 158 +++++++++++++--------
kernel/sched/fair.c | 32 +++--
kernel/trace/ftrace.c | 2 +-
kernel/trace/trace.c | 1 +
lib/flex_proportions.c | 6 +-
lib/percpu_counter.c | 11 +-
mm/page-writeback.c | 10 +-
net/bluetooth/smp.c | 39 ++---
net/nfc/core.c | 31 ++--
net/nfc/llcp_sock.c | 9 +-
net/nfc/nci/core.c | 3 +-
net/nfc/netlink.c | 4 +-
net/sunrpc/auth_gss/gss_krb5_crypto.c | 3 +-
net/sunrpc/xprtsock.c | 2 +
sound/soc/atmel/tse850-pcm5142.c | 4 +-
sound/soc/soc-compress.c | 6 +-
sound/soc/zte/zx-i2s.c | 10 +-
tools/perf/ui/browser.c | 2 +-
.../perf/util/intel-pt-decoder/intel-pt-decoder.c | 78 +++++++---
tools/testing/nvdimm/test/nfit.c | 2 +-
virt/kvm/vfio.c | 27 ++--
216 files changed, 1789 insertions(+), 951 deletions(-)