[PATCH 3.12 000/127] 3.12.68-stable review

From: Jiri Slaby
Date: Fri Nov 25 2016 - 04:12:21 EST


This is the start of the stable review cycle for the 3.12.68 release.
There are 127 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 Nov 29 09:28:41 CET 2016.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
http://kernel.org/pub/linux/kernel/people/jirislaby/stable-review/patch-3.12.68-rc1.xz
and the diffstat can be found below.

thanks,
js

===============


AceLan Kao (1):
HID: input: add mic mute key on HP slim keyboard

Alex Deucher (1):
drm/radeon/si_dpm: workaround for SI kickers

Alexander Usyskin (1):
mei: bus: fix received data size check in NFC fixup

Andrew Collins (1):
net: Add netdev all_adj_list refcnt propagation to fix panic

Andrey Ryabinin (1):
coredump: fix unfreezable coredumping task

Anoob Soman (1):
packet: call fanout_release, while UNREGISTERING a netdev

Ard Biesheuvel (2):
mm: export symbol dependencies of is_zero_pfn()
KVM: check for !is_zero_pfn() in kvm_is_mmio_pfn()

Arnd Bergmann (4):
ARM: 8584/1: floppy: avoid gcc-6 warning
drm/exynos: fix error handling in exynos_drm_subdrv_open
smc91x: avoid self-comparison warning
staging: iio: ad5933: avoid uninitialized variable in error case

Arve HjÃnnevÃg (2):
ANDROID: binder: Add strong ref checks
ANDROID: binder: Clear binder and cookie when setting handle in flat
binder struct

Baoquan He (1):
iommu/amd: Free domain id when free a domain of struct dma_ops_domain

Ben Hutchings (2):
drivers/net: Disable UFO through virtio
xen-pciback: Add name prefix to global 'permissive' variable

Boris Brezillon (1):
UBI: fastmap: scrub PEB when bitflips are detected in a free PEB EC
header

Borislav Petkov (1):
kbuild: Steal gcc's pie from the very beginning

Ching Huang (1):
scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware

Daniel Jurgens (1):
IB/mlx5: Use cache line size to select CQE stride

Daniel Mentz (1):
lib/genalloc.c: start search from start of chunk

Darrick J. Wong (1):
libxfs: clean up _calc_dquots_per_chunk

David Howells (1):
KEYS: Fix short sprintf buffer in /proc/keys show function

David Hsu (1):
pwm: Unexport children before chip removal

David S. Miller (6):
sparc: Don't leak context bits into thread->fault_address
sparc64: Handle extremely large kernel TSB range flushes sanely.
sparc64: Fix illegal relative branches in hypervisor patched TLB code.
sparc64: Fix instruction count in comment for
__hypervisor_flush_tlb_pending.
sparc64: Fix illegal relative branches in hypervisor patched TLB
cross-call code.
sparc64: Handle extremely large kernel TLB range flushes more
gracefully.

Denys Vlasenko (1):
include/stddef.h: Move offsetofend() from vfio.h to a generic kernel
header

Dmitry Vyukov (1):
tty: limit terminal size to 4M chars

Dominik Dingel (1):
mm: hugetlb: allow hugepages_supported to be architecture specific

Douglas Caetano dos Santos (1):
tcp: fix wrong checksum calculation on MTU probing

Eli Cohen (1):
IB/mlx5: Fix fatal error dispatching

Eli Cooper (1):
ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()

Eric Dumazet (11):
net: fix sk_mem_reclaim_partial()
tcp: fix overflow in __tcp_retransmit_skb()
net: avoid sk_forward_alloc overflows
net: clear sk_err_soft in sk_clone_lock()
net: mangle zero checksum in skb_checksum_help()
tcp: fix potential memory corruption
dccp: do not send reset to already closed sockets
dccp: fix out of bound access in dccp_v4_err()
ipv6: dccp: fix out of bound access in dccp_v6_err()
ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
tcp: take care of truncations done by sk_filter()

Ewan D. Milne (1):
scsi: scsi_debug: Fix memory leak if LBP enabled and module is
unloaded

Fabio Estevam (1):
mmc: mxs: Initialize the spinlock prior to using it

Felipe Balbi (2):
usb: gadget: function: u_ether: don't starve tx request queue
usb: gadget: u_ether: remove interrupt throttling

Gavin Shan (1):
drivers/vfio: Rework offsetofend()

Hugh Dickins (1):
cgroup: use an ordered workqueue for cgroup destruction

Ido Yariv (1):
KVM: x86: fix wbinvd_dirty_mask use-after-free

Ignacio Alvarado (1):
KVM: Disable irq while unregistering user notifier

James Clarke (1):
sparc: Handle negative offsets in arch_jump_label_transform

James Hogan (3):
KVM: MIPS: Drop other CPU ASIDs on guest MMU changes
KVM: MIPS: Precalculate MMIO load resume PC
KVM: MIPS: Make ERET handle ERL before EXL

Jan Beulich (1):
x86/mm/xen: Suppress hugetlbfs in PV guests

Jann Horn (2):
swapfile: fix memory corruption via malformed swapfile
netfilter: fix namespace handling in nf_log_proc_dostring

Jiri Slaby (3):
Revert "KVM: MIPS: Drop other CPU ASIDs on guest MMU changes"
tty: vt, fix bogus division in csi_J
net: sctp, forbid negative length

Joe Perches (1):
stddef.h: move offsetofend inside #ifndef/#endif guard, neaten

Johan Hovold (5):
USB: serial: fix potential NULL-dereference at probe
USB: serial: cp210x: fix tiocmget error handling
mfd: core: Fix device reference leak in mfd_clone_cell
uwb: fix device reference leaks
PM / sleep: fix device reference leak in test_suspend

Johannes Berg (1):
mac80211: discard multicast and 4-addr A-MSDUs

Johannes Weiner (1):
mm: filemap: update find_get_pages_tag() to deal with shadow entries

John David Anglin (1):
parisc: Ensure consistent state when switching to kernel stack at
syscall entry

Juergen Gross (1):
x86/xen: fix upper bound of pmd loop in xen_cleanhighmap()

Kashyap Desai (1):
scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough)
devices

Lance Richardson (1):
ip6_gre: fix flowi6_proto value in ip6gre_xmit_other()

Laura Abbott (1):
HID: usbhid: Add HID_QUIRK_NOGET for Aten DVI KVM switch

Linus Torvalds (1):
Fix potential infoleak in older kernels

Long Li (1):
hv: do not lose pending heartbeat vmbus packets

Lucas Stach (1):
drm/radeon: drop register readback in cayman_cp_int_cntl_setup

Marcel Hasler (1):
ALSA: usb-audio: Add quirk for Syntek STK1160

Marcelo Ricardo Leitner (2):
sctp: validate chunk len before actually using it
sctp: assign assoc_id earlier in __sctp_connect

Mark Bloch (1):
IB/cm: Mark stale CM id's whenever the mad agent was unregistered

Matan Barak (1):
IB/mlx4: Fix create CQ error flow

Mathias Nyman (1):
xhci: add restart quirk for Intel Wildcatpoint PCH

Matt Redfearn (1):
virtio: console: Unlock vqs while freeing buffers

Michael Holzheu (1):
s390/hypfs: Use get_free_page() instead of kmalloc to ensure page
alignment

Mike Kravetz (1):
sparc64 mm: Fix base TSB sizing when hugetlb pages are used

Myron Stowe (1):
PCI: Handle read-only BARs on AMD CS553x devices

Nicholas Mc Guire (1):
MIPS: KVM: Fix unused variable build warning

Nicolas Dichtel (1):
ipv6: correctly add local routes when lo goes up

Nikolay Aleksandrov (2):
ipmr, ip6mr: fix scheduling while atomic and a deadlock with
ipmr_get_route
bridge: multicast: restore perm router ports on multicast enable

Oliver Hartkopp (1):
can: bcm: fix warning in bcm_connect/proc_register

Oliver Neukum (1):
HID: usbhid: add ATEN CS962 to list of quirky devices

Paolo Bonzini (1):
KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr

Patrick Scheuring (1):
Input: i8042 - add XMG C504 to keyboard reset table

Paul Fertser (2):
drivers: staging: nvec: remove bogus reset command for PS/2 interface
Revert "staging: nvec: ps2: change serio type to passthrough"

Peter Hurley (1):
tty: Prevent ldisc drivers from re-using stale tty fields

Peter Zijlstra (1):
perf: Tighten (and fix) the grouping condition

Punit Agrawal (1):
ACPI / APEI: Fix incorrect return value of ghes_proc()

Richard Weinberger (4):
UBIFS: Fix possible memory leak in ubifs_readdir()
ubifs: Abort readdir upon error
ubifs: Fix regression in ubifs_readdir()
drbd: Fix kernel_sendmsg() usage - potential NULL deref

Scot Doyle (1):
vt: clear selection before resizing

Sean Young (1):
dib0700: fix nec repeat handling

Sebastian Andrzej Siewior (3):
kbuild: add -fno-PIE
scripts/has-stack-protector: add -fno-PIE
usb: musb: musb_cppi41: recognize HS devices in hostmode

Stefan Richter (2):
firewire: net: guard against rx buffer overflows
firewire: net: fix fragmented datagram_size off-by-one

Stefan Tauner (1):
USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7

Stephen Suryaputra Lin (1):
ipv4: use new_gw for redirect neigh lookup

Sumit Saxena (1):
scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression

Takashi Iwai (2):
ALSA: hda - Merge RIRB_PRE_DELAY into CTX_WORKAROUND caps
ALSA: usb-audio: Fix runtime PM unbalance

Tariq Toukan (1):
IB/uverbs: Fix leak of XRC target QPs

Theodore Ts'o (1):
ext4: sanity check the block and cluster size at mount time

Tom St Denis (1):
drm/radeon/si_dpm: Limit clocks on HD86xx part

WANG Cong (1):
neigh: check error pointer instead of NULL for ipv4_neigh_lookup()

Yuta Kobayashi (1):
HID: microsoft: Add Surface 4 type cover pro 4 (JP)

murray foster (1):
ASoC: cs4270: fix DAPM stream name mismatch

Makefile | 5 +-
arch/arm/include/asm/floppy.h | 2 +-
arch/mips/include/asm/kvm_host.h | 7 +-
arch/mips/kvm/kvm_mips_emul.c | 45 ++-
arch/mips/mm/init.c | 1 +
arch/parisc/kernel/syscall.S | 11 +-
arch/s390/hypfs/hypfs_diag.c | 6 +-
arch/s390/mm/init.c | 1 +
arch/sparc/include/asm/mmu_64.h | 3 +-
arch/sparc/kernel/dtlb_prot.S | 4 +-
arch/sparc/kernel/jump_label.c | 23 +-
arch/sparc/kernel/ktlb.S | 12 +
arch/sparc/kernel/tsb.S | 12 +-
arch/sparc/mm/fault_64.c | 6 +-
arch/sparc/mm/hugetlbpage.c | 4 +-
arch/sparc/mm/init_64.c | 3 +-
arch/sparc/mm/tlb.c | 4 +-
arch/sparc/mm/tsb.c | 31 +-
arch/sparc/mm/ultra.S | 374 +++++++++++++++++++-----
arch/x86/include/asm/hugetlb.h | 1 +
arch/x86/include/asm/uaccess.h | 2 +-
arch/x86/kvm/x86.c | 20 +-
arch/x86/xen/mmu.c | 2 +-
drivers/acpi/apei/ghes.c | 2 +-
drivers/block/drbd/drbd_main.c | 2 +-
drivers/char/virtio_console.c | 22 +-
drivers/firewire/net.c | 59 ++--
drivers/gpu/drm/exynos/exynos_drm_core.c | 2 +-
drivers/gpu/drm/radeon/ni.c | 4 +-
drivers/gpu/drm/radeon/si_dpm.c | 53 +++-
drivers/hid/hid-core.c | 2 +
drivers/hid/hid-ids.h | 3 +
drivers/hid/hid-input.c | 1 +
drivers/hid/hid-microsoft.c | 2 +
drivers/hid/usbhid/hid-quirks.c | 3 +
drivers/hv/hv_util.c | 10 +-
drivers/infiniband/core/cm.c | 127 +++++++-
drivers/infiniband/core/uverbs_main.c | 7 +-
drivers/infiniband/hw/mlx4/cq.c | 5 +-
drivers/infiniband/hw/mlx5/cq.c | 3 +-
drivers/infiniband/hw/mlx5/main.c | 6 +-
drivers/input/serio/i8042-x86ia64io.h | 7 +
drivers/iommu/amd_iommu.c | 3 +
drivers/media/usb/dvb-usb/dib0700_core.c | 5 +-
drivers/mfd/mfd-core.c | 2 +
drivers/misc/mei/nfc.c | 2 +-
drivers/mmc/host/mxs-mmc.c | 4 +-
drivers/mtd/ubi/fastmap.c | 7 +-
drivers/net/ethernet/smsc/smc91x.c | 2 +-
drivers/net/macvtap.c | 13 +-
drivers/net/tun.c | 19 +-
drivers/net/virtio_net.c | 24 +-
drivers/pci/quirks.c | 41 ++-
drivers/pwm/core.c | 2 +
drivers/pwm/sysfs.c | 18 ++
drivers/scsi/arcmsr/arcmsr_hba.c | 9 -
drivers/scsi/megaraid/megaraid_sas.h | 2 +-
drivers/scsi/megaraid/megaraid_sas_base.c | 13 +-
drivers/scsi/scsi_debug.c | 1 +
drivers/staging/android/binder.c | 35 ++-
drivers/staging/iio/impedance-analyzer/ad5933.c | 17 +-
drivers/staging/nvec/nvec_ps2.c | 6 +-
drivers/tty/tty_ldisc.c | 7 +
drivers/tty/vt/vt.c | 7 +-
drivers/usb/gadget/u_ether.c | 7 -
drivers/usb/host/xhci-pci.c | 4 +-
drivers/usb/musb/musb_cppi41.c | 10 +-
drivers/usb/serial/cp210x.c | 4 +-
drivers/usb/serial/ftdi_sio.c | 3 +-
drivers/usb/serial/ftdi_sio_ids.h | 5 +-
drivers/usb/serial/usb-serial.c | 3 +-
drivers/uwb/lc-rc.c | 16 +-
drivers/uwb/pal.c | 2 +
drivers/xen/xen-pciback/conf_space.c | 6 +-
drivers/xen/xen-pciback/conf_space.h | 2 +-
drivers/xen/xen-pciback/conf_space_header.c | 2 +-
fs/coredump.c | 3 +
fs/ext4/ext4.h | 1 +
fs/ext4/super.c | 17 +-
fs/ubifs/dir.c | 21 +-
fs/xfs/xfs_dquot.c | 3 +-
include/linux/filter.h | 6 +-
include/linux/hugetlb.h | 17 +-
include/linux/mroute.h | 2 +-
include/linux/mroute6.h | 2 +-
include/linux/perf_event.h | 6 -
include/linux/pwm.h | 5 +
include/linux/stddef.h | 15 +-
include/linux/vfio.h | 14 -
include/net/ip6_tunnel.h | 1 +
include/net/sock.h | 16 +-
include/net/tcp.h | 1 +
kernel/cgroup.c | 8 +-
kernel/events/core.c | 15 +-
kernel/power/suspend_test.c | 4 +-
lib/genalloc.c | 3 +-
mm/filemap.c | 49 ++--
mm/memcontrol.c | 20 +-
mm/memory.c | 2 +
mm/swapfile.c | 2 +
mm/truncate.c | 8 -
net/bridge/br_multicast.c | 23 +-
net/can/bcm.c | 32 +-
net/core/dev.c | 78 ++---
net/core/filter.c | 10 +-
net/core/sock.c | 10 +-
net/dccp/ipv4.c | 14 +-
net/dccp/ipv6.c | 16 +-
net/dccp/proto.c | 4 +
net/ipv4/ipmr.c | 3 +-
net/ipv4/route.c | 9 +-
net/ipv4/tcp.c | 2 +-
net/ipv4/tcp_ipv4.c | 19 +-
net/ipv4/tcp_output.c | 15 +-
net/ipv6/addrconf.c | 2 +-
net/ipv6/ip6_gre.c | 1 -
net/ipv6/ip6mr.c | 5 +-
net/ipv6/route.c | 4 +-
net/ipv6/tcp_ipv6.c | 6 +-
net/mac80211/rx.c | 24 +-
net/netfilter/nf_log.c | 6 +-
net/packet/af_packet.c | 1 +
net/sctp/sm_statefuns.c | 12 +-
net/sctp/socket.c | 12 +-
scripts/gcc-x86_64-has-stack-protector.sh | 2 +-
security/keys/proc.c | 2 +-
sound/pci/hda/hda_intel.c | 10 +-
sound/soc/codecs/cs4270.c | 8 +-
sound/usb/card.c | 2 +-
sound/usb/quirks-table.h | 17 ++
virt/kvm/kvm_main.c | 2 +-
131 files changed, 1266 insertions(+), 528 deletions(-)

--
2.10.2