Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965999AbcJZN3I (ORCPT ); Wed, 26 Oct 2016 09:29:08 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55063 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965045AbcJZMZb (ORCPT ); Wed, 26 Oct 2016 08:25:31 -0400 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah.kh@samsung.com, patches@kernelci.org, ben.hutchings@codethink.co.uk, stable@vger.kernel.org Subject: [PATCH 4.8 000/140] 4.8.5-stable review Date: Wed, 26 Oct 2016 14:21:00 +0200 Message-Id: <20161026122220.384323763@linuxfoundation.org> X-Mailer: git-send-email 2.10.1 MIME-Version: 1.0 User-Agent: quilt/0.64 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.8.5-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.8.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.8.5-rc1 X-KernelTest-Deadline: 2016-10-28T12:22+00:00 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 23925 Lines: 604 This is the start of the stable review cycle for the 4.8.5 release. There are 140 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 Fri Oct 28 12:21:58 UTC 2016. 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.8.5-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.8.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman Linux 4.8.5-rc1 Nicholas Bellinger Revert "target: Fix residual overflow handling in target_complete_cmd_with_length" Dinesh Israni target: Don't override EXTENDED_COPY xcopy_pt_cmd SCSI status code Nicholas Bellinger target: Make EXTENDED_COPY 0xe4 failure return COPY TARGET DEVICE NOT REACHABLE Nicholas Bellinger target: Re-add missing SCF_ACK_KREF assignment in v4.1.y Hannes Reinecke target/tcm_fc: use CPU affinity for responses Richard Weinberger ubifs: Abort readdir upon error Richard Weinberger ubifs: Fix xattr_names length in exit paths Taesoo Kim jbd2: fix incorrect unlock on j_list_lock Eric Biggers ext4: do not advertise encryption support when disabled Eric Biggers fscrypto: lock inode while setting encryption policy Eric Biggers fscrypto: make XTS tweak initialization endian-independent Christian Borntraeger KVM: s390: reject invalid modes for runtime instrumentation Ulf Hansson mmc: rtsx_usb_sdmmc: Handle runtime PM while changing the led Ulf Hansson mmc: rtsx_usb_sdmmc: Avoid keeping the device runtime resumed when unused Shawn Lin mmc: core: switch to 1V8 or 1V2 for hs400es mode Jiri Slaby mmc: core: Annotate cmd_hdr as __le32 Frederic Barrat powerpc/mm: Prevent unlikely crash in copro_calculate_slb() Nikolay Borisov ceph: fix error handling in ceph_read_iter Will Deacon arm64: KVM: Take S1 walks into account when determining S2 write faults Andre Przywara arm64: Cortex-A53 errata workaround: check for kernel addresses Marc Zyngier arm64: kernel: Init MDCR_EL2 even in the absence of a PMU Will Deacon arm64: percpu: rewrite ll/sc loops in assembly Ard Biesheuvel arm64: kaslr: fix breakage with CONFIG_MODVERSIONS=y Will Deacon arm64: swp emulation: bound LL/SC retries before rescheduling Ulf Hansson memstick: rtsx_usb_ms: Manage runtime PM when accessing the device Alan Stern memstick: rtsx_usb_ms: Runtime resume the device when polling for cards Jan Kara isofs: Do not return EACCES for unknown filesystems Vaibhav Jain cxl: Prevent adapter reset if an active context exists Vladimir Murzin irqchip/gic-v3-its: Fix entry size mask for GITS_BASER Noam Camus irqchip/eznps: Acknowledge NPS_IPI before calling the handler Dan Carpenter irqchip/gicv3: Handle loop timeout proper Peter Zijlstra sched/fair: Fix min_vruntime tracking Vincent Guittot sched/fair: Fix incorrect task group ->load_avg Ville Syrjälä pinctrl: baytrail: Fix lockdep Mika Westerberg pinctrl: intel: Only restore pins that are used by the driver Ville Syrjälä x86/boot/smp: Don't try to poke disabled/non-existent APIC Alex Thorlton x86/platform/UV: Fix support for EFI_OLD_MEMMAP after BIOS callback updates Jiri Slaby kvm: x86: memset whole irq_eoi Dan Williams x86/e820: Don't merge consecutive E820_PRAM ranges Bart Van Assche blkcg: Unlock blkcg_pol_mutex only once when cpd == NULL Sachin Prabhu Fix regression which breaks DFS mounting Steve French Cleanup missing frees on some ioctls Steve French Do not send SMB3 SET_INFO request if nothing is changing Steve French SMB3: GUIDs should be constructed as random but valid uuids Steve French Set previous session id correctly on SMB3 reconnect Steve French Display number of credits available Steve French Clarify locking of cifs file and tcon structures and make more granular Aurelien Aptel fs/cifs: keep guid when assigning fid to fileinfo Ross Lagerwall cifs: Limit the overall credit acquired Oleg Nesterov fs/super.c: fix race between freeze_super() and thaw_super() Al Viro arc: don't leak bits of kernel stack into coredump Vladimir Murzin arm64: KVM: VHE: reset PSTATE.PAN on entry to EL2 Christophe Leroy soc/fsl/qe: fix Oops on CPM1 (and likely CPM2) Christophe Leroy soc/fsl/qe: fix gpio save_regs functions Guenter Roeck metag: Only define atomic_dec_if_positive conditionally Guenter Roeck watchdog: mt7621_wdt: Remove assignment of dev pointer Matt Redfearn watchdog: rt2880_wdt: Remove assignment of dev pointer Ming Lei scsi: Fix use-after-free Benjamin Coddington pnfs/blocklayout: fix last_write_offset incorrectly set to page boundary Jeff Layton NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic Trond Myklebust NFSv4: Open state recovery must account for file permission changes Trond Myklebust NFSv4: nfs4_copy_delegation_stateid() must fail if the delegation is invalid Trond Myklebust NFSv4: Don't report revoked delegations as valid in nfs_have_delegation() Trond Myklebust NFS: Fix inode corruption in nfs_prime_dcache() Vasily Averin NFSD: fix corruption in notifier registration David Vrabel sunrpc: fix write space race causing stalls Dmitry Torokhov Input: elantech - add Fujitsu Lifebook E556 to force crc_enabled Matti Kurkela Input: elantech - force needed quirks on Fujitsu H760 Marcos Paulo de Souza Input: i8042 - skip selftest on ASUS laptops Marcin Nowakowski MIPS: ptrace: Fix regs_return_value for kernel context James Hogan MIPS: Fix -mabi=64 build of vdso.lds Hui Wang ALSA: hda - Fix a failure of micmute led when having multi adcs Mauro Carvalho Chehab cx231xx: can't proceed if I2C bus register fails Mauro Carvalho Chehab cx231xx: fix GPIOs for Pixelview SBTVD hybrid Mauro Carvalho Chehab cx231xx: don't return error on success Mauro Carvalho Chehab mb86a20s: fix demod settings Mauro Carvalho Chehab mb86a20s: fix the locking logic Miklos Szeredi ovl: copy_up_xattr(): use strnlen Richard Weinberger ovl: Fix info leak in ovl_lookup_temp() Max Staudt fbdev/efifb: Fix 16 color palette entry calculation Dan Carpenter scsi: zfcp: spin_lock_irqsave() is not nestable Steffen Maier zfcp: trace full payload of all SAN records (req,resp,iels) Steffen Maier zfcp: fix payload trace length for SAN request&response Steffen Maier zfcp: fix D_ID field with actual value on tracing SAN responses Steffen Maier zfcp: restore tracing of handle for port and LUN with HBA records Steffen Maier zfcp: trace on request for open and close of WKA port Steffen Maier zfcp: restore: Dont use 0 to indicate invalid LUN in rec trace Steffen Maier zfcp: retain trace level for SCSI and HBA FSF response records Steffen Maier zfcp: close window with unblocked rport during rport gone Steffen Maier zfcp: fix ELS/GS request&response length for hardware data router Steffen Maier zfcp: fix fc_host port_type with NPIV Richard Weinberger ubi: Deal with interrupted erasures in WL Steve Wise IB/core: correctly handle rdma_rw_init_mrs() failure Bart Van Assche IB/srp: Fix infinite loop when FMR sg[0].offset != 0 Michael Ellerman powerpc/mm/hash64: Fix might_have_hea() check Laurent Dufour powerpc/pseries: Fix stack corruption in htpe code Paul Mackerras powerpc/64: Fix incorrect return value from __copy_tofrom_user Aneesh Kumar K.V powerpc/mm: Update FORCE_MAX_ZONEORDER range to allow hugetlb w/4K Gavin Shan powerpc/powernv: Use CPU-endian PEST in pnv_pci_dump_p7ioc_diag_data() Gavin Shan powerpc/powernv: Use CPU-endian hub diag-data type in pnv_eeh_get_and_dump_hub_diag() Russell Currey powerpc/eeh: Null check uses of eeh_pe_bus_get Gavin Shan powerpc/powernv: Pass CPU-endian PE number to opal_pci_eeh_freeze_clear() Anton Blanchard powerpc/vdso64: Use double word compare on pointers Michael Ellerman powerpc/xmon: Don't use ld on 32-bit Rabin Vincent dm crypt: fix crash on exit Mike Snitzer dm mpath: check if path's request_queue is dying in activate_path() Mike Snitzer dm rq: take request_queue lock while clearing QUEUE_FLAG_STOPPED Minfei Huang dm: return correct error code in dm_resume()'s retry loop Bart Van Assche dm: mark request_queue dead before destroying the DM device Adrian Hunter perf intel-pt: Fix MTC timestamp calculation for large MTC periods Adrian Hunter perf intel-pt: Fix estimated timestamps for cycle-accurate mode Adrian Hunter perf intel-pt: Fix snapshot overlap detection decoder errors Andrew Bresticker pstore/ram: Use memcpy_fromio() to save old buffer Furquan Shaikh pstore/ram: Use memcpy_toio instead of memcpy Sebastian Andrzej Siewior pstore/core: drop cmpxchg based updates Sebastian Andrzej Siewior pstore/ramoops: fixup driver removal Helge Deller parisc: Increase initial kernel mapping size Helge Deller parisc: Fix kernel memory layout regarding position of __gp Helge Deller parisc: Fix self-detected CPU stall warnings on Mako machines Helge Deller parisc: Increase KERNEL_INITIAL_SIZE for 32-bit SMP kernels Sergey Senozhatsky cpufreq: fix overflow in cpufreq_table_find_index_dl() Srinivas Pandruvada cpufreq: intel_pstate: Fix unsafe HWP MSR access Aaro Koskinen cpufreq: skip invalid entries when searching the frequency Rafael J. Wysocki cpufreq: conservative: Fix next frequency selection Dave Gerlach cpufreq: ti: Use generic platdev driver Sergei Shtylyov platform: don't return 0 from platform_get_irq[_byname]() on error Bjorn Helgaas PCI: tegra: Fix argument order in tegra_pcie_phy_disable() Maik Broemme PCI: Mark Atheros AR9580 to avoid bus reset Haibo Chen mmc: sdhci: cast unsigned int to unsigned long long to avoid unexpeted error Daniel Glöckner mmc: block: don't use CMD23 with very old MMC cards Larry Finger rtlwifi: Fix missing country code for Great Britain Rajkumar Manoharan ath10k: fix copy engine 5 destination ring stuck Lin Huang PM / devfreq: event: remove duplicate devfreq_event_get_drvdata() Geert Uytterhoeven spi: spidev_test: Fix buffer overflow in unescape() Lucas Stach clk: imx6: fix i.MX6DL clock tree to reflect reality Lucas Stach clk: imx6: initialize GPU clocks Jan Remmet regulator: tps65910: Work around silicon erratum SWCZ010 Alexander Usyskin mei: me: add kaby point device ids Tomas Winkler mei: fix return value on disconnection Liu Gang gpio: mpc8xxx: Correct irq handler function ------------- Diffstat: Documentation/ABI/testing/sysfs-class-cxl | 7 +- Documentation/kernel-parameters.txt | 9 +- Makefile | 4 +- arch/arc/kernel/signal.c | 8 +- arch/arm64/include/asm/kvm_emulate.h | 11 +- arch/arm64/include/asm/module.h | 5 + arch/arm64/include/asm/percpu.h | 120 +++++++-------- arch/arm64/include/asm/uaccess.h | 8 + arch/arm64/kernel/armv8_deprecated.c | 36 +++-- arch/arm64/kernel/head.S | 3 +- arch/arm64/kernel/traps.c | 27 ++-- arch/arm64/kvm/hyp/entry.S | 2 + arch/metag/include/asm/atomic.h | 3 +- arch/mips/include/asm/ptrace.h | 2 +- arch/mips/vdso/Makefile | 2 +- arch/parisc/include/asm/pgtable.h | 6 +- arch/parisc/kernel/setup.c | 8 + arch/parisc/kernel/time.c | 6 - arch/parisc/kernel/vmlinux.lds.S | 7 +- arch/powerpc/Kconfig | 2 +- arch/powerpc/kernel/eeh_driver.c | 8 + arch/powerpc/kernel/vdso64/datapage.S | 2 +- arch/powerpc/kernel/vdso64/gettimeofday.S | 2 +- arch/powerpc/lib/copyuser_64.S | 2 +- arch/powerpc/mm/copro_fault.c | 2 + arch/powerpc/mm/hash_utils_64.c | 2 +- arch/powerpc/platforms/powernv/eeh-powernv.c | 9 +- arch/powerpc/platforms/powernv/pci.c | 4 +- arch/powerpc/platforms/pseries/lpar.c | 4 +- arch/powerpc/sysdev/cpm1.c | 2 - arch/powerpc/sysdev/cpm2.c | 4 - arch/powerpc/sysdev/cpm_common.c | 15 ++ arch/powerpc/xmon/spr_access.S | 4 +- arch/s390/kvm/intercept.c | 9 +- arch/x86/kernel/e820.c | 2 +- arch/x86/kernel/smpboot.c | 16 +- arch/x86/kvm/ioapic.c | 2 +- arch/x86/platform/uv/bios_uv.c | 10 +- block/blk-cgroup.c | 4 +- drivers/base/platform.c | 4 +- drivers/clk/imx/clk-imx6q.c | 46 ++++-- drivers/cpufreq/cpufreq-dt-platdev.c | 2 + drivers/cpufreq/cpufreq_conservative.c | 19 ++- drivers/cpufreq/intel_pstate.c | 10 +- drivers/gpio/gpio-mpc8xxx.c | 2 +- drivers/infiniband/core/verbs.c | 2 +- drivers/infiniband/ulp/srp/ib_srp.c | 8 +- drivers/input/mouse/elantech.c | 25 +++- drivers/input/serio/i8042-io.h | 2 +- drivers/input/serio/i8042-ip22io.h | 2 +- drivers/input/serio/i8042-ppcio.h | 2 +- drivers/input/serio/i8042-sparcio.h | 2 +- drivers/input/serio/i8042-unicore32io.h | 2 +- drivers/input/serio/i8042-x86ia64io.h | 96 +++++++++++- drivers/input/serio/i8042.c | 55 +++++-- drivers/irqchip/irq-eznps.c | 4 +- drivers/irqchip/irq-gic-v3.c | 2 +- drivers/md/dm-crypt.c | 24 ++- drivers/md/dm-mpath.c | 6 +- drivers/md/dm-rq.c | 19 ++- drivers/md/dm.c | 10 +- drivers/media/dvb-frontends/mb86a20s.c | 104 ++++++------- drivers/media/usb/cx231xx/cx231xx-avcore.c | 5 +- drivers/media/usb/cx231xx/cx231xx-cards.c | 2 +- drivers/media/usb/cx231xx/cx231xx-core.c | 27 +++- drivers/memstick/host/rtsx_usb_ms.c | 6 + drivers/misc/cxl/api.c | 9 ++ drivers/misc/cxl/context.c | 3 + drivers/misc/cxl/cxl.h | 24 +++ drivers/misc/cxl/file.c | 11 ++ drivers/misc/cxl/guest.c | 3 + drivers/misc/cxl/main.c | 42 +++++- drivers/misc/cxl/pci.c | 2 + drivers/misc/cxl/sysfs.c | 27 +++- drivers/misc/mei/amthif.c | 2 +- drivers/misc/mei/bus.c | 2 +- drivers/misc/mei/hw-me-regs.h | 3 + drivers/misc/mei/main.c | 2 +- drivers/misc/mei/pci-me.c | 3 + drivers/mmc/card/block.c | 5 +- drivers/mmc/card/queue.h | 2 +- drivers/mmc/core/mmc.c | 10 ++ drivers/mmc/host/rtsx_usb_sdmmc.c | 7 +- drivers/mmc/host/sdhci.c | 2 +- drivers/mtd/ubi/wl.c | 21 ++- drivers/net/wireless/ath/ath10k/ce.c | 7 + drivers/net/wireless/realtek/rtlwifi/regd.c | 4 +- drivers/pci/host/pci-tegra.c | 2 +- drivers/pci/quirks.c | 1 + drivers/pinctrl/intel/pinctrl-baytrail.c | 3 +- drivers/pinctrl/intel/pinctrl-intel.c | 25 +++- drivers/regulator/tps65910-regulator.c | 6 + drivers/s390/scsi/zfcp_dbf.c | 162 ++++++++++++++++++--- drivers/s390/scsi/zfcp_dbf.h | 14 +- drivers/s390/scsi/zfcp_erp.c | 12 +- drivers/s390/scsi/zfcp_ext.h | 8 +- drivers/s390/scsi/zfcp_fsf.c | 22 ++- drivers/s390/scsi/zfcp_fsf.h | 4 +- drivers/s390/scsi/zfcp_scsi.c | 8 +- drivers/scsi/scsi_scan.c | 2 +- drivers/soc/fsl/qe/gpio.c | 3 +- drivers/soc/fsl/qe/qe_common.c | 8 + drivers/target/target_core_transport.c | 27 ++-- drivers/target/target_core_xcopy.c | 34 ++++- drivers/target/tcm_fc/tfc_cmd.c | 2 +- drivers/video/fbdev/efifb.c | 6 +- drivers/watchdog/mt7621_wdt.c | 1 - drivers/watchdog/rt2880_wdt.c | 1 - fs/ceph/file.c | 3 +- fs/cifs/cifs_debug.c | 1 + fs/cifs/cifsfs.c | 3 +- fs/cifs/cifsglob.h | 30 ++-- fs/cifs/cifssmb.c | 4 +- fs/cifs/connect.c | 16 +- fs/cifs/file.c | 66 +++++---- fs/cifs/misc.c | 15 +- fs/cifs/readdir.c | 6 +- fs/cifs/smb2glob.h | 10 ++ fs/cifs/smb2inode.c | 6 + fs/cifs/smb2misc.c | 16 +- fs/cifs/smb2ops.c | 12 +- fs/cifs/smb2pdu.c | 25 +++- fs/cifs/smb2pdu.h | 2 +- fs/crypto/crypto.c | 15 +- fs/crypto/policy.c | 4 + fs/ext4/sysfs.c | 4 + fs/isofs/inode.c | 8 +- fs/jbd2/transaction.c | 3 +- fs/nfs/blocklayout/blocklayout.c | 3 +- fs/nfs/delegation.c | 16 +- fs/nfs/dir.c | 16 +- fs/nfs/nfs42proc.c | 1 + fs/nfs/nfs4state.c | 3 + fs/nfsd/nfssvc.c | 18 ++- fs/overlayfs/copy_up.c | 12 +- fs/overlayfs/dir.c | 5 +- fs/pstore/ram.c | 17 ++- fs/pstore/ram_core.c | 49 +------ fs/super.c | 6 +- fs/ubifs/dir.c | 8 +- fs/ubifs/xattr.c | 2 + include/dt-bindings/clock/imx6qdl-clock.h | 4 +- include/linux/cpufreq.h | 104 ++++++------- include/linux/devfreq-event.h | 5 - include/linux/irqchip/arm-gic-v3.h | 2 +- include/target/target_core_base.h | 1 + kernel/sched/fair.c | 38 ++++- net/sunrpc/xprtsock.c | 11 +- sound/pci/hda/dell_wmi_helper.c | 2 +- sound/pci/hda/thinkpad_helper.c | 2 +- .../perf/util/intel-pt-decoder/intel-pt-decoder.c | 38 +++++ tools/perf/util/intel-pt.c | 15 +- tools/spi/spidev_test.c | 2 +- 153 files changed, 1420 insertions(+), 618 deletions(-)