[PATCH 4.4 097/146] iio: Fix error handling in iio_trigger_attach_poll_func

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Crestez Dan Leonard commit 99543823357966ac938d9a310947e731b67338e6 upstream. When attaching a pollfunc iio_trigger_attach_poll_func will allocate a virtual irq and

[PATCH 4.4 143/146] tmpfs: dont undo fallocate past its last page

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Anthony Romano commit b9b4bb26af017dbe930cd4df7f9b2fc3a0497bfe upstream. When fallocate is interrupted it will undo a range that extends one byte past its range of allocated pages. This can

[PATCH 4.6 001/203] cfg80211: remove get/set antenna and tx power warnings

2016-07-25 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 6cbf6236d54c24b9a29e6892549c25b6902b44ce upstream. Since set_tx_power and set_antenna are frequently implemented without the matching get_tx_power/get_antenna, we

[PATCH 4.4 097/146] iio: Fix error handling in iio_trigger_attach_poll_func

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Crestez Dan Leonard commit 99543823357966ac938d9a310947e731b67338e6 upstream. When attaching a pollfunc iio_trigger_attach_poll_func will allocate a virtual irq and call the driver's

[PATCH] xen/x86: Define stubs for xen_smp_intr_init/xen_smp_intr_free

2016-07-25 Thread Boris Ostrovsky
xen_smp_intr_init() and xen_smp_intr_free() are now called from enlighten.c and therefore not guaranteed to have CONFIG_SMP. Instead of adding multiple ifdefs there provide stubs in smp.h Signed-off-by: Boris Ostrovsky --- The patch is against tip:smp/hotplug which is broken by

[PATCH 4.4 116/146] ALSA: dummy: Fix a use-after-free at closing

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit d5dbbe6569481bf12dcbe3e12cff72c5f78d272c upstream. syzkaller fuzzer spotted a potential use-after-free case in snd-dummy driver when hrtimer is used as backend: >

[PATCH 4.4 139/146] cifs: dynamic allocation of ntlmssp blob

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jerome Marchand commit b8da344b74c822e966c6d19d6b2321efe82c5d97 upstream. In sess_auth_rawntlmssp_authenticate(), the ntlmssp blob is allocated statically and its size is an "empirical"

[PATCH 3.14 30/53] HID: elo: kill not flush the work

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit ed596a4a88bd161f868ccba078557ee7ede8a6ef upstream. Flushing a work that reschedules itself is not a sensible operation. It needs to be killed. Failure to do so leads to a

Re: [Xen-devel] [PATCH linux v2 0/9] xen: pvhvm: support bootup on secondary vCPUs

2016-07-25 Thread Stefano Stabellini
On Mon, 25 Jul 2016, David Vrabel wrote: > On 25/07/16 14:17, Julien Grall wrote: > > Hi David, > > > > On 25/07/16 13:38, David Vrabel wrote: > >> On 30/06/16 16:56, Vitaly Kuznetsov wrote: > >>> It may happen that Xen's and Linux's ideas of vCPU id diverge. In > >>> particular, when we crash on

Re: [Xen-devel] [PATCH linux v2 0/9] xen: pvhvm: support bootup on secondary vCPUs

2016-07-25 Thread Stefano Stabellini
On Mon, 25 Jul 2016, David Vrabel wrote: > On 25/07/16 14:17, Julien Grall wrote: > > Hi David, > > > > On 25/07/16 13:38, David Vrabel wrote: > >> On 30/06/16 16:56, Vitaly Kuznetsov wrote: > >>> It may happen that Xen's and Linux's ideas of vCPU id diverge. In > >>> particular, when we crash on

[PATCH 3.14 15/53] x86, build: copy ldlinux.c32 to image.iso

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: H. Peter Anvin commit 9c77679cadb118c0aa99e6f88533d91765a131ba upstream. For newer versions of Syslinux, we need ldlinux.c32 in addition to isolinux.bin to reside on the boot

[PATCH 3.14 13/53] powerpc/tm: Always reclaim in start_thread() for exec() class syscalls

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Cyril Bur commit 8e96a87c5431c256feb65bcfc5aec92d9f7839b6 upstream. Userspace can quite legitimately perform an exec() syscall with a suspended transaction. exec() does

[PATCH 3.14 29/53] kvm: Fix irq route entries exceeding KVM_MAX_IRQ_ROUTES

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Xiubo Li commit caf1ff26e1aa178133df68ac3d40815fed2187d9 upstream. These days, we experienced one guest crash with 8 cores and 3 disks, with qemu error logs as

[PATCH 3.14 15/53] x86, build: copy ldlinux.c32 to image.iso

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: H. Peter Anvin commit 9c77679cadb118c0aa99e6f88533d91765a131ba upstream. For newer versions of Syslinux, we need ldlinux.c32 in addition to isolinux.bin to reside on the boot disk, so if the

[PATCH 3.14 13/53] powerpc/tm: Always reclaim in start_thread() for exec() class syscalls

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Cyril Bur commit 8e96a87c5431c256feb65bcfc5aec92d9f7839b6 upstream. Userspace can quite legitimately perform an exec() syscall with a suspended transaction. exec() does not return to the old

[PATCH 3.14 29/53] kvm: Fix irq route entries exceeding KVM_MAX_IRQ_ROUTES

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Xiubo Li commit caf1ff26e1aa178133df68ac3d40815fed2187d9 upstream. These days, we experienced one guest crash with 8 cores and 3 disks, with qemu error logs as bellow: qemu-system-x86_64:

[PATCH 3.14 23/53] posix_acl: Add set_posix_acl

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Gruenbacher commit 485e71e8fb6356c08c7fc6bcce4bf02c9a9a663f upstream. Factor out part of posix_acl_xattr_set into a common function that takes a posix_acl, which

[PATCH 3.14 12/53] powerpc/pseries: Fix PCI config address for DDW

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit 8a934efe94347eee843aeea65bdec8077a79e259 upstream. In commit 8445a87f7092 "powerpc/iommu: Remove the dependency on EEH struct in DDW mechanism",

[PATCH 3.14 23/53] posix_acl: Add set_posix_acl

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Gruenbacher commit 485e71e8fb6356c08c7fc6bcce4bf02c9a9a663f upstream. Factor out part of posix_acl_xattr_set into a common function that takes a posix_acl, which nfsd can also call.

[PATCH 3.14 12/53] powerpc/pseries: Fix PCI config address for DDW

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit 8a934efe94347eee843aeea65bdec8077a79e259 upstream. In commit 8445a87f7092 "powerpc/iommu: Remove the dependency on EEH struct in DDW mechanism", the PE address was replaced

[PATCH 3.14 16/53] kprobes/x86: Clear TF bit in fault on single-stepping

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Masami Hiramatsu commit dcfc47248d3f7d28df6f531e6426b933de94370d upstream. Fix kprobe_fault_handler() to clear the TF (trap flag) bit of the flags register in the case of

[PATCH 3.14 44/53] tty/vt/keyboard: fix OOB access in do_compute_shiftstate()

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit 510cccb5b0c8868a2b302a0ab524da7912da648b upstream. The size of individual keymap in drivers/tty/vt/keyboard.c is NR_KEYS, which is currently

[PATCH 3.14 16/53] kprobes/x86: Clear TF bit in fault on single-stepping

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Masami Hiramatsu commit dcfc47248d3f7d28df6f531e6426b933de94370d upstream. Fix kprobe_fault_handler() to clear the TF (trap flag) bit of the flags register in the case of a fault fixup on

[PATCH 3.14 44/53] tty/vt/keyboard: fix OOB access in do_compute_shiftstate()

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit 510cccb5b0c8868a2b302a0ab524da7912da648b upstream. The size of individual keymap in drivers/tty/vt/keyboard.c is NR_KEYS, which is currently 256, whereas number of

[PATCH 3.14 31/53] HID: hiddev: validate num_values for HIDIOCGUSAGES, HIDIOCSUSAGES commands

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Scott Bauer commit 93a2001bdfd5376c3dc2158653034c20392d15c5 upstream. This patch validates the num_values parameter from userland during the HIDIOCGUSAGES and

[PATCH 3.14 36/53] perf/x86: Honor the architectural performance monitoring version

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Palik, Imre commit 2c33645d366d13b969d936b68b9f4875b1fdddea upstream. Architectural performance monitoring, version 1, doesn't support fixed counters. Currently, even if a

[PATCH 3.14 14/53] USB: EHCI: declare hostpc register as zero-length array

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 7e8b3dfef16375dbfeb1f36a83eb9f27117c51fd upstream. The HOSTPC extension registers found in some EHCI implementations form a variable-length array,

[PATCH 3.14 37/53] perf/x86: Fix undefined shift on 32-bit kernels

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 6d6f2833bfbf296101f9f085e10488aef2601ba5 upstream. Jim reported: UBSAN: Undefined behaviour in arch/x86/events/intel/core.c:3708:12

[PATCH 3.14 34/53] drm/radeon: fix asic initialization for virtualized environments

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 05082b8bbd1a0ffc74235449c4b8930a8c240f85 upstream. When executing in a PCI passthrough based virtuzliation environment, the hypervisor will

[PATCH 3.14 14/53] USB: EHCI: declare hostpc register as zero-length array

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 7e8b3dfef16375dbfeb1f36a83eb9f27117c51fd upstream. The HOSTPC extension registers found in some EHCI implementations form a variable-length array, with one element for each

[PATCH 3.14 37/53] perf/x86: Fix undefined shift on 32-bit kernels

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 6d6f2833bfbf296101f9f085e10488aef2601ba5 upstream. Jim reported: UBSAN: Undefined behaviour in arch/x86/events/intel/core.c:3708:12 shift exponent 35

[PATCH 3.14 34/53] drm/radeon: fix asic initialization for virtualized environments

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 05082b8bbd1a0ffc74235449c4b8930a8c240f85 upstream. When executing in a PCI passthrough based virtuzliation environment, the hypervisor will usually attempt to send a PCIe

[PATCH 3.14 31/53] HID: hiddev: validate num_values for HIDIOCGUSAGES, HIDIOCSUSAGES commands

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Scott Bauer commit 93a2001bdfd5376c3dc2158653034c20392d15c5 upstream. This patch validates the num_values parameter from userland during the HIDIOCGUSAGES and HIDIOCSUSAGES commands.

[PATCH 3.14 36/53] perf/x86: Honor the architectural performance monitoring version

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Palik, Imre commit 2c33645d366d13b969d936b68b9f4875b1fdddea upstream. Architectural performance monitoring, version 1, doesn't support fixed counters. Currently, even if a hypervisor

Re: [PATCH 5/5] tile: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO

2016-07-25 Thread Chris Metcalf
On 7/25/2016 11:59 AM, James Hogan wrote: AT_VECTOR_SIZE_ARCH should be defined with the maximum number of NEW_AUX_ENT entries that ARCH_DLINFO can contain, but it wasn't defined for tile at all even though ARCH_DLINFO will contain one NEW_AUX_ENT for the VDSO address. This shouldn't be a

[PATCH 3.14 43/53] iio:ad7266: Fix probe deferral for vref

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 68b356eb3d9f5e38910fb62e22a78e2a18d544ae upstream. Currently the ad7266 driver treats any failure to get vref as though the regulator were not present

Re: [PATCH 5/5] tile: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO

2016-07-25 Thread Chris Metcalf
On 7/25/2016 11:59 AM, James Hogan wrote: AT_VECTOR_SIZE_ARCH should be defined with the maximum number of NEW_AUX_ENT entries that ARCH_DLINFO can contain, but it wasn't defined for tile at all even though ARCH_DLINFO will contain one NEW_AUX_ENT for the VDSO address. This shouldn't be a

[PATCH 3.14 43/53] iio:ad7266: Fix probe deferral for vref

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 68b356eb3d9f5e38910fb62e22a78e2a18d544ae upstream. Currently the ad7266 driver treats any failure to get vref as though the regulator were not present but this means that if

[PATCH 3.14 11/53] powerpc/iommu: Remove the dependency on EEH struct in DDW mechanism

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Guilherme G. Piccoli commit 8445a87f7092bc8336ea1305be9306f26b846d93 upstream. Commit 39baadbf36ce ("powerpc/eeh: Remove eeh information from pci_dn") changed the

[PATCH 3.14 11/53] powerpc/iommu: Remove the dependency on EEH struct in DDW mechanism

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Guilherme G. Piccoli commit 8445a87f7092bc8336ea1305be9306f26b846d93 upstream. Commit 39baadbf36ce ("powerpc/eeh: Remove eeh information from pci_dn") changed the pci_dn struct by removing

[PATCH 3.14 41/53] iio:ad7266: Fix broken regulator error handling

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 6b7f4e25f3309f106a5c7ff42c8231494cf285d3 upstream. All regulator_get() variants return either a pointer to a regulator or an ERR_PTR() so testing for

[PATCH 3.14 42/53] iio:ad7266: Fix support for optional regulators

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit e5511c816e5ac4909bdd38e85ac344e2b9b8e984 upstream. The ad7266 driver attempts to support deciding between the use of internal and external power supplies

[PATCH 3.14 32/53] tracing: Handle NULL formats in hold_module_trace_bprintk_format()

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (Red Hat) commit 70c8217acd4383e069fe1898bbad36ea4fcdbdcc upstream. If a task uses a non constant string for the format parameter in trace_printk(), then

[PATCH 3.14 41/53] iio:ad7266: Fix broken regulator error handling

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 6b7f4e25f3309f106a5c7ff42c8231494cf285d3 upstream. All regulator_get() variants return either a pointer to a regulator or an ERR_PTR() so testing for NULL makes no sense and

[PATCH 3.14 42/53] iio:ad7266: Fix support for optional regulators

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit e5511c816e5ac4909bdd38e85ac344e2b9b8e984 upstream. The ad7266 driver attempts to support deciding between the use of internal and external power supplies by checking to see

[PATCH 3.14 32/53] tracing: Handle NULL formats in hold_module_trace_bprintk_format()

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (Red Hat) commit 70c8217acd4383e069fe1898bbad36ea4fcdbdcc upstream. If a task uses a non constant string for the format parameter in trace_printk(), then the trace_printk_fmt

Re: [PATCH] staging: ks7010: declare private functions static

2016-07-25 Thread Wolfram Sang
On Mon, Jul 25, 2016 at 09:22:27PM +0200, Nicholas Mc Guire wrote: > Private functions in ks_hostif.c can be declared static. > > Fixes: 13a9930d15b4 ("staging: ks7010: add driver from Nanonote > extra-repository") > > Signed-off-by: Nicholas Mc Guire Reviewed-by: Wolfram

[PATCH 4.4 029/146] writeback: use higher precision calculation in domain_dirty_limits()

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 62a584fe05eef1f80ed49a286a29328f1a224fb9 upstream. As vm.dirty_[background_]bytes can't be applied verbatim to multiple cgroup writeback domains, they get

[PATCH 4.4 027/146] uvc: Forward compat ioctls to their handlers directly

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit a44323e2a8f342848bb77e8e04fcd85fcb91b3b4 upstream. The current code goes through a lot of indirection just to call a known handler. Simplify it: just

Re: [PATCH] staging: ks7010: declare private functions static

2016-07-25 Thread Wolfram Sang
On Mon, Jul 25, 2016 at 09:22:27PM +0200, Nicholas Mc Guire wrote: > Private functions in ks_hostif.c can be declared static. > > Fixes: 13a9930d15b4 ("staging: ks7010: add driver from Nanonote > extra-repository") > > Signed-off-by: Nicholas Mc Guire Reviewed-by: Wolfram Sang

[PATCH 4.4 029/146] writeback: use higher precision calculation in domain_dirty_limits()

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 62a584fe05eef1f80ed49a286a29328f1a224fb9 upstream. As vm.dirty_[background_]bytes can't be applied verbatim to multiple cgroup writeback domains, they get converted to

[PATCH 4.4 027/146] uvc: Forward compat ioctls to their handlers directly

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit a44323e2a8f342848bb77e8e04fcd85fcb91b3b4 upstream. The current code goes through a lot of indirection just to call a known handler. Simplify it: just call the handlers

[PATCH 3.14 52/53] tmpfs: fix regression hang in fallocate undo

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 7f556567036cb7f89aabe2f0954b08566b4efb53 upstream. The well-spotted fallocate undo fix is good in most cases, but not when fallocate failed on the very

[PATCH 3.14 52/53] tmpfs: fix regression hang in fallocate undo

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 7f556567036cb7f89aabe2f0954b08566b4efb53 upstream. The well-spotted fallocate undo fix is good in most cases, but not when fallocate failed on the very first page. index

[PATCH 3.14 50/53] xen/acpi: allow xen-acpi-processor driver to load on Xen 4.7

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 6f2d9d99213514360034c6d52d2c3919290b3504 upstream. As of Xen 4.7 PV CPUID doesn't expose either of CPUID[1].ECX[7] and CPUID[0x8007].EDX[7] anymore,

[PATCH 3.14 53/53] s390/seccomp: fix error return for filtered system calls

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Jan Willeke commit dc295880c6752076f8b94ba3885d0bfff09e3e82 upstream. The syscall_set_return_value function of s390 negates the error argument before storing the value to

[PATCH 3.14 46/53] ALSA: au88x0: Fix calculation in vortex_wtdma_bufshift()

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 62db7152c924e4c060e42b34a69cd39658e8a0dc upstream. vortex_wtdma_bufshift() function does calculate the page index wrongly, first masking then shift, which

[PATCH 3.14 53/53] s390/seccomp: fix error return for filtered system calls

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Jan Willeke commit dc295880c6752076f8b94ba3885d0bfff09e3e82 upstream. The syscall_set_return_value function of s390 negates the error argument before storing the value to the return register

[PATCH 3.14 46/53] ALSA: au88x0: Fix calculation in vortex_wtdma_bufshift()

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 62db7152c924e4c060e42b34a69cd39658e8a0dc upstream. vortex_wtdma_bufshift() function does calculate the page index wrongly, first masking then shift, which always results

[PATCH 3.14 50/53] xen/acpi: allow xen-acpi-processor driver to load on Xen 4.7

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 6f2d9d99213514360034c6d52d2c3919290b3504 upstream. As of Xen 4.7 PV CPUID doesn't expose either of CPUID[1].ECX[7] and CPUID[0x8007].EDX[7] anymore, causing the driver

[PATCH 3.14 49/53] Fix reconnect to not defer smb3 session reconnect long after socket reconnect

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 4fcd1813e6404dd4420c7d12fb483f9320f0bf93 upstream. Azure server blocks clients that open a socket and don't do anything on it. In our reconnect

[PATCH 3.14 51/53] tmpfs: dont undo fallocate past its last page

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Anthony Romano commit b9b4bb26af017dbe930cd4df7f9b2fc3a0497bfe upstream. When fallocate is interrupted it will undo a range that extends one byte past its range of

[PATCH 3.14 45/53] ALSA: dummy: Fix a use-after-free at closing

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit d5dbbe6569481bf12dcbe3e12cff72c5f78d272c upstream. syzkaller fuzzer spotted a potential use-after-free case in snd-dummy driver when hrtimer is used as

[PATCH 3.14 17/53] x86/amd_nb: Fix boot crash on non-AMD systems

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit 1ead852dd88779eda12cb09cc894a03d9abfe1ec upstream. Fix boot crash that triggers if this driver is built into a kernel and run on non-AMD systems. AMD

[PATCH 3.14 49/53] Fix reconnect to not defer smb3 session reconnect long after socket reconnect

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 4fcd1813e6404dd4420c7d12fb483f9320f0bf93 upstream. Azure server blocks clients that open a socket and don't do anything on it. In our reconnect scenarios, we can reconnect

[PATCH 3.14 51/53] tmpfs: dont undo fallocate past its last page

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Anthony Romano commit b9b4bb26af017dbe930cd4df7f9b2fc3a0497bfe upstream. When fallocate is interrupted it will undo a range that extends one byte past its range of allocated pages. This can

[PATCH 3.14 45/53] ALSA: dummy: Fix a use-after-free at closing

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit d5dbbe6569481bf12dcbe3e12cff72c5f78d272c upstream. syzkaller fuzzer spotted a potential use-after-free case in snd-dummy driver when hrtimer is used as backend: >

[PATCH 3.14 17/53] x86/amd_nb: Fix boot crash on non-AMD systems

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit 1ead852dd88779eda12cb09cc894a03d9abfe1ec upstream. Fix boot crash that triggers if this driver is built into a kernel and run on non-AMD systems. AMD northbridges

[PATCH 4.4 004/146] mac80211: Fix mesh estab_plinks counting in STA removal case

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jouni Malinen commit 126e7557328a1cd576be4fca95b133a2695283ff upstream. If a user space program (e.g., wpa_supplicant) deletes a STA entry that is currently in NL80211_PLINK_ESTAB

[PATCH 3.14 47/53] ALSA: ctl: Stop notification after disconnection

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f388cdcdd160687c6650833f286b9c89c50960ff upstream. snd_ctl_remove() has a notification for the removal event. It's superfluous when done during the device

[PATCH 4.4 002/146] mac80211: mesh: flush mesh paths unconditionally

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bob Copeland commit fe7a7c57629e8dcbc0e297363a9b2366d67a6dc5 upstream. Currently, the mesh paths associated with a nexthop station are cleaned up in the following code

[PATCH 4.4 004/146] mac80211: Fix mesh estab_plinks counting in STA removal case

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jouni Malinen commit 126e7557328a1cd576be4fca95b133a2695283ff upstream. If a user space program (e.g., wpa_supplicant) deletes a STA entry that is currently in NL80211_PLINK_ESTAB state, the

[PATCH 3.14 47/53] ALSA: ctl: Stop notification after disconnection

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f388cdcdd160687c6650833f286b9c89c50960ff upstream. snd_ctl_remove() has a notification for the removal event. It's superfluous when done during the device got

[PATCH 4.4 002/146] mac80211: mesh: flush mesh paths unconditionally

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bob Copeland commit fe7a7c57629e8dcbc0e297363a9b2366d67a6dc5 upstream. Currently, the mesh paths associated with a nexthop station are cleaned up in the following code path:

[PATCH] x86/fpu/xstate: Return error if xfeature bit is unset in XSAVES compacted-format buffer

2016-07-25 Thread Sai Praneeth Prakhya
From: Sai Praneeth Currently, XSAVES compacted-format buffer will always contain space for all enabled states. If XSAVES compacted-format buffer is in use and an xstate component (E.g: PKRU xstate) is not present in the buffer (i.e. xcomp_bv does not have xfeature

[PATCH 4.4 005/146] EDAC, sb_edac: Fix rank lookup on Broadwell

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tony Luck commit c7103f650a11328f28b9fa1c95027db331b7774b upstream. Broadwell made a small change to the rank target register moving the target rank ID field up from bits

[PATCH 4.4 006/146] IB/cm: Fix a recently introduced locking bug

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 943f44d94aa26bfdcaafc40d3701e24eeb58edce upstream. ib_cm_notify() can be called from interrupt context. Hence do not reenable interrupts

[PATCH 3.14 08/53] mac80211: mesh: flush mesh paths unconditionally

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Bob Copeland commit fe7a7c57629e8dcbc0e297363a9b2366d67a6dc5 upstream. Currently, the mesh paths associated with a nexthop station are cleaned up in the following code

[PATCH 4.4 006/146] IB/cm: Fix a recently introduced locking bug

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 943f44d94aa26bfdcaafc40d3701e24eeb58edce upstream. ib_cm_notify() can be called from interrupt context. Hence do not reenable interrupts unconditionally in

[PATCH 3.14 08/53] mac80211: mesh: flush mesh paths unconditionally

2016-07-25 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Bob Copeland commit fe7a7c57629e8dcbc0e297363a9b2366d67a6dc5 upstream. Currently, the mesh paths associated with a nexthop station are cleaned up in the following code path:

[PATCH] x86/fpu/xstate: Return error if xfeature bit is unset in XSAVES compacted-format buffer

2016-07-25 Thread Sai Praneeth Prakhya
From: Sai Praneeth Currently, XSAVES compacted-format buffer will always contain space for all enabled states. If XSAVES compacted-format buffer is in use and an xstate component (E.g: PKRU xstate) is not present in the buffer (i.e. xcomp_bv does not have xfeature (E.g: XFEATURE_MASK_PKRU) bit

[PATCH 4.4 005/146] EDAC, sb_edac: Fix rank lookup on Broadwell

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tony Luck commit c7103f650a11328f28b9fa1c95027db331b7774b upstream. Broadwell made a small change to the rank target register moving the target rank ID field up from bits 16:19 to bits 20:23.

[PATCH 4.4 011/146] powerpc/tm: Always reclaim in start_thread() for exec() class syscalls

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Cyril Bur commit 8e96a87c5431c256feb65bcfc5aec92d9f7839b6 upstream. Userspace can quite legitimately perform an exec() syscall with a suspended transaction. exec() does not

[PATCH 4.4 024/146] kprobes/x86: Clear TF bit in fault on single-stepping

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Masami Hiramatsu commit dcfc47248d3f7d28df6f531e6426b933de94370d upstream. Fix kprobe_fault_handler() to clear the TF (trap flag) bit of the flags register in the case of

[PATCH 4.4 015/146] mnt: fs_fully_visible test the proper mount for MNT_LOCKED

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit d71ed6c930ac7d8f88f3cef6624a7e826392d61f upstream. MNT_LOCKED implies on a child mount implies the child is locked to the parent. So while

[PATCH 4.4 008/146] powerpc/iommu: Remove the dependency on EEH struct in DDW mechanism

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Guilherme G. Piccoli commit 8445a87f7092bc8336ea1305be9306f26b846d93 upstream. Commit 39baadbf36ce ("powerpc/eeh: Remove eeh information from pci_dn") changed the

[PATCH 4.4 024/146] kprobes/x86: Clear TF bit in fault on single-stepping

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Masami Hiramatsu commit dcfc47248d3f7d28df6f531e6426b933de94370d upstream. Fix kprobe_fault_handler() to clear the TF (trap flag) bit of the flags register in the case of a fault fixup on

[PATCH 4.4 015/146] mnt: fs_fully_visible test the proper mount for MNT_LOCKED

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit d71ed6c930ac7d8f88f3cef6624a7e826392d61f upstream. MNT_LOCKED implies on a child mount implies the child is locked to the parent. So while looping through the

[PATCH 4.4 008/146] powerpc/iommu: Remove the dependency on EEH struct in DDW mechanism

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Guilherme G. Piccoli commit 8445a87f7092bc8336ea1305be9306f26b846d93 upstream. Commit 39baadbf36ce ("powerpc/eeh: Remove eeh information from pci_dn") changed the pci_dn struct by removing its

[PATCH 4.4 011/146] powerpc/tm: Always reclaim in start_thread() for exec() class syscalls

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Cyril Bur commit 8e96a87c5431c256feb65bcfc5aec92d9f7839b6 upstream. Userspace can quite legitimately perform an exec() syscall with a suspended transaction. exec() does not return to the old

[PATCH 4.4 007/146] IB/mlx4: Properly initialize GRH TClass and FlowLabel in AHs

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 8c5122e45a10a9262f872b53f151a592e870f905 upstream. When this code was reworked for IBoE support the order of assignments for the

[PATCH 4.4 025/146] x86/amd_nb: Fix boot crash on non-AMD systems

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit 1ead852dd88779eda12cb09cc894a03d9abfe1ec upstream. Fix boot crash that triggers if this driver is built into a kernel and run on non-AMD systems. AMD

[PATCH 4.4 000/146] 4.4.16-stable review

2016-07-25 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.16 release. There are 146 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 Wed Jul 27 20:34:55 UTC 2016. Anything

[PATCH 4.4 007/146] IB/mlx4: Properly initialize GRH TClass and FlowLabel in AHs

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 8c5122e45a10a9262f872b53f151a592e870f905 upstream. When this code was reworked for IBoE support the order of assignments for the sl_tclass_flowlabel got flipped around

[PATCH 4.4 025/146] x86/amd_nb: Fix boot crash on non-AMD systems

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit 1ead852dd88779eda12cb09cc894a03d9abfe1ec upstream. Fix boot crash that triggers if this driver is built into a kernel and run on non-AMD systems. AMD northbridges users

[PATCH 4.4 000/146] 4.4.16-stable review

2016-07-25 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.16 release. There are 146 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 Wed Jul 27 20:34:55 UTC 2016. Anything

[PATCH 4.4 010/146] powerpc/pseries: Fix IBM_ARCH_VEC_NRCORES_OFFSET since POWER8NVL was added

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 2c2a63e301fd19ccae673e79de59b30a232ff7f9 upstream. The recent commit 7cc851039d64 ("powerpc/pseries: Add POWER8NVL support to

[PATCH 4.4 031/146] nfsd: Always lock state exclusively.

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Drokin commit feb9dad5209280085d5b0c094fa67e7a8d75c81a upstream. It used to be the case that state had an rwlock that was locked for write by downgrades, but for

[PATCH 4.4 010/146] powerpc/pseries: Fix IBM_ARCH_VEC_NRCORES_OFFSET since POWER8NVL was added

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 2c2a63e301fd19ccae673e79de59b30a232ff7f9 upstream. The recent commit 7cc851039d64 ("powerpc/pseries: Add POWER8NVL support to ibm,client-architecture-support call")

[PATCH 4.4 031/146] nfsd: Always lock state exclusively.

2016-07-25 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Drokin commit feb9dad5209280085d5b0c094fa67e7a8d75c81a upstream. It used to be the case that state had an rwlock that was locked for write by downgrades, but for read for upgrades

<    6   7   8   9   10   11   12   13   14   15   >